···
1
-
{ stdenv, fetchgit, ncurses, xlibsWrapper, libXaw, libXpm, Xaw3d
1
+
{ stdenv, lib, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm, Xaw3d
, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
4
-
, alsaLib, cairo, acl, gpm, AppKit, Foundation, libobjc
4
+
, alsaLib, cairo, acl, gpm, AppKit, CoreWLAN, Kerberos, GSS, ImageIO
, withX ? !stdenv.isDarwin
, withGTK3 ? false, gtk3 ? null
···
stdenv.mkDerivation rec {
26
-
name = "emacs-25.0.50-1b5630e";
26
+
name = "emacs-25.0.92";
31
-
url = "git://git.savannah.gnu.org/emacs.git";
32
-
rev = "1b5630eb47d3f4bade09708c958ab006b83b3fc0";
33
-
sha256 = "0n3qbri84akmy7ad1pbv89j4jn4x9pnkz0p4nbhh6m1c37cbz58l";
31
+
url = "ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.92.tar.xz";
32
+
sha256 = "13jnj1js2l90k4yk219r3z67fff90r6mniprsp0sgip2kaak75y2";
36
-
patches = stdenv.lib.optionals stdenv.isDarwin [
35
+
patches = lib.optionals stdenv.isDarwin [
···
++ stdenv.lib.optional (withX && withGTK3) gtk3
++ stdenv.lib.optional (stdenv.isDarwin && withX) cairo;
55
-
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Foundation libobjc
58
-
NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
59
-
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
54
+
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit GSS ImageIO ];
···
mv nextstep/Emacs.app $out/Applications
84
-
doCheck = !stdenv.isDarwin;
79
+
# https://github.com/NixOS/nixpkgs/issues/13573
meta = with stdenv.lib; {
description = "GNU Emacs 25 (pre), the extensible, customizable text editor";
homepage = http://www.gnu.org/software/emacs/;
license = licenses.gpl3Plus;
90
-
maintainers = with maintainers; [ chaoflow lovek323 simons the-kenny ];
86
+
maintainers = with maintainers; [ chaoflow lovek323 simons the-kenny jwiegley ];
platforms = platforms.all;
93
-
# So that Exuberant ctags is preferred
GNU Emacs is an extensible, customizable text editor—and more. At its