nixpkgs/pkgs/development/python-modules/feedgen/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
743 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python-dateutil,
lxml,
}:
buildPythonPackage rec {
pname = "feedgen";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-2b1Rw7XpVqKlKZjDcIxNLHKfL8wxEYjh5dO5cmOTVGo=";
};
propagatedBuildInputs = [
python-dateutil
lxml
];
# No tests in archive
doCheck = false;
meta = {
description = "Python module to generate ATOM feeds, RSS feeds and Podcasts";
downloadPage = "https://github.com/lkiesow/python-feedgen/releases";
homepage = "https://github.com/lkiesow/python-feedgen";
license = with lib.licenses; [
bsd2
lgpl3
];
maintainers = with lib.maintainers; [ casey ];
};
}