diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-06-05 00:13:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 00:13:41 +0000 |
| commit | dd2d950a06ba0ea647600e021fdae2b4fd644c19 (patch) | |
| tree | 12950ec9be3d776141d5b0234bf24d014fd1197e /pkgs/development/python-modules/python-nomad/default.nix | |
| parent | 0e5a0abb85462f9cdc5b971416bf3663150355f1 (diff) | |
| parent | 87a0230e64d5100c972de1dec96996bc985a1ebe (diff) | |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/python-nomad/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/python-nomad/default.nix | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/python-nomad/default.nix b/pkgs/development/python-modules/python-nomad/default.nix index e7e191c7280b..3a7750e9deac 100644 --- a/pkgs/development/python-modules/python-nomad/default.nix +++ b/pkgs/development/python-modules/python-nomad/default.nix @@ -1,24 +1,37 @@ -{ lib, buildPythonPackage, fetchPypi, requests }: +{ lib +, buildPythonPackage +, fetchPypi +, requests +, pythonOlder +}: buildPythonPackage rec { pname = "python-nomad"; - version = "1.5.0"; + version = "2.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-VpngJvm9eK60lPeFIbjnTwzWWoJ9tRBDYP5SghDMbAg="; + hash = "sha256-5IyHNw1ArE8fU9DoSQMGkDI9d/OiR1YI/7nTPeFIK+A="; }; - propagatedBuildInputs = [ requests ]; + propagatedBuildInputs = [ + requests + ]; # Tests require nomad agent doCheck = false; - pythonImportsCheck = [ "nomad" ]; + pythonImportsCheck = [ + "nomad" + ]; meta = with lib; { description = "Python client library for Hashicorp Nomad"; homepage = "https://github.com/jrxFive/python-nomad"; + changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ xbreak ]; }; |
