Emacs Rope: update rope, ropemacs and add ropemode

+28 -18
+28 -18
pkgs/top-level/python-packages.nix
··· 2461 2461 }; 2462 2462 }); 2463 2463 2464 - rope = pkgs.stdenv.mkDerivation rec { 2465 - version = "0.9.3"; 2464 + rope = buildPythonPackage rec { 2465 + version = "0.9.4"; 2466 2466 name = "rope-${version}"; 2467 2467 2468 2468 src = fetchurl { 2469 2469 url = "http://pypi.python.org/packages/source/r/rope/${name}.tar.gz"; 2470 - sha256 = "1092rlsfna7rm1jkdanilsmw7rr3hlkgyji02xfd02wfcm8xa2i7"; 2470 + sha256 = "1fm6ahff50b10mlnc0ar4x1fv9sxmcp1g651myyqy7c50hk39h1d"; 2471 2471 }; 2472 - 2473 - buildInputs = [ python ]; 2474 - 2475 - installPhase = '' 2476 - python setup.py install --prefix=$out 2477 - ''; 2478 2472 2479 2473 meta = with stdenv.lib; { 2480 2474 description = "python refactoring library"; ··· 2484 2478 }; 2485 2479 }; 2486 2480 2487 - ropemacs = pkgs.stdenv.mkDerivation rec { 2488 - version = "0.6"; 2481 + ropemacs = buildPythonPackage rec { 2482 + version = "0.7"; 2489 2483 name = "ropemacs-${version}"; 2490 2484 2491 2485 src = fetchurl { 2492 - url = "mirror://sourceforge/rope/${name}.tar.gz"; 2493 - sha256 = "1afqybmjn7fqkwx8y8kx1kfx181ix73cbq3a0d5n7ryjm7k1r0s4"; 2486 + url = "http://pypi.python.org/packages/source/r/ropemacs/${name}.tar.gz"; 2487 + sha256 = "1x5qf1drcdz9jfiiakc60kzqkb3ahsg9j902c5byf3gjfacdrmqj"; 2494 2488 }; 2495 2489 2496 - buildInputs = [ python ]; 2497 - 2498 - installPhase = '' 2499 - python setup.py install --prefix=$out 2500 - ''; 2490 + propagatedBuildInputs = [ ropemode ]; 2501 2491 2502 2492 meta = with stdenv.lib; { 2503 2493 description = "a plugin for performing python refactorings in emacs"; ··· 2506 2496 license = licenses.gpl2; 2507 2497 }; 2508 2498 }; 2499 + 2500 + ropemode = buildPythonPackage rec { 2501 + version = "0.2"; 2502 + name = "ropemode-${version}"; 2503 + 2504 + src = fetchurl { 2505 + url = "http://pypi.python.org/packages/source/r/ropemode/${name}.tar.gz"; 2506 + sha256 = "0jw6h1wvk6wk0wknqdf7s9pw76m8472jv546lqdd88jbl2scgcjl"; 2507 + }; 2508 + 2509 + propagatedBuildInputs = [ rope ]; 2510 + 2511 + meta = with stdenv.lib; { 2512 + description = "a plugin for performing python refactorings in emacs"; 2513 + homepage = http://rope.sf.net; 2514 + maintainers = [ maintainers.goibhniu ]; 2515 + license = licenses.gpl2; 2516 + }; 2517 + }; 2518 + 2509 2519 2510 2520 2511 2521 routes = buildPythonPackage rec {