From 2141086af83455aabc1f62dc63459d918e010e8a Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 7 Aug 2017 20:14:53 -0700 Subject: [PATCH] python.pkgs.feedgen: init at 0.5.1 --- lib/maintainers.nix | 1 + .../python-modules/feedgen/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/feedgen/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 048d8c4760e3..2acf014eed6d 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -94,6 +94,7 @@ campadrenalin = "Philip Horger "; canndrew = "Andrew Cann "; carlsverre = "Carl Sverre "; + casey = "Casey Rodarmor "; cdepillabout = "Dennis Gosnell "; cfouche = "Chaddaï Fouché "; changlinli = "Changlin Li "; diff --git a/pkgs/development/python-modules/feedgen/default.nix b/pkgs/development/python-modules/feedgen/default.nix new file mode 100644 index 000000000000..9ad28e52baac --- /dev/null +++ b/pkgs/development/python-modules/feedgen/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi, fetchurl, dateutil, lxml }: + +buildPythonPackage rec { + pname = "feedgen"; + version = "0.5.1"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "3a344b5e3662e9012d095a081a7f216f188dccf3a8f44ad7882960fef05e6787"; + }; + + propagatedBuildInputs = [ dateutil lxml ]; + + doCheck = true; + + meta = with stdenv.lib; { + 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 licenses; [ bsd2 lgpl3 ]; + maintainers = with maintainers; [ casey ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bb5aef27f135..6df0af982957 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9795,6 +9795,8 @@ in { }; }; + feedgen = callPackage ../development/python-modules/feedgen { }; + feedgenerator = callPackage ../development/python-modules/feedgenerator { inherit (pkgs) glibcLocales; };