1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytest
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pytest-unordered";
10 version = "0.5.2";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "utapyngo";
15 repo = "pytest-unordered";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-51UJjnGBO7qBvQlY8F0B29n8+EO2aa3DF3WOwcjZzSo=";
18 };
19
20 buildInputs = [
21 pytest
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 pythonImportsCheck = [
29 "pytest_unordered"
30 ];
31
32 meta = with lib; {
33 changelog = "https://github.com/utapyngo/pytest-unordered/blob/v${version}/CHANGELOG.md";
34 description = "Test equality of unordered collections in pytest";
35 homepage = "https://github.com/utapyngo/pytest-unordered";
36 license = licenses.mit;
37 maintainers = with maintainers; [ onny ];
38 };
39}