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";
|
2022-01-14 00:58:19 +00:00
|
|
|
version = "2.0.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;
|
2022-01-14 00:58:19 +00:00
|
|
|
sha256 = "6836d456b8b0edbc5b6d3a42d1be852cebd43d2f28af4ff51789eb295f1860e2";
|
2017-05-24 06:15:02 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|