25 lines
550 B
Nix
25 lines
550 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvac";
|
|
version = "0.10.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "cd74138994b1b99cdb75d34aadfd900352b3170bfc31c5e4cc0ff63eaa731cf9";
|
|
};
|
|
|
|
propagatedBuildInputs = [ 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;
|
|
};
|
|
}
|