depot/third_party/nixpkgs/pkgs/development/python-modules/hvac/default.nix
Default email 8d28093ffb Project import generated by Copybara.
GitOrigin-RevId: 31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497
2021-09-26 14:46:18 +02:00

35 lines
623 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyhcl
, requests
, six
}:
buildPythonPackage rec {
pname = "hvac";
version = "0.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "f905c59d32d88d3f67571fe5a8a78de4659e04798ad809de439f667247d13626";
};
propagatedBuildInputs = [
pyhcl
requests
six
];
# Requires running a Vault server
doCheck = false;
pythonImportsCheck = [ "hvac" ];
meta = with lib; {
description = "HashiCorp Vault API client";
homepage = "https://github.com/ianunruh/hvac";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}