pythonPackages.rply: move to python-modules/

This commit is contained in:
Andrew R. M 2017-11-01 05:49:01 -04:00
parent 34cd077686
commit cbd65e7980
3 changed files with 23 additions and 19 deletions

View File

@ -443,7 +443,7 @@
nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>";
nico202 = "Nicolò Balzarotti <anothersms@gmail.com>";
NikolaMandic = "Ratko Mladic <nikola@mandic.email>";
nixy = "Andrew R. M. <andrewmiller237@gmail.com>";
nixy = "Andrew R. M. <nixy@nixy.moe>";
nocoolnametom = "Tom Doggett <nocoolnametom@gmail.com>";
notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, buildPythonPackage, appdirs }:
buildPythonPackage rec {
pname = "rply";
name = "${pname}-${version}";
version = "0.7.4";
src = fetchurl {
url = "mirror://pypi/r/rply/${name}.tar.gz";
sha256 = "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj";
};
buildInputs = [ appdirs ];
meta = with stdenv.lib; {
description = "A python Lex/Yacc that works with RPython";
homepage = https://github.com/alex/rply;
license = licenses.bsd3;
maintainers = with maintainers; [ nixy ];
};
}

View File

@ -18308,24 +18308,7 @@ in {
rpkg = callPackage ../development/python-modules/rpkg/default.nix {};
rply = buildPythonPackage rec {
name = "rply-${version}";
version = "0.7.4";
src = pkgs.fetchurl {
url = "mirror://pypi/r/rply/${name}.tar.gz";
sha256 = "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj";
};
buildInputs = with self; [ appdirs ];
meta = with pkgs.stdenv.lib; {
description = "A python Lex/Yacc that works with RPython";
homepage = https://github.com/alex/rply;
license = licenses.bsd3;
maintainers = with maintainers; [ nixy ];
};
};
rply = callPackage ../development/python-modules/rply/default.nix {};
rpm = (pkgs.rpm.override{inherit python;});