mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 18:12:46 +00:00
47a854ae01
this fixes eval for nix-env -qaA nixpkgs.emacsPackagesNg
24 lines
599 B
Nix
24 lines
599 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "perl-completion";
|
|
|
|
src = fetchurl {
|
|
url = "http://emacswiki.org/emacs/download/perl-completion.el";
|
|
sha256 = "0x6qsgs4hm87k0z9q3g4p6508kc3y123j5jayll3jf3lcl2vm6ks";
|
|
};
|
|
|
|
phases = [ "installPhase"];
|
|
|
|
installPhase = ''
|
|
install -d $out/share/emacs/site-lisp
|
|
install $src $out/share/emacs/site-lisp/perl-completion.el
|
|
'';
|
|
|
|
meta = {
|
|
description = "Minor mode provides useful features for editing perl codes";
|
|
homepage = http://emacswiki.org/emacs/PerlCompletion;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|