mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Quack 0.37.
svn path=/nixpkgs/trunk/; revision=16453
This commit is contained in:
parent
b05906055a
commit
7f22bca190
2 changed files with 14 additions and 10 deletions
|
@ -1,7 +0,0 @@
|
||||||
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"
|
|
|
@ -1,21 +1,32 @@
|
||||||
{ fetchurl, stdenv, emacs }:
|
{ fetchurl, stdenv, emacs }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "quack-0.36";
|
name = "quack-0.37";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# XXX: Upstream URL is not versioned, which might eventually break this.
|
# XXX: Upstream URL is not versioned, which might eventually break this.
|
||||||
url = "http://www.neilvandyke.org/quack/quack.el";
|
url = "http://www.neilvandyke.org/quack/quack.el";
|
||||||
sha256 = "0y9l35a8v56ldy4dap0816i80q9lnfpp27pl2a12d5hzb84hq8nr";
|
sha256 = "1q5442cpvw2i0qhmhn7mh45jnmzg0cmd01k5zp4gvg1526c0hbcc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
|
|
||||||
builder = ./builder.sh;
|
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"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Enhanced Emacs support for editing and running Scheme code";
|
description = "Enhanced Emacs support for editing and running Scheme code";
|
||||||
homepage = http://www.neilvandyke.org/quack/;
|
homepage = http://www.neilvandyke.org/quack/;
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue