b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
35 lines
623 B
Nix
35 lines
623 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyhcl
|
|
, requests
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvac";
|
|
version = "0.11.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9d5504e35388e665db5086edf75d2425831573c6569bb0bf3c2c6eaff30e034e";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyhcl
|
|
requests
|
|
six
|
|
];
|
|
|
|
# Requires running a Vault server
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "hvac" ];
|
|
|
|
meta = with lib; {
|
|
description = "HashiCorp Vault API client";
|
|
homepage = "https://github.com/ianunruh/hvac";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|