evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / hvac / default.nix
blob67429f81efe0d61b3d3391f672868900621a04f9
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pyhcl,
6   requests,
7   poetry-core,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "hvac";
13   version = "2.3.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-G4XjMg6GQt2C8jTbYyU82haagXWJ6CNxPcX8qDEZseI=";
21   };
23   nativeBuildInputs = [ poetry-core ];
25   propagatedBuildInputs = [
26     pyhcl
27     requests
28   ];
30   # Requires running a Vault server
31   doCheck = false;
33   pythonImportsCheck = [ "hvac" ];
35   meta = with lib; {
36     description = "HashiCorp Vault API client";
37     homepage = "https://github.com/ianunruh/hvac";
38     changelog = "https://github.com/hvac/hvac/blob/v${version}/CHANGELOG.md";
39     license = licenses.asl20;
40     maintainers = [ ];
41   };