GNU Emacs live from CVS.
svn path=/nixpkgs/trunk/; revision=14107
This commit is contained in:
parent
33ef9ff72c
commit
722c3546af
|
@ -3,9 +3,10 @@
|
||||||
, xaw3dSupport ? false
|
, xaw3dSupport ? false
|
||||||
, gtkGUI ? false
|
, gtkGUI ? false
|
||||||
, xftSupport ? false
|
, xftSupport ? false
|
||||||
, stdenv, fetchurl, ncurses, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
, stdenv, fetchcvs, ncurses, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
||||||
, pkgconfig ? null, gtk ? null, libXft ? null
|
, pkgconfig ? null, gtk ? null, libXft ? null
|
||||||
, libpng, libjpeg, libungif, libtiff, texinfo
|
, libpng, libjpeg, libungif, libtiff, texinfo
|
||||||
|
, autoconf, automake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert xawSupport -> libXaw != null;
|
assert xawSupport -> libXaw != null;
|
||||||
|
@ -14,22 +15,23 @@ assert xaw3dSupport -> Xaw3d != null;
|
||||||
assert gtkGUI -> pkgconfig != null && gtk != null;
|
assert gtkGUI -> pkgconfig != null && gtk != null;
|
||||||
assert xftSupport -> libXft != null && libpng != null; # libpng = probably a bug
|
assert xftSupport -> libXft != null && libpng != null; # libpng = probably a bug
|
||||||
|
|
||||||
let date = "20080228"; in
|
let date = "2009-02-16"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "emacs-snapshot-23-${date}";
|
name = "emacs-snapshot-23-${date}";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchcvs {
|
||||||
url = "http://ppa.launchpad.net/avassalotti/ubuntu/pool/main/e/emacs-snapshot/emacs-snapshot_${date}.orig.tar.gz";
|
inherit date;
|
||||||
sha256 = "1cix1qjrynidvdyww3g8fm1wyggc82qjxbfbv3rx630szm1v6bm7";
|
cvsRoot = ":pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs";
|
||||||
|
module = "emacs";
|
||||||
|
sha256 = "6ec63da94a199c5f95bf4a9aa578cf14b3d85800fd37b3562d9a446b144b0d47";
|
||||||
};
|
};
|
||||||
|
|
||||||
# patches = [
|
preConfigure = "autoreconf -vfi";
|
||||||
# ./crt.patch
|
|
||||||
# ];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
autoconf automake
|
||||||
ncurses x11 texinfo
|
ncurses x11 texinfo
|
||||||
(if xawSupport then libXaw else null)
|
(if xawSupport then libXaw else null)
|
||||||
(if xpmSupport then libXpm else null)
|
(if xpmSupport then libXpm else null)
|
||||||
|
|
|
@ -7781,8 +7781,9 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
emacsUnicode = lowPrio (import ../applications/editors/emacs-unicode {
|
emacsUnicode = lowPrio (import ../applications/editors/emacs-unicode {
|
||||||
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d
|
inherit fetchcvs stdenv ncurses pkgconfig x11 Xaw3d
|
||||||
libpng libjpeg libungif libtiff texinfo;
|
libpng libjpeg libungif libtiff texinfo
|
||||||
|
autoconf automake;
|
||||||
inherit (xlibs) libXaw libXpm libXft;
|
inherit (xlibs) libXaw libXpm libXft;
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
xawSupport = getPkgConfig "emacs" "xawSupport" false;
|
xawSupport = getPkgConfig "emacs" "xawSupport" false;
|
||||||
|
|
Loading…
Reference in New Issue