1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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

Move my python pkgs
This commit is contained in:
Jörg Thalheim 2017-11-01 10:16:14 +00:00 committed by GitHub
commit e0f88fd9e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 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,28 @@
{ stdenv, pytest, fetchFromGitHub, buildPythonPackage, appdirs }:
buildPythonPackage rec {
pname = "rply";
name = "${pname}-${version}";
version = "0.7.5";
src = fetchFromGitHub {
owner = "alex";
repo = "rply";
rev = "v${version}";
sha256 = "0v05gdy5dval30wvz96lywvz2jyf000dp0pnrd1lwdx3cyywq659";
};
buildInputs = [ appdirs ];
checkInputs = [ pytest ];
checkPhase = ''
HOME=$(mktemp -d) py.test tests
'';
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;});