diff --git a/pkgs/development/python-modules/pyrss2gen/default.nix b/pkgs/development/python-modules/pyrss2gen/default.nix new file mode 100644 index 00000000000..1c65d7ca5c7 --- /dev/null +++ b/pkgs/development/python-modules/pyrss2gen/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "PyRSS2Gen"; + version = "1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1rvf5jw9hknqz02rp1vg8abgb1lpa0bc65l7ylmlillqx7bswq3r"; + }; + + # No tests in archive + doCheck = false; + + meta = with stdenv.lib; { + homepage = http://www.dalkescientific.om/Python/PyRSS2Gen.html; + description = "Library for generating RSS 2.0 feeds"; + license = licenses.bsd2; + maintainers = with maintainers; [ domenkozar ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4d47e0ac164..2eb4c1f3f83 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3398,26 +3398,7 @@ in { pyrsistent = callPackage ../development/python-modules/pyrsistent { }; - PyRSS2Gen = buildPythonPackage (rec { - pname = "PyRSS2Gen"; - version = "1.1"; - name = "${pname}-${version}"; - - src = fetchPypi { - inherit pname version; - sha256 = "1rvf5jw9hknqz02rp1vg8abgb1lpa0bc65l7ylmlillqx7bswq3r"; - }; - - # No tests in archive - doCheck = false; - - meta = { - homepage = http://www.dalkescientific.om/Python/PyRSS2Gen.html; - description = "Library for generating RSS 2.0 feeds"; - license = licenses.bsd2; - maintainers = with maintainers; [ domenkozar ]; - }; - }); + PyRSS2Gen = callPackage ../development/python-modules/pyrss2gen { }; pysmi = buildPythonPackage rec { version = "0.0.7";