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:
parent
266b30808e
commit
52a7cbe5bc
25
pkgs/development/python-modules/pyrss2gen/default.nix
Normal file
25
pkgs/development/python-modules/pyrss2gen/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue