3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hvac/default.nix
2021-08-17 10:52:46 -07:00

36 lines
623 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyhcl
, requests
, six
}:
buildPythonPackage rec {
pname = "hvac";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "9d5504e35388e665db5086edf75d2425831573c6569bb0bf3c2c6eaff30e034e";
};
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; [ ];
};
}