1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "python-nomad"; 11 version = "2.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-5IyHNw1ArE8fU9DoSQMGkDI9d/OiR1YI/7nTPeFIK+A="; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 # Tests require nomad agent 24 doCheck = false; 25 26 pythonImportsCheck = [ "nomad" ]; 27 28 meta = with lib; { 29 description = "Python client library for Hashicorp Nomad"; 30 homepage = "https://github.com/jrxFive/python-nomad"; 31 changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ xbreak ]; 34 }; 35}