diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix b/nixpkgs/pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix new file mode 100644 index 00000000000..fcb37e7ebad --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix @@ -0,0 +1,30 @@ +{stdenv, fetchgit, emacs}: + +stdenv.mkDerivation { + name = "sunrise-commander-6r435"; + + src = fetchgit { + url = https://github.com/escherdragon/sunrise-commander.git; + rev = "7a44ca7abd9fe79f87934c78d00dc2a91419a4f1"; + sha256 = "2909beccc9daaa79e70876ac6547088c2459b624c364dda1886fe4d7adc7708b"; + }; + + buildInputs = [ emacs ]; + + buildPhase = '' + emacs -L . --batch -f batch-byte-compile *.el + ''; + + installPhase = '' + mkdir -p $out/share/emacs/site-lisp + install *.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 = stdenv.lib.licenses.gpl3Plus; + + platforms = stdenv.lib.platforms.all; + }; +} |