nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 875 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 requests, 7 nix-update-script, 8}: 9 10buildPythonPackage rec { 11 pname = "python-nomad"; 12 version = "2.1.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "jrxfive"; 17 repo = "python-nomad"; 18 tag = version; 19 hash = "sha256-tLS463sYVlOr2iZSgSkd4pHUVCtiIPJ3L8+9omlX4NY="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ requests ]; 25 26 # Tests require nomad agent 27 doCheck = false; 28 29 pythonImportsCheck = [ "nomad" ]; 30 31 passthru.updateScript = nix-update-script { }; 32 33 meta = { 34 description = "Python client library for Hashicorp Nomad"; 35 homepage = "https://github.com/jrxFive/python-nomad"; 36 changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ xbreak ]; 39 }; 40}