blob: 27bebab8422c33c55823b78f76647235ba1bd324 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
pyhcl,
requests,
poetry-core,
}:
buildPythonPackage rec {
pname = "hvac";
version = "2.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-4AVq2QZOeSPodOZ2kBWwMlgLY54pJG9asQRPeVnBx+A=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
pyhcl
requests
];
# Requires running a Vault server
doCheck = false;
pythonImportsCheck = [ "hvac" ];
meta = {
description = "HashiCorp Vault API client";
homepage = "https://github.com/ianunruh/hvac";
changelog = "https://github.com/hvac/hvac/blob/v${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|