python310Packages.pytest-test-utils: init at 0.0.6

This commit is contained in:
Fabian Affolter 2022-05-27 21:19:04 +02:00
parent 3e92b94120
commit 6a99dc6498
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-test-utils";
version = "0.0.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
rev = version;
hash = "sha256-0lShdMNP2suN+JO0uKWwjsGQxFCRnCZEQp2h9hQNrrA=";
};
buildInputs = [
pytest
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytest_test_utils"
];
meta = with lib; {
description = "Pytest utilities for tests";
homepage = "https://github.com/iterative/pytest-test-utils";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8289,6 +8289,8 @@ in {
pytest-sugar = callPackage ../development/python-modules/pytest-sugar { };
pytest-test-utils = callPackage ../development/python-modules/pytest-test-utils { };
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };