···33, variant
44, src
55, patches ? _: [ ]
66+, meta
67}:
7889{ lib
···391392 treeSitter = builtins.trace "emacs.passthru: treeSitter was renamed to withTreeSitter and will be removed in 23.11" withTreeSitter;
392393 };
393394394394- meta = {
395395- homepage = if variant == "macport"
396396- then "https://bitbucket.org/mituharu/emacs-mac/"
397397- else "https://www.gnu.org/software/emacs/";
398398- description = "The extensible, customizable GNU text editor"
399399- + lib.optionalString (variant == "macport") " - with macport patches";
400400- longDescription = ''
401401- GNU Emacs is an extensible, customizable text editor—and more. At its
402402- core is an interpreter for Emacs Lisp, a dialect of the Lisp programming
403403- language with extensions to support text editing.
404404-405405- The features of GNU Emacs include: content-sensitive editing modes,
406406- including syntax coloring, for a wide variety of file types including
407407- plain text, source code, and HTML; complete built-in documentation,
408408- including a tutorial for new users; full Unicode support for nearly all
409409- human languages and their scripts; highly customizable, using Emacs Lisp
410410- code or a graphical interface; a large number of extensions that add other
411411- functionality, including a project planner, mail and news reader, debugger
412412- interface, calendar, and more. Many of these extensions are distributed
413413- with GNU Emacs; others are available separately.
414414- ''
415415- + lib.optionalString (variant == "macport") ''
416416-417417- This release is built from Mitsuharu Yamamoto's patched, MacOS X-specific
418418- source code.
419419- '';
420420- license = lib.licenses.gpl3Plus;
421421- maintainers = with lib.maintainers; [
422422- AndersonTorres
423423- adisbladis
424424- atemu
425425- jwiegley
426426- lovek323
427427- matthewbauer
428428- ];
429429- platforms = if variant == "macport"
430430- then lib.platforms.darwin
431431- else lib.platforms.all;
395395+ meta = meta // {
432396 broken = !(stdenv.buildPlatform.canExecute stdenv.hostPlatform);
433397 };
434398}))
+47
pkgs/applications/editors/emacs/sources.nix
···33, fetchFromSavannah
44}:
5566+let
77+ mainlineMeta = {
88+ homepage = "https://www.gnu.org/software/emacs/";
99+ description = "The extensible, customizable GNU text editor";
1010+ longDescription = ''
1111+ GNU Emacs is an extensible, customizable text editor—and more. At its core
1212+ is an interpreter for Emacs Lisp, a dialect of the Lisp programming
1313+ language with extensions to support text editing.
1414+1515+ The features of GNU Emacs include: content-sensitive editing modes,
1616+ including syntax coloring, for a wide variety of file types including
1717+ plain text, source code, and HTML; complete built-in documentation,
1818+ including a tutorial for new users; full Unicode support for nearly all
1919+ human languages and their scripts; highly customizable, using Emacs Lisp
2020+ code or a graphical interface; a large number of extensions that add other
2121+ functionality, including a project planner, mail and news reader, debugger
2222+ interface, calendar, and more. Many of these extensions are distributed
2323+ with GNU Emacs; others are available separately.
2424+ '';
2525+ license = lib.licenses.gpl3Plus;
2626+ maintainers = with lib.maintainers; [
2727+ AndersonTorres
2828+ adisbladis
2929+ atemu
3030+ jwiegley
3131+ lovek323
3232+ matthewbauer
3333+ ];
3434+ platforms = lib.platforms.all;
3535+ };
3636+in
637{
738 emacs28 = import ./generic.nix {
839 pname = "emacs";
···1344 rev = "28.2";
1445 hash = "sha256-4oSLcUDR0MOEt53QOiZSVU8kPJ67GwugmBxdX3F15Ag=";
1546 };
4747+4848+ meta = mainlineMeta;
1649 };
17501851 emacs29 = import ./generic.nix {
···2457 rev = "29.0.92";
2558 hash = "sha256-Vkry+2zYejZVwZKQlmQiAJnbjsj87DiIZ1ungooYd8A=";
2659 };
6060+6161+ meta = mainlineMeta;
2762 };
28632964 emacs-macport = import ./generic.nix {
···3570 repo = "emacs-mac";
3671 rev = "emacs-28.2-mac-9.1";
3772 hash = "sha256-Ne2jQ2nVLNiQmnkkOXVc5AkLVkTpm8pFC7VNY2gQjPE=";
7373+ };
7474+7575+ meta = {
7676+ homepage = "https://bitbucket.org/mituharu/emacs-mac/";
7777+ description = mainlineMeta.description + " - with macport patches";
7878+ longDescription = mainlineMeta.longDescription + ''
7979+8080+ This release is built from Mitsuharu Yamamoto's patched source code
8181+ tailoired for MacOS X.
8282+ '';
8383+ inherit (mainlineMeta) license maintainers;
8484+ platforms = lib.platforms.darwin;
3885 };
3986 };
4087}