mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
emacs: add "sunrise commander"
This commit is contained in:
parent
85c88d473b
commit
a5663aee4d
@ -0,0 +1,32 @@
|
||||
{stdenv, fetchurl, emacs}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sunrise-commander-6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.emacswiki.org/emacs/download/sunrise-commander.el";
|
||||
sha256 = "1bbpm00nc7ry0f2k4zaqbvp6w9py31asfcr9hddggc138pnfajvq";
|
||||
};
|
||||
|
||||
phases = [ "buildPhase" "installPhase"];
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
cp $src sunrise-commander.el
|
||||
emacs --batch -f batch-byte-compile sunrise-commander.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install sunrise-commander.el* $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Two-pane file manager for Emacs based on Dired and inspired by MC.";
|
||||
homepage = http://www.emacswiki.org/emacs/Sunrise_Commander;
|
||||
license = "GPLv3+";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -6758,6 +6758,8 @@ let
|
||||
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
|
||||
|
||||
scalaMode = callPackage ../applications/editors/emacs-modes/scala-mode { };
|
||||
|
||||
sunriseCommander = callPackage ../applications/editors/emacs-modes/sunrise-commander { };
|
||||
};
|
||||
|
||||
emacs22Packages = emacsPackages emacs22 pkgs.emacs22Packages;
|
||||
|
Loading…
Reference in New Issue
Block a user