2021-08-19 09:46:54 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, glibcLocales
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
2017-05-24 07:15:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "feedgenerator";
|
2021-08-19 09:38:54 +01:00
|
|
|
version = "1.9.2";
|
2021-08-19 09:46:54 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-05-24 07:15:02 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-19 09:38:54 +01:00
|
|
|
sha256 = "sha256-sG1pQej9aiyecXkQeehsvno3iMciRKzAbwWTtJzaN5s=";
|
2017-05-24 07:15:02 +01:00
|
|
|
};
|
|
|
|
|
2021-08-19 09:46:54 +01:00
|
|
|
buildInputs = [
|
|
|
|
glibcLocales
|
|
|
|
];
|
2017-05-24 07:15:02 +01:00
|
|
|
|
2021-08-19 09:46:54 +01:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2017-05-24 07:15:02 +01:00
|
|
|
|
2021-08-19 09:46:54 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "feedgenerator" ];
|
2017-05-24 07:15:02 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-08-19 09:46:54 +01:00
|
|
|
description = "Standalone version of Django's feedgenerator module";
|
|
|
|
homepage = "https://github.com/getpelican/feedgenerator";
|
|
|
|
license = licenses.bsd3;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-05-24 07:15:02 +01:00
|
|
|
};
|
|
|
|
}
|