blob: 5b76a3ca74445a085ae520c5d97aa8e9a092e433 (
plain) (
blame)
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,
glibcLocales,
pytestCheckHook,
pythonOlder,
pytz,
six,
}:
buildPythonPackage rec {
pname = "feedgenerator";
version = "2.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8HXyPyj9In8JfDayEhYcbPAS4cbKr3/1PV1rsCzUK50=";
};
postPatch = ''
sed -i '/cov/d' setup.cfg
'';
buildInputs = [ glibcLocales ];
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [
pytz
six
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "feedgenerator" ];
meta = with lib; {
description = "Standalone version of Django's feedgenerator module";
homepage = "https://github.com/getpelican/feedgenerator";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
|