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:
parent
009d784a0d
commit
7040bd13cd
26
pkgs/development/python-modules/simpleparse/default.nix
Normal file
26
pkgs/development/python-modules/simpleparse/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue