2008-03-31 14:22:39 +02:00
|
|
|
{ fetchurl, stdenv, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-07-24 14:41:47 +02:00
|
|
|
name = "quack-0.37";
|
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";
|
2009-07-24 14:41:47 +02:00
|
|
|
sha256 = "1q5442cpvw2i0qhmhn7mh45jnmzg0cmd01k5zp4gvg1526c0hbcc";
|
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"
|
|
|
|
|
|
|
|
ensureDir "$emacsDir"
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|