diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-05 03:16:08 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-05 03:16:08 +0100 |
commit | 5c63f3299551a41c6643834d192a6213a61f7e1b (patch) | |
tree | ac5e06778ce6617a340c02c8bbbcdf37cc8587c2 /pkgs | |
parent | afb7fbe6975d7994c56f1b29f4a535c239cb8583 (diff) |
python3Packages.pytest-unordered: 0.4.1 -> 0.5.2
Set format explicitly, add pytest as build input.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pytest-unordered/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pytest-unordered/default.nix b/pkgs/development/python-modules/pytest-unordered/default.nix index 5dc0916991c9d..5bf17834e0681 100644 --- a/pkgs/development/python-modules/pytest-unordered/default.nix +++ b/pkgs/development/python-modules/pytest-unordered/default.nix @@ -1,25 +1,36 @@ { lib , buildPythonPackage , fetchFromGitHub +, pytest , pytestCheckHook }: buildPythonPackage rec { pname = "pytest-unordered"; - version = "0.4.1"; + version = "0.5.2"; + format = "setuptools"; src = fetchFromGitHub { owner = "utapyngo"; - repo = pname; - rev = "972012a984b1e9fb3e98f9e8fe9e2ada16ad8110"; - hash = "sha256-mCcR6WZb2+V5n0PwgsjvnChWnANkIyQ0YtqwTKBYtaA="; + repo = "pytest-unordered"; + rev = "refs/tags/v${version}"; + hash = "sha256-51UJjnGBO7qBvQlY8F0B29n8+EO2aa3DF3WOwcjZzSo="; }; - checkInputs = [ pytestCheckHook ]; + buildInputs = [ + pytest + ]; - pythonImportsCheck = [ "pytest_unordered" ]; + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pytest_unordered" + ]; meta = with lib; { + changelog = "https://github.com/utapyngo/pytest-unordered/blob/v${version}/CHANGELOG.md"; description = "Test equality of unordered collections in pytest"; homepage = "https://github.com/utapyngo/pytest-unordered"; license = licenses.mit; |