nixpkgs/pkgs/development/python-modules/hvac/default.nix

23 lines
502 B
Nix
Raw Normal View History

2019-12-09 04:57:06 +01:00
{ lib, buildPythonPackage, fetchPypi, requests, six }:
2018-03-17 18:49:06 +01:00
buildPythonPackage rec {
pname = "hvac";
2020-03-15 21:32:29 +01:00
version = "0.10.0";
2018-03-17 18:49:06 +01:00
src = fetchPypi {
inherit pname version;
2020-03-15 21:32:29 +01:00
sha256 = "0s0705lk3i1srsjxqhqv9sc2m54fj8lbflxz9gyxf4igxaa6vj1f";
2018-03-17 18:49:06 +01:00
};
2019-12-09 04:57:06 +01:00
propagatedBuildInputs = [ requests six ];
2018-03-17 18:49:06 +01:00
2018-03-17 19:19:32 +01:00
# Requires running a Vault server
doCheck = false;
2018-03-17 18:49:06 +01:00
meta = with lib; {
description = "HashiCorp Vault API client";
2020-03-15 21:32:29 +01:00
homepage = "https://github.com/ianunruh/hvac";
2018-03-17 18:49:06 +01:00
license = licenses.asl20;
};
}