2018-03-17 18:49:06 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2018-11-04 11:35:02 +01:00
|
|
|
version = "0.7.0";
|
2018-03-17 18:49:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:35:02 +01:00
|
|
|
sha256 = "4fc3ca6b463200da5186a520ba7f6ce6d2873f9df0139e326665e9ea22514db3";
|
2018-03-17 18:49:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2018-03-17 19:19:32 +01:00
|
|
|
# Requires running a Vault server
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-03-17 18:49:06 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "HashiCorp Vault API client";
|
|
|
|
homepage = https://github.com/ianunruh/hvac;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|