Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

47 lines
834 B
Nix

{
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;
hash = "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 = [ ];
};
}