From 1b0ff5bba2d2cf8eb8f9860ecd938c7c3f93a9d1 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 4 Jul 2022 16:54:39 +0200 Subject: [PATCH] python310Packages.pytest-unordered: init at 0.4.1 --- .../pytest-unordered/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/pytest-unordered/default.nix 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 { };