Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 787 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyhcl, 6 requests, 7 poetry-core, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "hvac"; 13 version = "2.3.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-G4XjMg6GQt2C8jTbYyU82haagXWJ6CNxPcX8qDEZseI="; 21 }; 22 23 nativeBuildInputs = [ poetry-core ]; 24 25 propagatedBuildInputs = [ 26 pyhcl 27 requests 28 ]; 29 30 # Requires running a Vault server 31 doCheck = false; 32 33 pythonImportsCheck = [ "hvac" ]; 34 35 meta = with lib; { 36 description = "HashiCorp Vault API client"; 37 homepage = "https://github.com/ianunruh/hvac"; 38 changelog = "https://github.com/hvac/hvac/blob/v${version}/CHANGELOG.md"; 39 license = licenses.asl20; 40 maintainers = [ ]; 41 }; 42}