Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
787 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchPypi, pyhcl, requests, poetry-core, pythonOlder,}:
buildPythonPackage rec { pname = "hvac"; version = "2.3.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-G4XjMg6GQt2C8jTbYyU82haagXWJ6CNxPcX8qDEZseI="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ pyhcl requests ];
# 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 = [ ]; };}