Files
nixpkgs/pkgs/development/python-modules/pytest-reverse/default.nix
2025-09-20 09:27:17 +02:00

38 lines
838 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-reverse";
version = "1.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "adamchainz";
repo = "pytest-reverse";
tag = version;
hash = "sha256-d9wx4N3RnPbOk+dZuJaCdbtXfQQwjGo5MwVNrNVGtlo=";
};
build-system = [ setuptools ];
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_reverse" ];
meta = with lib; {
description = "Pytest plugin to reverse test order";
homepage = "https://github.com/adamchainz/pytest-reverse";
changelog = "https://github.com/adamchainz/pytest-reverse/blob/${src.tag}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}