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