blob: ea587a10ae12ee9d257e9ec5011270b2159c759b (
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
49
50
51
52
53
54
55
56
57
58
|
{
lib,
buildPythonPackage,
fetchPypi,
mock,
pytestCheckHook,
setuptools,
sybil,
twisted,
}:
buildPythonPackage rec {
pname = "testfixtures";
version = "9.1.0";
pyproject = true;
# DO NOT CONTACT upstream.
# https://github.com/simplistix/ is only concerned with internal CI process.
# Any attempt by non-standard pip workflows to comment on issues will
# be met with hostility.
# https://github.com/simplistix/testfixtures/issues/169
# https://github.com/simplistix/testfixtures/issues/168
src = fetchPypi {
inherit pname version;
hash = "sha256-UX6c81OUJyNTOuEQDKRd0n/geFw60nZQdfXLHLzgFII=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
mock
pytestCheckHook
sybil
twisted
];
disabledTests = [
"test_filter_missing"
"test_filter_present"
];
disabledTestPaths = [
# Django is too much hasle to setup at the moment
"testfixtures/tests/test_django"
];
enabledTestPaths = [ "testfixtures/tests" ];
pythonImportsCheck = [ "testfixtures" ];
meta = {
description = "Collection of helpers and mock objects for unit tests and doc tests";
homepage = "https://github.com/Simplistix/testfixtures";
changelog = "https://github.com/simplistix/testfixtures/blob/${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siriobalmelli ];
};
}
|