pythonPackages.pyparsing1: make private to mwlib
because pyparsing1 is an old version that is only used by mwlib.
This commit is contained in:
parent
63550e35fb
commit
6c467b7448
|
@ -8436,7 +8436,21 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mwlib = buildPythonPackage rec {
|
mwlib = let
|
||||||
|
pyparsing = buildPythonPackage rec {
|
||||||
|
name = "pyparsing-1.5.7";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/p/pyparsing/${name}.tar.gz";
|
||||||
|
sha256 = "646e14f90b3689b005c19ac9b6b390c9a39bf976481849993e277d7380e6e79f";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
homepage = http://pyparsing.wikispaces.com/;
|
||||||
|
description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in buildPythonPackage rec {
|
||||||
version = "0.15.15";
|
version = "0.15.15";
|
||||||
name = "mwlib-${version}";
|
name = "mwlib-${version}";
|
||||||
|
|
||||||
|
@ -8454,7 +8468,7 @@ in {
|
||||||
pillow
|
pillow
|
||||||
py
|
py
|
||||||
pyPdf
|
pyPdf
|
||||||
pyparsing1
|
pyparsing
|
||||||
qserve
|
qserve
|
||||||
roman
|
roman
|
||||||
simplejson
|
simplejson
|
||||||
|
@ -8462,6 +8476,15 @@ in {
|
||||||
timelib
|
timelib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = with self; [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests are in build directory but we need extension modules that are in $out
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for parsing MediaWiki articles and converting them to different output formats";
|
description = "Library for parsing MediaWiki articles and converting them to different output formats";
|
||||||
homepage = "http://pediapress.com/code/";
|
homepage = "http://pediapress.com/code/";
|
||||||
|
@ -20906,22 +20929,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pyparsing1 = buildPythonPackage rec {
|
|
||||||
name = "pyparsing-1.5.7";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pyparsing/${name}.tar.gz";
|
|
||||||
sha256 = "646e14f90b3689b005c19ac9b6b390c9a39bf976481849993e277d7380e6e79f";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://pyparsing.wikispaces.com/;
|
|
||||||
description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
pyparted = buildPythonPackage rec {
|
pyparted = buildPythonPackage rec {
|
||||||
name = "pyparted-${version}";
|
name = "pyparted-${version}";
|
||||||
version = "3.10.7";
|
version = "3.10.7";
|
||||||
|
|
Loading…
Reference in a new issue