1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, setuptools
6, setuptools-scm
7, toml
8, jaraco-functools
9, jaraco-context
10, more-itertools
11, jaraco-collections
12, pytestCheckHook
13}:
14
15buildPythonPackage rec {
16 pname = "jaraco-test";
17 version = "5.3.0";
18 format = "pyproject";
19
20 disabled = pythonOlder "3.7";
21
22 src = fetchPypi {
23 pname = "jaraco.test";
24 inherit version;
25 hash = "sha256-f2f8xTlTgXGCPlqp+dA04ulRLOTzVNEb39hNtytGHUA=";
26 };
27
28 nativeBuildInputs = [
29 setuptools
30 setuptools-scm
31 ];
32
33 propagatedBuildInputs = [
34 toml
35 jaraco-functools
36 jaraco-context
37 more-itertools
38 jaraco-collections
39 ];
40
41 nativeCheckInputs = [
42 pytestCheckHook
43 ];
44
45 pythonImportsCheck = [
46 "jaraco.test"
47 ];
48
49 meta = with lib; {
50 description = "Testing support by jaraco";
51 homepage = "https://github.com/jaraco/jaraco.test";
52 changelog = "https://github.com/jaraco/jaraco.test/blob/v${version}/CHANGES.rst";
53 license = licenses.mit;
54 maintainers = with maintainers; [ dotlambda ];
55 };
56}