···6060 name = "cloud-init";
6161 meta = with pkgs.lib.maintainers; {
6262 maintainers = [ lewo ];
6363+ broken = true; # almost always times out after spending many hours
6364 };
6465 nodes.machine = { ... }:
6566 {
···3232 name = "mjolnir";
3333 meta = with pkgs.lib; {
3434 maintainers = teams.matrix.members;
3535+ broken = true; # times out after spending many hours
3536 };
36373738 nodes = {
+1
nixos/tests/systemd-cryptenroll.nix
···22 name = "systemd-cryptenroll";
33 meta = with pkgs.lib.maintainers; {
44 maintainers = [ ymatsiuk ];
55+ broken = true; # times out after two hours, details -> https://github.com/NixOS/nixpkgs/issues/167994
56 };
6778 nodes.machine = { pkgs, lib, ... }: {
+5-3
nixos/tests/terminal-emulators.nix
···2323let tests = {
2424 alacritty.pkg = p: p.alacritty;
25252626- contour.pkg = p: p.contour;
2727- contour.cmd = "contour $command";
2626+ # times out after spending many hours
2727+ #contour.pkg = p: p.contour;
2828+ #contour.cmd = "contour $command";
28292930 cool-retro-term.pkg = p: p.cool-retro-term;
3031 cool-retro-term.colourTest = false; # broken by gloss effect
···103104 wayst.pkg = p: p.wayst;
104105 wayst.pinkValue = "#FF0066";
105106106106- wezterm.pkg = p: p.wezterm;
107107+ # times out after spending many hours
108108+ #wezterm.pkg = p: p.wezterm;
107109108110 xfce4-terminal.pkg = p: p.xfce.xfce4-terminal;
109111
+4-1
nixos/tests/wine.nix
···4444listToAttrs (
4545 map (makeWineTest "winePackages" [ hello32 ]) variants
4646 ++ optionals pkgs.stdenv.is64bit
4747- (map (makeWineTest "wineWowPackages" [ hello32 hello64 ]) variants)
4747+ (map (makeWineTest "wineWowPackages" [ hello32 hello64 ])
4848+ # This wayland combination times out after spending many hours.
4949+ # https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.wine.wineWowPackages-wayland.x86_64-linux
5050+ (pkgs.lib.remove "wayland" variants))
4851)
···11-{ lib, stdenv, fetchurl, ncurses, pkg-config, texinfo, libxml2, gnutls, gettext, autoconf, automake, jansson
22-, AppKit, Carbon, Cocoa, IOKit, OSAKit, Quartz, QuartzCore, WebKit
33-, ImageCaptureCore, GSS, ImageIO # These may be optional
44-}:
55-66-stdenv.mkDerivation rec {
77- pname = "emacs";
88- version = "28.1";
99-1010- emacsName = "emacs-${version}";
1111- macportVersion = "9.0";
1212- name = "emacs-mac-${version}-${macportVersion}";
1313-1414- src = fetchurl {
1515- url = "mirror://gnu/emacs/${emacsName}.tar.xz";
1616- sha256 = "1qbmmmhnjhn4lvzsnyk7l5ganbi6wzbm38jc1a7hhyh3k78b7c98";
1717- };
1818-1919- macportSrc = fetchurl {
2020- url = "ftp://ftp.math.s.chiba-u.ac.jp/emacs/${emacsName}-mac-${macportVersion}.tar.gz";
2121- sha256 = "10gyynz8wblz6r6dkk12m98kjbsmdwcbrhxpmsjylmdqmjxhlj4m";
2222- name = "${emacsName}-mac-${macportVersion}.tar.xz"; # It's actually compressed with xz, not gz
2323- };
2424-2525- hiresSrc = fetchurl {
2626- url = "ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-hires-icons-3.0.tar.gz";
2727- sha256 = "0f2wzdw2a3ac581322b2y79rlj3c9f33ddrq9allj97r1si6v5xk";
2828- };
2929-3030- enableParallelBuilding = true;
3131-3232- nativeBuildInputs = [ pkg-config autoconf automake ];
3333-3434- buildInputs = [ ncurses libxml2 gnutls texinfo gettext jansson
3535- AppKit Carbon Cocoa IOKit OSAKit Quartz QuartzCore WebKit
3636- ImageCaptureCore GSS ImageIO # may be optional
3737- ];
3838-3939- postUnpack = ''
4040- mv $sourceRoot $name
4141- tar xf $macportSrc -C $name --strip-components=1
4242- mv $name $sourceRoot
4343-4444- # extract retina image resources
4545- tar xfv $hiresSrc --strip 1 -C $sourceRoot
4646- '';
4747-4848- postPatch = ''
4949- patch -p1 < patch-mac
5050- substituteInPlace lisp/international/mule-cmds.el \
5151- --replace /usr/share/locale ${gettext}/share/locale
5252-5353- # use newer emacs icon
5454- cp nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns mac/Emacs.app/Contents/Resources/Emacs.icns
5555-5656- # Fix sandbox impurities.
5757- substituteInPlace Makefile.in --replace '/bin/pwd' 'pwd'
5858- substituteInPlace lib-src/Makefile.in --replace '/bin/pwd' 'pwd'
5959-6060- # Reduce closure size by cleaning the environment of the emacs dumper
6161- substituteInPlace src/Makefile.in \
6262- --replace 'RUN_TEMACS = ./temacs' 'RUN_TEMACS = env -i ./temacs'
6363- '';
6464-6565- configureFlags = [
6666- "LDFLAGS=-L${ncurses.out}/lib"
6767- "--with-xml2=yes"
6868- "--with-gnutls=yes"
6969- "--with-mac"
7070- "--with-modules"
7171- "--enable-mac-app=$$out/Applications"
7272- ];
7373-7474- CFLAGS = "-O3";
7575- LDFLAGS = "-O3 -L${ncurses.out}/lib";
7676-7777- postInstall = ''
7878- mkdir -p $out/share/emacs/site-lisp/
7979- cp ${./site-start.el} $out/share/emacs/site-lisp/site-start.el
8080- '';
8181-8282- # fails with:
8383-8484- # Ran 3870 tests, 3759 results as expected, 6 unexpected, 105 skipped
8585- # 5 files contained unexpected results:
8686- # lisp/url/url-handlers-test.log
8787- # lisp/simple-tests.log
8888- # lisp/files-x-tests.log
8989- # lisp/cedet/srecode-utest-template.log
9090- # lisp/net/tramp-tests.log
9191- doCheck = false;
9292-9393- meta = with lib; {
9494- description = "The extensible, customizable text editor";
9595- homepage = "https://www.gnu.org/software/emacs/";
9696- license = licenses.gpl3Plus;
9797- maintainers = with maintainers; [ jwiegley matthewbauer ];
9898- platforms = platforms.darwin;
9999-100100- longDescription = ''
101101- GNU Emacs is an extensible, customizable text editor—and more. At its
102102- core is an interpreter for Emacs Lisp, a dialect of the Lisp
103103- programming language with extensions to support text editing.
104104-105105- The features of GNU Emacs include: content-sensitive editing modes,
106106- including syntax coloring, for a wide variety of file types including
107107- plain text, source code, and HTML; complete built-in documentation,
108108- including a tutorial for new users; full Unicode support for nearly all
109109- human languages and their scripts; highly customizable, using Emacs
110110- Lisp code or a graphical interface; a large number of extensions that
111111- add other functionality, including a project planner, mail and news
112112- reader, debugger interface, calendar, and more. Many of these
113113- extensions are distributed with GNU Emacs; others are available
114114- separately.
115115-116116- This is the "Mac port" addition to GNU Emacs. This provides a native
117117- GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later
118118- already contain the official GUI support via the NS (Cocoa) port for
119119- Mac OS X 10.4 and later. So if it is good enough for you, then you
120120- don't need to try this.
121121- '';
122122- };
11+import ./generic.nix rec {
22+ pname = "emacs-mac";
33+ version = "28.2";
44+ macportVersion = "emacs-${version}-mac-9.1";
55+ sha256 = "sha256-Ne2jQ2nVLNiQmnkkOXVc5AkLVkTpm8pFC7VNY2gQjPE=";
1236}
···9797 imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
9898 ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
9999 influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
100100+ itanium_demangler = itanium-demangler; # added 2022-1017
100101 jupyter_client = jupyter-client; # added 2021-10-15
101102 Keras = keras; # added 2021-11-25
102103 ldap = python-ldap; # added 2022-09-16