1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-16 17:13:21 +00:00

pythonPackages.simpleparse: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 13:24:08 -04:00 committed by Frederik Rietdijk
parent 009d784a0d
commit 7040bd13cd
2 changed files with 27 additions and 20 deletions

View file

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, isPyPy
}:
buildPythonPackage rec {
version = "2.1.1";
pname = "simpleparse";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "1n8msk71lpl3kv086xr2sv68ppgz6228575xfnbszc6p1mwr64rg";
};
doCheck = false; # weird error
meta = with stdenv.lib; {
description = "A Parser Generator for Python";
homepage = https://pypi.python.org/pypi/SimpleParse;
license = licenses.bsd0;
};
}

View file

@ -3726,26 +3726,7 @@ in {
simplejson = callPackage ../development/python-modules/simplejson { };
simpleparse = buildPythonPackage rec {
version = "2.1.1";
name = "simpleparse-${version}";
disabled = isPy3k || isPyPy;
src = pkgs.fetchurl {
url = "mirror://pypi/S/SimpleParse/SimpleParse-${version}.tar.gz";
sha256 = "1n8msk71lpl3kv086xr2sv68ppgz6228575xfnbszc6p1mwr64rg";
};
doCheck = false; # weird error
meta = {
description = "A Parser Generator for Python";
homepage = https://pypi.python.org/pypi/SimpleParse;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
};
simpleparse = callPackage ../development/python-modules/simpleparse { };
slimit = callPackage ../development/python-modules/slimit { };