2008-03-31 14:22:39 +02:00
|
|
|
{ fetchurl, stdenv, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-11-11 23:12:02 +01:00
|
|
|
name = "quack-0.39";
|
2008-03-31 14:22:39 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
# XXX: Upstream URL is not versioned, which might eventually break this.
|
|
|
|
url = "http://www.neilvandyke.org/quack/quack.el";
|
2010-11-11 23:12:02 +01:00
|
|
|
sha256 = "1w3p03f1f3l2nldxc7dig1kkgbbvy5j7zid0cfmkcrpp1qrcsqic";
|
2008-03-31 14:22:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
2009-07-24 14:41:47 +02:00
|
|
|
unpackPhase = "true";
|
|
|
|
configurePhase = "true";
|
|
|
|
installPhase = "true";
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacsDir="$out/share/emacs/site-lisp"
|
|
|
|
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$emacsDir"
|
2009-07-24 14:41:47 +02:00
|
|
|
cp -v "$src" "$emacsDir/quack.el"
|
|
|
|
emacs --batch -f batch-byte-compile "$emacsDir/quack.el"
|
|
|
|
'';
|
2008-03-31 14:22:39 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "Enhanced Emacs support for editing and running Scheme code";
|
2008-03-31 14:22:39 +02:00
|
|
|
homepage = http://www.neilvandyke.org/quack/;
|
|
|
|
license = "GPLv2+";
|
2009-07-24 14:41:47 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2008-03-31 14:22:39 +02:00
|
|
|
};
|
|
|
|
}
|