summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-unordered/default.nix
blob: 5dc0916991c9ddcaf0290749117bcebba7b20916 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}