2019-12-08 19:57:06 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, six }:
|
2018-03-17 10:49:06 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvac";
|
2021-02-20 01:09:10 -08:00
|
|
|
version = "0.10.8";
|
2018-03-17 10:49:06 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 01:09:10 -08:00
|
|
|
sha256 = "cd74138994b1b99cdb75d34aadfd900352b3170bfc31c5e4cc0ff63eaa731cf9";
|
2018-03-17 10:49:06 -07:00
|
|
|
};
|
|
|
|
|
2019-12-08 19:57:06 -08:00
|
|
|
propagatedBuildInputs = [ requests six ];
|
2018-03-17 10:49:06 -07:00
|
|
|
|
2018-03-17 11:19:32 -07:00
|
|
|
# Requires running a Vault server
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-02-06 18:10:04 -08:00
|
|
|
pythonImportsCheck = [ "hvac" ];
|
|
|
|
|
2018-03-17 10:49:06 -07:00
|
|
|
meta = with lib; {
|
|
|
|
description = "HashiCorp Vault API client";
|
2020-03-15 13:32:29 -07:00
|
|
|
homepage = "https://github.com/ianunruh/hvac";
|
2018-03-17 10:49:06 -07:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|