blob: 8b4d3572c249f5d293ee1104f449883e4e117900 (
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
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
jaraco-functools,
jaraco-context,
jaraco-collections,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-test";
version = "5.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.test";
tag = "v${version}";
hash = "sha256-Ym0r92xCh+DNpFexqPlRVgcDGYNvnaJHEs5/RMaUr+s=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"coherent.licensed",' ""
'';
build-system = [ setuptools-scm ];
dependencies = [
jaraco-functools
jaraco-context
jaraco-collections
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jaraco.test" ];
meta = {
description = "Testing support by jaraco";
homepage = "https://github.com/jaraco/jaraco.test";
changelog = "https://github.com/jaraco/jaraco.test/blob/${src.tag}/NEWS.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|