Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 572 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, requests }: 2 3buildPythonPackage rec { 4 pname = "python-nomad"; 5 version = "1.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1rf6ad35vg3yi1p4l383xwx0ammdvr1k71bxg93bgcvljypx4cyn"; 10 }; 11 12 propagatedBuildInputs = [ requests ]; 13 14 # Tests require nomad agent 15 doCheck = false; 16 17 meta = with stdenv.lib; { 18 description = "Python client library for Hashicorp Nomad"; 19 homepage = "https://github.com/jrxFive/python-nomad"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ xbreak ]; 22 }; 23}