blob: 832205559d976ef917dacb3de03dd42385274991 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
{
lib,
buildPythonPackage,
fetchPypi,
changelog-chug,
docutils,
lockfile,
packaging,
pytestCheckHook,
testscenarios,
testtools,
setuptools,
}:
buildPythonPackage rec {
pname = "python-daemon";
version = "3.1.2";
pyproject = true;
src = fetchPypi {
pname = "python_daemon";
inherit version;
hash = "sha256-97BDNa3Ec96Hf1EX4m1fEUL0yffNdlQI8Id3V75a+/Q=";
};
build-system = [
changelog-chug
setuptools
packaging
];
dependencies = [
docutils
lockfile
];
nativeCheckInputs = [
pytestCheckHook
testscenarios
testtools
];
disabledTests = [
"begin_with_TestCase"
"changelog_TestCase"
"ChangeLogEntry"
"DaemonContext"
"file_descriptor"
"get_distribution_version_info_TestCase"
"InvalidFormatError_TestCase"
"make_year_range_TestCase"
"ModuleExceptions_TestCase"
"test_metaclass_not_called"
"test_passes_specified_object"
"test_returns_expected"
"value_TestCase"
"YearRange_TestCase"
];
pythonImportsCheck = [
"daemon"
"daemon.daemon"
"daemon.pidfile"
];
meta = {
description = "Library to implement a well-behaved Unix daemon process";
homepage = "https://pagure.io/python-daemon/";
# See "Copying" section in https://pagure.io/python-daemon/blob/main/f/README
license = with lib.licenses; [
gpl3Plus
asl20
];
maintainers = [ ];
};
}
|