2021-06-22 08:06:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyhcl
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
}:
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2021-09-24 04:20:45 +00:00
|
|
|
version = "0.11.2";
|
2018-03-17 17:49:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-24 04:20:45 +00:00
|
|
|
sha256 = "f905c59d32d88d3f67571fe5a8a78de4659e04798ad809de439f667247d13626";
|
2018-03-17 17:49:06 +00:00
|
|
|
};
|
|
|
|
|
2021-06-22 08:06:18 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyhcl
|
|
|
|
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;
|
|
|
|
|
2021-02-07 02:10:04 +00:00
|
|
|
pythonImportsCheck = [ "hvac" ];
|
|
|
|
|
2018-03-17 17:49:06 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "HashiCorp Vault API client";
|
2020-03-15 20:32:29 +00:00
|
|
|
homepage = "https://github.com/ianunruh/hvac";
|
2018-03-17 17:49:06 +00:00
|
|
|
license = licenses.asl20;
|
2021-06-22 08:06:18 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-03-17 17:49:06 +00:00
|
|
|
};
|
|
|
|
}
|