2018-03-17 17:49:06 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2018-07-22 11:10:39 +01:00
|
|
|
version = "0.6.2";
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:10:39 +01:00
|
|
|
sha256 = "4bc80744df5f09882b1cc91755b03b7b62b093fc63c8c4abb26fbfb9c9e878dd";
|
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;
|
|
|
|
};
|
|
|
|
}
|