2018-03-17 17:49:06 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2019-10-24 06:47:35 +00:00
|
|
|
version = "0.9.5";
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:35 +00:00
|
|
|
sha256 = "8b98be5868132a591ae5a3ca4b415231d4eac22d3fd77dbd69c3b1081d9ea26d";
|
2018-03-17 17:49:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|