Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 550 B view raw
1{ lib, buildPythonPackage, fetchPypi, requests, six }: 2 3buildPythonPackage rec { 4 pname = "hvac"; 5 version = "0.10.8"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "cd74138994b1b99cdb75d34aadfd900352b3170bfc31c5e4cc0ff63eaa731cf9"; 10 }; 11 12 propagatedBuildInputs = [ requests six ]; 13 14 # Requires running a Vault server 15 doCheck = false; 16 17 pythonImportsCheck = [ "hvac" ]; 18 19 meta = with lib; { 20 description = "HashiCorp Vault API client"; 21 homepage = "https://github.com/ianunruh/hvac"; 22 license = licenses.asl20; 23 }; 24}