blob: 560c6b876c3a2c66c99458255859d31818eb9601 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
tempora,
}:
buildPythonPackage rec {
pname = "jaraco-logging";
version = "3.4.0";
pyproject = true;
src = fetchPypi {
pname = "jaraco_logging";
inherit version;
hash = "sha256-59bcg2hHfOaesdbthR2AWJahypQs4/0Xc1gDEbC3dfs=";
};
postPatch = ''
sed -i "/coherent\.licensed/d" pyproject.toml
'';
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ tempora ];
# test no longer packaged with pypi
doCheck = false;
pythonImportsCheck = [ "jaraco.logging" ];
meta = {
description = "Support for Python logging facility";
homepage = "https://github.com/jaraco/jaraco.logging";
changelog = "https://github.com/jaraco/jaraco.logging/blob/v${version}/NEWS.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|