2019-12-09 03:57:06 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, six }:
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2019-12-09 03:57:06 +00:00
|
|
|
version = "0.9.6";
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-09 03:57:06 +00:00
|
|
|
sha256 = "1v37jabp859691863mw8j06hqxsy16ndf804z2k5y5b0d167j9by";
|
2018-03-17 17:49:06 +00:00
|
|
|
};
|
|
|
|
|
2019-12-09 03:57:06 +00:00
|
|
|
propagatedBuildInputs = [ requests six ];
|
2018-03-17 17:49:06 +00:00
|
|
|
|
2018-03-17 18:19:32 +00:00
|
|
|
# Requires running a Vault server
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-03-17 17:49:06 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "HashiCorp Vault API client";
|
|
|
|
homepage = https://github.com/ianunruh/hvac;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|