2008-03-31 16:22:39 +04:00
|
|
|
{ fetchurl, stdenv, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-11-12 01:12:02 +03:00
|
|
|
name = "quack-0.39";
|
2008-03-31 16:22:39 +04: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 14:28:49 +04:00
|
|
|
sha256 = "1q5bsllxkibiddwp32306flqm8s3caffnpbqz5ka260avllp4jj5";
|
2008-03-31 16:22:39 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
2009-07-24 16:41:47 +04:00
|
|
|
unpackPhase = "true";
|
|
|
|
configurePhase = "true";
|
|
|
|
installPhase = "true";
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacsDir="$out/share/emacs/site-lisp"
|
|
|
|
|
2012-01-19 00:16:00 +04:00
|
|
|
mkdir -p "$emacsDir"
|
2009-07-24 16:41:47 +04:00
|
|
|
cp -v "$src" "$emacsDir/quack.el"
|
|
|
|
emacs --batch -f batch-byte-compile "$emacsDir/quack.el"
|
|
|
|
'';
|
2008-03-31 16:22:39 +04:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 16:27:40 +03:00
|
|
|
description = "Enhanced Emacs support for editing and running Scheme code";
|
2008-03-31 16:22:39 +04:00
|
|
|
homepage = http://www.neilvandyke.org/quack/;
|
|
|
|
license = "GPLv2+";
|
2013-08-17 01:44:33 +04:00
|
|
|
maintainers = [ ];
|
2008-03-31 16:22:39 +04:00
|
|
|
};
|
|
|
|
}
|