Avoiding easy_install in order to get rope and ropemacs working for now.

svn path=/nixpkgs/trunk/; revision=25917
This commit is contained in:
Cillian de Roiste 2011-02-12 12:50:02 +00:00
parent dd0f90b302
commit 93a6c31a9a

View File

@ -853,7 +853,7 @@ rec {
}; };
}); });
rope = buildPythonPackage (rec { rope = pkgs.stdenv.mkDerivation rec {
version = "0.9.3"; version = "0.9.3";
name = "rope-${version}"; name = "rope-${version}";
@ -862,16 +862,21 @@ rec {
sha256 = "1092rlsfna7rm1jkdanilsmw7rr3hlkgyji02xfd02wfcm8xa2i7"; sha256 = "1092rlsfna7rm1jkdanilsmw7rr3hlkgyji02xfd02wfcm8xa2i7";
}; };
doCheck = false; buildInputs = [ python ];
installPhase = ''
python setup.py install --prefix=$out
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "python refactoring library"; description = "python refactoring library";
homepage = http://rope.sf.net; homepage = http://rope.sf.net;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];
license = licenses.gpl2; license = licenses.gpl2;
}; };
}); };
ropemacs = buildPythonPackage (rec { ropemacs = pkgs.stdenv.mkDerivation rec {
version = "0.6"; version = "0.6";
name = "ropemacs-${version}"; name = "ropemacs-${version}";
@ -880,14 +885,19 @@ rec {
sha256 = "1afqybmjn7fqkwx8y8kx1kfx181ix73cbq3a0d5n7ryjm7k1r0s4"; sha256 = "1afqybmjn7fqkwx8y8kx1kfx181ix73cbq3a0d5n7ryjm7k1r0s4";
}; };
doCheck = false; buildInputs = [ python ];
installPhase = ''
python setup.py install --prefix=$out
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "a plugin for performing python refactorings in emacs"; description = "a plugin for performing python refactorings in emacs";
homepage = http://rope.sf.net/ropemacs.html; homepage = http://rope.sf.net/ropemacs.html;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];
license = licenses.gpl2; license = licenses.gpl2;
}; };
}); };
pysvn = pkgs.stdenv.mkDerivation { pysvn = pkgs.stdenv.mkDerivation {
name = "pysvn-1.7.2"; name = "pysvn-1.7.2";