mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
Add Quack, an Emacs mode for Scheme.
svn path=/nixpkgs/trunk/; revision=11388
This commit is contained in:
parent
2d5d545818
commit
b936188ce8
7
pkgs/applications/editors/emacs-modes/quack/builder.sh
Normal file
7
pkgs/applications/editors/emacs-modes/quack/builder.sh
Normal 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"
|
22
pkgs/applications/editors/emacs-modes/quack/default.nix
Normal file
22
pkgs/applications/editors/emacs-modes/quack/default.nix
Normal 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+";
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue