depot/third_party/nixpkgs/pkgs/development/python-modules/hvac/default.nix
Default email dae973cb59 Project import generated by Copybara.
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
2023-03-08 18:32:21 +02:00

40 lines
757 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyhcl
, requests
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "hvac";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-B53KWIVt7mZG7VovIoOAnBbS3u3eHp6WFbKRAySkuWk=";
};
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";
changelog = "https://github.com/hvac/hvac/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}