1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Add Quack, an Emacs mode for Scheme.

svn path=/nixpkgs/trunk/; revision=11388
This commit is contained in:
Ludovic Courtès 2008-03-31 12:22:39 +00:00
parent 2d5d545818
commit b936188ce8
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,7 @@
source "$stdenv/setup" || exit 1
emacsDir="$out/share/emacs/site-lisp"
ensureDir "$emacsDir" && \
cp "$src" "$emacsDir/quack.el" && \
emacs --batch -f batch-byte-compile "$emacsDir/quack.el"

View file

@ -0,0 +1,22 @@
{ fetchurl, stdenv, emacs }:
stdenv.mkDerivation {
name = "quack-0.30";
src = fetchurl {
# XXX: Upstream URL is not versioned, which might eventually break this.
url = "http://www.neilvandyke.org/quack/quack.el";
sha256 = "1j68azxbc54hdk3cw9q95qpz99wgj9xxgrzzwmydxh3zafy5faqs";
};
buildInputs = [ emacs ];
builder = ./builder.sh;
meta = {
description = ''Quack: Enhanced Emacs Support for Editing and
Running Scheme Code'';
homepage = http://www.neilvandyke.org/quack/;
license = "GPLv2+";
};
}

View file

@ -5427,6 +5427,10 @@ let pkgs = rec {
qemuImage = qemuImageFun null;
quack = import ../applications/editors/emacs-modes/quack {
inherit fetchurl stdenv emacs;
};
ratpoison = import ../applications/window-managers/ratpoison {
inherit fetchurl stdenv fontconfig readline;
inherit (xlibs) libX11 inputproto libXt libXpm libXft