nixpkgs/pkgs/development/python-modules/hvac/default.nix

25 lines
550 B
Nix
Raw Normal View History

2019-12-08 19:57:06 -08:00
{ lib, buildPythonPackage, fetchPypi, requests, six }:
2018-03-17 10:49:06 -07:00
buildPythonPackage rec {
pname = "hvac";
version = "0.10.7";
2018-03-17 10:49:06 -07:00
src = fetchPypi {
inherit pname version;
sha256 = "6ee2ba6002f11151472fa873b6637d902fc6045a2193aea08b39ae8147c230ba";
2018-03-17 10:49:06 -07:00
};
2019-12-08 19:57:06 -08:00
propagatedBuildInputs = [ requests six ];
2018-03-17 10:49:06 -07:00
2018-03-17 11:19:32 -07:00
# Requires running a Vault server
doCheck = false;
pythonImportsCheck = [ "hvac" ];
2018-03-17 10:49:06 -07:00
meta = with lib; {
description = "HashiCorp Vault API client";
2020-03-15 13:32:29 -07:00
homepage = "https://github.com/ianunruh/hvac";
2018-03-17 10:49:06 -07:00
license = licenses.asl20;
};
}