pythonPackages.feedparser: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:42:00 -04:00 committed by Frederik Rietdijk
parent 18c345dfaa
commit 75aaf63f6c
2 changed files with 26 additions and 18 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "feedparser";
version = "5.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
};
# lots of networking failures
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/feedparser/;
description = "Universal feed parser";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -2372,24 +2372,7 @@ in {
inherit (pkgs) glibcLocales;
};
feedparser = buildPythonPackage (rec {
name = "feedparser-5.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/f/feedparser/${name}.tar.gz";
sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
};
# lots of networking failures
doCheck = false;
meta = {
homepage = http://code.google.com/p/feedparser/;
description = "Universal feed parser";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];
};
});
feedparser = callPackage ../development/python-modules/feedparser { };
pyfribidi = buildPythonPackage rec {
version = "0.11.0";