depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-unordered/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

39 lines
834 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-unordered";
version = "0.5.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "utapyngo";
repo = "pytest-unordered";
rev = "refs/tags/v${version}";
hash = "sha256-51UJjnGBO7qBvQlY8F0B29n8+EO2aa3DF3WOwcjZzSo=";
};
buildInputs = [
pytest
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytest_unordered"
];
meta = with lib; {
changelog = "https://github.com/utapyngo/pytest-unordered/blob/v${version}/CHANGELOG.md";
description = "Test equality of unordered collections in pytest";
homepage = "https://github.com/utapyngo/pytest-unordered";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}