nixpkgs/pkgs/applications/editors/emacs-modes/quack/default.nix
Christophe Raffalli a69cd62f71 Added tuareg emacs mode and fixed some other emacs mode.
ecb emacs mode is commented out because it's dependency appears not to compile.
2013-06-08 12:42:46 +02:00

33 lines
822 B
Nix

{ fetchurl, stdenv, emacs }:
stdenv.mkDerivation {
name = "quack-0.39";
src = fetchurl {
# XXX: Upstream URL is not versioned, which might eventually break this.
url = "http://www.neilvandyke.org/quack/quack.el";
sha256 = "1q5bsllxkibiddwp32306flqm8s3caffnpbqz5ka260avllp4jj5";
};
buildInputs = [ emacs ];
unpackPhase = "true";
configurePhase = "true";
installPhase = "true";
buildPhase = ''
emacsDir="$out/share/emacs/site-lisp"
mkdir -p "$emacsDir"
cp -v "$src" "$emacsDir/quack.el"
emacs --batch -f batch-byte-compile "$emacsDir/quack.el"
'';
meta = {
description = "Enhanced Emacs support for editing and running Scheme code";
homepage = http://www.neilvandyke.org/quack/;
license = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}