depot/third_party/nixpkgs/pkgs/development/python-modules/hvac/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

35 lines
609 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyhcl
, requests
, six
}:
buildPythonPackage rec {
pname = "hvac";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5AKMXA7Me3/PalTSkPmSQOWrzbn/5ELRwU8GExDUxhw=";
};
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; [ ];
};
}