depot/third_party/nixpkgs/pkgs/development/python-modules/hvac/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

35 lines
611 B
Nix

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