diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-11-25 09:06:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 09:06:14 +0100 |
commit | d6a35df2683dc1ba232240885d2b9d8ef4d5b34a (patch) | |
tree | a9da75a3c056b7a4deb0c1e2e783acf3ae85ac5a /pkgs | |
parent | 8334d36bc194deaff8a4087f8b978078d01f0571 (diff) | |
parent | f9c56732d411ce1fbcfc57c75bc88bbeabae1a74 (diff) |
Merge pull request #269736 from fabaff/p1monitor-bump
python311Packages.p1monitor: 2.3.1 -> 3.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/p1monitor/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/p1monitor/default.nix b/pkgs/development/python-modules/p1monitor/default.nix index 48d2044031f18..c45af36a86333 100644 --- a/pkgs/development/python-modules/p1monitor/default.nix +++ b/pkgs/development/python-modules/p1monitor/default.nix @@ -12,18 +12,24 @@ buildPythonPackage rec { pname = "p1monitor"; - version = "2.3.1"; - format = "pyproject"; + version = "3.0.0"; + pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-p1monitor"; rev = "refs/tags/v${version}"; - hash = "sha256-2NlFXeI+6ooh4D1OxUWwYrmM4zpL9gg8vhnseLjj2dM="; + hash = "sha256-ZtIY4HvRllqlLlf3j1+RMJuuQuq+BZbMuMn9n/v8H5M="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace '"0.0.0"' '"${version}"' \ + --replace 'addopts = "--cov"' "" + ''; + nativeBuildInputs = [ poetry-core ]; @@ -39,12 +45,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace '"0.0.0"' '"${version}"' \ - --replace 'addopts = "--cov"' "" - ''; - pythonImportsCheck = [ "p1monitor" ]; |