2021-08-19 08:46:54 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, glibcLocales
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
2017-05-24 06:15:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "feedgenerator";
|
2023-04-19 09:44:13 +00:00
|
|
|
version = "2.1.0";
|
2021-08-19 08:46:54 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-05-24 06:15:02 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-19 09:44:13 +00:00
|
|
|
sha256 = "sha256-8HXyPyj9In8JfDayEhYcbPAS4cbKr3/1PV1rsCzUK50=";
|
2017-05-24 06:15:02 +00:00
|
|
|
};
|
|
|
|
|
2022-01-18 09:53:43 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i '/cov/d' setup.cfg
|
|
|
|
'';
|
|
|
|
|
2021-08-19 08:46:54 +00:00
|
|
|
buildInputs = [
|
|
|
|
glibcLocales
|
|
|
|
];
|
2017-05-24 06:15:02 +00:00
|
|
|
|
2021-08-19 08:46:54 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2017-05-24 06:15:02 +00:00
|
|
|
|
2021-08-19 08:46:54 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-08-19 08:46:54 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "feedgenerator" ];
|
2017-05-24 06:15:02 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-08-19 08:46:54 +00:00
|
|
|
description = "Standalone version of Django's feedgenerator module";
|
|
|
|
homepage = "https://github.com/getpelican/feedgenerator";
|
|
|
|
license = licenses.bsd3;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-05-24 06:15:02 +00:00
|
|
|
};
|
|
|
|
}
|