diff --git a/pkgs/development/python-modules/pytest-unordered/default.nix b/pkgs/development/python-modules/pytest-unordered/default.nix new file mode 100644 index 000000000000..5dc0916991c9 --- /dev/null +++ b/pkgs/development/python-modules/pytest-unordered/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pytest-unordered"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "utapyngo"; + repo = pname; + rev = "972012a984b1e9fb3e98f9e8fe9e2ada16ad8110"; + hash = "sha256-mCcR6WZb2+V5n0PwgsjvnChWnANkIyQ0YtqwTKBYtaA="; + }; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "pytest_unordered" ]; + + meta = with lib; { + description = "Test equality of unordered collections in pytest"; + homepage = "https://github.com/utapyngo/pytest-unordered"; + license = licenses.mit; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index de1429748751..3d35b42eb17d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8481,6 +8481,8 @@ in { pytest-twisted = callPackage ../development/python-modules/pytest-twisted { }; + pytest-unordered = callPackage ../development/python-modules/pytest-unordered { }; + pytest-vcr = callPackage ../development/python-modules/pytest-vcr { }; pytest-virtualenv = callPackage ../development/python-modules/pytest-virtualenv { };