nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytest,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-unordered";
12 version = "0.7.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "utapyngo";
17 repo = "pytest-unordered";
18 tag = "v${version}";
19 hash = "sha256-JmP2zStxIt+u7sgfRKlnBwM5q5R0GfXtiE7ZgHKtg94=";
20 };
21
22 build-system = [ setuptools ];
23
24 buildInputs = [ pytest ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [ "pytest_unordered" ];
31
32 meta = {
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 = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ onny ];
38 };
39}