Merge pull request #134350 from Stunkymonkey/emacs-elisp-packages-phases

emacsPackages: deprecate phases

authored by davidak and committed by GitHub f70dd01d 8841a970

+9 -5
+3 -2
pkgs/applications/editors/emacs/elisp-packages/org-mac-link/default.nix
··· 1 1 { lib, stdenv, fetchurl, emacs }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "org-mac-link-1.2"; 4 + pname = "org-mac-link"; 5 + version = "1.2"; 5 6 6 7 src = fetchurl { 7 8 url = "https://raw.githubusercontent.com/stuartsierra/org-mode/master/contrib/lisp/org-mac-link.el"; 8 9 sha256 = "1gkzlfbhg289r1hbqd25szan1wizgk6s99h9xxjip5bjv0jywcx5"; 9 10 }; 10 11 11 - phases = [ "buildPhase" "installPhase"]; 12 + dontUnpack = true; 12 13 13 14 buildInputs = [ emacs ]; 14 15
+1 -1
pkgs/applications/editors/emacs/elisp-packages/perl-completion/default.nix
··· 8 8 sha256 = "0x6qsgs4hm87k0z9q3g4p6508kc3y123j5jayll3jf3lcl2vm6ks"; 9 9 }; 10 10 11 - phases = [ "installPhase"]; 11 + dontUnpack = true; 12 12 13 13 installPhase = '' 14 14 install -d $out/share/emacs/site-lisp
+5 -2
pkgs/applications/editors/emacs/elisp-packages/rect-mark/default.nix
··· 1 1 { lib, stdenv, fetchurl, emacs }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "rect-mark-1.4"; 4 + pname = "rect-mark"; 5 + version = "1.4"; 5 6 6 7 src = fetchurl { 7 8 url = "http://emacswiki.org/emacs/download/rect-mark.el"; 8 9 sha256 = "0pyyg53z9irh5jdfvh2qp4pm8qrml9r7lh42wfmdw6c7f56qryh8"; 9 10 }; 10 11 11 - phases = [ "buildPhase" "installPhase"]; 12 + dontUnpack = true; 12 13 13 14 buildInputs = [ emacs ]; 14 15 ··· 18 19 ''; 19 20 20 21 installPhase = '' 22 + runHook preInstall 21 23 install -d $out/share/emacs/site-lisp 22 24 install rect-mark.el* $out/share/emacs/site-lisp 25 + runHook postInstall 23 26 ''; 24 27 25 28 meta = {