1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyhcl
5, requests
6, six
7}:
8
9buildPythonPackage rec {
10 pname = "hvac";
11 version = "0.11.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "f905c59d32d88d3f67571fe5a8a78de4659e04798ad809de439f667247d13626";
16 };
17
18 propagatedBuildInputs = [
19 pyhcl
20 requests
21 six
22 ];
23
24 # Requires running a Vault server
25 doCheck = false;
26
27 pythonImportsCheck = [ "hvac" ];
28
29 meta = with lib; {
30 description = "HashiCorp Vault API client";
31 homepage = "https://github.com/ianunruh/hvac";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ ];
34 };
35}