2012-08-29 21:57:57 +01:00
|
|
|
{stdenv, fetchgit, emacs}:
|
2012-08-21 09:33:20 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2012-08-29 21:57:57 +01:00
|
|
|
name = "sunrise-commander-6r435";
|
2012-08-21 09:33:20 +01:00
|
|
|
|
2012-08-29 21:57:57 +01:00
|
|
|
src = fetchgit {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/escherdragon/sunrise-commander.git";
|
2012-08-29 21:57:57 +01:00
|
|
|
rev = "7a44ca7abd9fe79f87934c78d00dc2a91419a4f1";
|
|
|
|
sha256 = "2909beccc9daaa79e70876ac6547088c2459b624c364dda1886fe4d7adc7708b";
|
2012-08-21 09:33:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2012-08-29 21:57:57 +01:00
|
|
|
emacs -L . --batch -f batch-byte-compile *.el
|
2012-08-21 09:33:20 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-08-29 21:57:57 +01:00
|
|
|
mkdir -p $out/share/emacs/site-lisp
|
|
|
|
install *.el* $out/share/emacs/site-lisp
|
2012-08-21 09:33:20 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Two-pane file manager for Emacs based on Dired and inspired by MC";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.emacswiki.org/emacs/Sunrise_Commander";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2012-08-21 09:33:20 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|