blob: 06e59b2b087c22ae1814b7e4501cd4acd8a3c146 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
pytest,
}:
buildPythonPackage rec {
pname = "pytest-test-utils";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iterative";
repo = "pytest-test-utils";
tag = version;
hash = "sha256-19oNAFff++7ntMdlnMXYc2w5I+EzGwWJh+rB1IjNZGk=";
};
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_test_utils" ];
meta = {
description = "Pytest utilities for tests";
homepage = "https://github.com/iterative/pytest-test-utils";
changelog = "https://github.com/iterative/pytest-test-utils/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|