depot/third_party/nixpkgs/pkgs/development/python-modules/hvac/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

24 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;
};
}