Merge pull request #31079 from nixy/move-my-python-pkgs

Move my python pkgs

authored by Jörg Thalheim and committed by GitHub e0f88fd9 07d429a7

+30 -19
+1 -1
lib/maintainers.nix
··· 443 443 nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>"; 444 444 nico202 = "Nicolò Balzarotti <anothersms@gmail.com>"; 445 445 NikolaMandic = "Ratko Mladic <nikola@mandic.email>"; 446 - nixy = "Andrew R. M. <andrewmiller237@gmail.com>"; 446 + nixy = "Andrew R. M. <nixy@nixy.moe>"; 447 447 nocoolnametom = "Tom Doggett <nocoolnametom@gmail.com>"; 448 448 notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>"; 449 449 np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
+28
pkgs/development/python-modules/rply/default.nix
··· 1 + { stdenv, pytest, fetchFromGitHub, buildPythonPackage, appdirs }: 2 + 3 + buildPythonPackage rec { 4 + pname = "rply"; 5 + name = "${pname}-${version}"; 6 + version = "0.7.5"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "alex"; 10 + repo = "rply"; 11 + rev = "v${version}"; 12 + sha256 = "0v05gdy5dval30wvz96lywvz2jyf000dp0pnrd1lwdx3cyywq659"; 13 + }; 14 + 15 + buildInputs = [ appdirs ]; 16 + 17 + checkInputs = [ pytest ]; 18 + checkPhase = '' 19 + HOME=$(mktemp -d) py.test tests 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "A python Lex/Yacc that works with RPython"; 24 + homepage = https://github.com/alex/rply; 25 + license = licenses.bsd3; 26 + maintainers = with maintainers; [ nixy ]; 27 + }; 28 + }
+1 -18
pkgs/top-level/python-packages.nix
··· 18308 18308 18309 18309 rpkg = callPackage ../development/python-modules/rpkg/default.nix {}; 18310 18310 18311 - rply = buildPythonPackage rec { 18312 - name = "rply-${version}"; 18313 - version = "0.7.4"; 18314 - 18315 - src = pkgs.fetchurl { 18316 - url = "mirror://pypi/r/rply/${name}.tar.gz"; 18317 - sha256 = "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj"; 18318 - }; 18319 - 18320 - buildInputs = with self; [ appdirs ]; 18321 - 18322 - meta = with pkgs.stdenv.lib; { 18323 - description = "A python Lex/Yacc that works with RPython"; 18324 - homepage = https://github.com/alex/rply; 18325 - license = licenses.bsd3; 18326 - maintainers = with maintainers; [ nixy ]; 18327 - }; 18328 - }; 18311 + rply = callPackage ../development/python-modules/rply/default.nix {}; 18329 18312 18330 18313 rpm = (pkgs.rpm.override{inherit python;}); 18331 18314