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