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:
commit
e0f88fd9e1
|
@ -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>";
|
||||
|
|
28
pkgs/development/python-modules/rply/default.nix
Normal file
28
pkgs/development/python-modules/rply/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;});
|
||||
|
||||
|
|
Loading…
Reference in a new issue