1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

pythonPackages.PyRSS2Gen: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 10:58:34 -04:00 committed by Frederik Rietdijk
parent 266b30808e
commit 52a7cbe5bc
2 changed files with 26 additions and 20 deletions

View file

@ -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 ];
};
}

View file

@ -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";