···703 <literal>skip-kernel-setup true</literal> and takes care of setting forwarding and rp_filter sysctls by itself as well
704 as for each interface in <varname>services.babeld.interfaces</varname>.
705 </para>
000000706 </listitem>
707 </itemizedlist>
708 </section>
···703 <literal>skip-kernel-setup true</literal> and takes care of setting forwarding and rp_filter sysctls by itself as well
704 as for each interface in <varname>services.babeld.interfaces</varname>.
705 </para>
706+ </listitem>
707+ <listitem>
708+ <para>
709+ The <option>services.zigbee2mqtt.config</option> option has been renamed to <option>services.zigbee2mqtt.settings</option> and
710+ now follows <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">RFC 0042</link>.
711+ </para>
712 </listitem>
713 </itemizedlist>
714 </section>
···35 ''
36 #! ${pkgs.runtimeShell} -e
3700038 # Initialise the container side of the veth pair.
39 if [ -n "$HOST_ADDRESS" ] || [ -n "$HOST_ADDRESS6" ] ||
40 [ -n "$LOCAL_ADDRESS" ] || [ -n "$LOCAL_ADDRESS6" ] ||
···6061 ${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
6263- # Start the regular stage 1 script.
64- exec "$1"
000065 ''
66 );
67···127 ''}
128129 # Run systemd-nspawn without startup notification (we'll
130- # wait for the container systemd to signal readiness).
000131 exec ${config.systemd.package}/bin/systemd-nspawn \
132 --keep-unit \
133 -M "$INSTANCE" -D "$root" $extraFlags \
134 $EXTRA_NSPAWN_FLAGS \
135 --notify-ready=yes \
0136 --bind-ro=/nix/store \
137 --bind-ro=/nix/var/nix/db \
138 --bind-ro=/nix/var/nix/daemon-socket \
···259 Slice = "machine.slice";
260 Delegate = true;
261262- # Hack: we don't want to kill systemd-nspawn, since we call
263- # "machinectl poweroff" in preStop to shut down the
264- # container cleanly. But systemd requires sending a signal
265- # (at least if we want remaining processes to be killed
266- # after the timeout). So send an ignored signal.
267 KillMode = "mixed";
268- KillSignal = "WINCH";
269270 DevicePolicy = "closed";
271 DeviceAllow = map (d: "${d.node} ${d.modifier}") cfg.allowedDevices;
···746 script = startScript dummyConfig;
747748 postStart = postStartScript dummyConfig;
749-750- preStop = "machinectl poweroff $INSTANCE";
751752 restartIfChanged = false;
753
···35 ''
36 #! ${pkgs.runtimeShell} -e
3738+ # Exit early if we're asked to shut down.
39+ trap "exit 0" SIGRTMIN+3
40+41 # Initialise the container side of the veth pair.
42 if [ -n "$HOST_ADDRESS" ] || [ -n "$HOST_ADDRESS6" ] ||
43 [ -n "$LOCAL_ADDRESS" ] || [ -n "$LOCAL_ADDRESS6" ] ||
···6364 ${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
6566+ # Start the regular stage 2 script.
67+ # We source instead of exec to not lose an early stop signal, which is
68+ # also the only _reliable_ shutdown signal we have since early stop
69+ # does not execute ExecStop* commands.
70+ set +e
71+ . "$1"
72 ''
73 );
74···134 ''}
135136 # Run systemd-nspawn without startup notification (we'll
137+ # wait for the container systemd to signal readiness)
138+ # Kill signal handling means systemd-nspawn will pass a system-halt signal
139+ # to the container systemd when it receives SIGTERM for container shutdown;
140+ # containerInit and stage2 have to handle this as well.
141 exec ${config.systemd.package}/bin/systemd-nspawn \
142 --keep-unit \
143 -M "$INSTANCE" -D "$root" $extraFlags \
144 $EXTRA_NSPAWN_FLAGS \
145 --notify-ready=yes \
146+ --kill-signal=SIGRTMIN+3 \
147 --bind-ro=/nix/store \
148 --bind-ro=/nix/var/nix/db \
149 --bind-ro=/nix/var/nix/daemon-socket \
···270 Slice = "machine.slice";
271 Delegate = true;
272273+ # We rely on systemd-nspawn turning a SIGTERM to itself into a shutdown
274+ # signal (SIGRTMIN+3) for the inner container.
000275 KillMode = "mixed";
276+ KillSignal = "TERM";
277278 DevicePolicy = "closed";
279 DeviceAllow = map (d: "${d.node} ${d.modifier}") cfg.allowedDevices;
···754 script = startScript dummyConfig;
755756 postStart = postStartScript dummyConfig;
00757758 restartIfChanged = false;
759
+20
nixos/tests/containers-imperative.nix
···111 machine.succeed(f"nixos-container stop {id1}")
112 machine.succeed(f"nixos-container start {id1}")
11300000000000000000000114 with subtest("tmpfiles are present"):
115 machine.log("creating container tmpfiles")
116 machine.succeed(
···111 machine.succeed(f"nixos-container stop {id1}")
112 machine.succeed(f"nixos-container start {id1}")
113114+ # clear serial backlog for next tests
115+ machine.succeed("logger eat console backlog 3ea46eb2-7f82-4f70-b810-3f00e3dd4c4d")
116+ machine.wait_for_console_text(
117+ "eat console backlog 3ea46eb2-7f82-4f70-b810-3f00e3dd4c4d"
118+ )
119+120+ with subtest("Stop a container early"):
121+ machine.succeed(f"nixos-container stop {id1}")
122+ machine.succeed(f"nixos-container start {id1} &")
123+ machine.wait_for_console_text("Stage 2")
124+ machine.succeed(f"nixos-container stop {id1}")
125+ machine.wait_for_console_text(f"Container {id1} exited successfully")
126+ machine.succeed(f"nixos-container start {id1}")
127+128+ with subtest("Stop a container without machined (regression test for #109695)"):
129+ machine.systemctl("stop systemd-machined")
130+ machine.succeed(f"nixos-container stop {id1}")
131+ machine.wait_for_console_text(f"Container {id1} has been shut down")
132+ machine.succeed(f"nixos-container start {id1}")
133+134 with subtest("tmpfiles are present"):
135 machine.log("creating container tmpfiles")
136 machine.succeed(
···3, stdenv
4, fetchurl
5, fetchpatch
6-, libX11
7-, wxGTK
8-, libiconv
09, fontconfig
10, freetype
11-, libGLU
012, libGL
0013, libass
14-, fftw
15-, ffms
16-, ffmpeg_3
17, pkg-config
018, zlib
19-, icu
20-, boost
21-, intltool
2223, spellcheckSupport ? true
24, hunspell ? null
···46assert pulseaudioSupport -> (libpulseaudio != null);
47assert portaudioSupport -> (portaudio != null);
4849-with lib;
50-stdenv.mkDerivation
51- rec {
052 pname = "aegisub";
53 version = "3.2.2";
5455 src = fetchurl {
56 url = "http://ftp.aegisub.org/pub/releases/${pname}-${version}.tar.xz";
57- sha256 = "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5";
58 };
5960 patches = [
61 # Compatibility with ICU 59
62 (fetchpatch {
63 url = "https://github.com/Aegisub/Aegisub/commit/dd67db47cb2203e7a14058e52549721f6ff16a49.patch";
64- sha256 = "07qqlckiyy64lz8zk1as0vflk9kqnjb340420lp9f0xj93ncssj7";
65 })
6667 # Compatbility with Boost 1.69
68 (fetchpatch {
69 url = "https://github.com/Aegisub/Aegisub/commit/c3c446a8d6abc5127c9432387f50c5ad50012561.patch";
70- sha256 = "1n8wmjka480j43b1pr30i665z8hdy6n3wdiz1ls81wyv7ai5yygf";
71 })
7273 # Compatbility with make 4.3
74 (fetchpatch {
75 url = "https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39.patch";
76- sha256 = "1s9cc5rikrqb9ivjbag4b8yxcyjsmmmw744394d5xq8xi4k12vxc";
77 })
78 ];
7980 nativeBuildInputs = [
81- pkg-config
82 intltool
083 ];
84-85- buildInputs = with lib; [
86- libX11
87- wxGTK
088 fontconfig
89 freetype
90- libGLU
91 libGL
0092 libass
93- fftw
94- ffms
95- ffmpeg_3
96 zlib
97- icu
98- boost
99- libiconv
100 ]
101- ++ optional spellcheckSupport hunspell
102- ++ optional automationSupport lua
103- ++ optional openalSupport openal
104- ++ optional alsaSupport alsaLib
105- ++ optional pulseaudioSupport libpulseaudio
106- ++ optional portaudioSupport portaudio
107- ;
108109 enableParallelBuilding = true;
110111- hardeningDisable = [ "bindnow" "relro" ];
000112113- # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
0114 CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
115116 # this is fixed upstream though not yet in an officially released version,
···119120 postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
121122- meta = {
0123 description = "An advanced subtitle editor";
124 longDescription = ''
125 Aegisub is a free, cross-platform open source tool for creating and
···127 audio, and features many powerful tools for styling them, including a
128 built-in real-time video preview.
129 '';
130- homepage = "http://www.aegisub.org/";
131- # The Aegisub sources are itself BSD/ISC,
132- # but they are linked against GPL'd softwares
133- # - so the resulting program will be GPL
134 license = licenses.bsd3;
135 maintainers = [ maintainers.AndersonTorres ];
136 platforms = [ "i686-linux" "x86_64-linux" ];
137 };
138}
0
···3, stdenv
4, fetchurl
5, fetchpatch
6+, boost
7+, ffmpeg
8+, ffms
9+, fftw
10, fontconfig
11, freetype
12+, icu
13+, intltool
14, libGL
15+, libGLU
16+, libX11
17, libass
18+, libiconv
0019, pkg-config
20+, wxGTK
21, zlib
0002223, spellcheckSupport ? true
24, hunspell ? null
···46assert pulseaudioSupport -> (libpulseaudio != null);
47assert portaudioSupport -> (portaudio != null);
4849+let
50+ inherit (lib) optional;
51+in
52+stdenv.mkDerivation rec {
53 pname = "aegisub";
54 version = "3.2.2";
5556 src = fetchurl {
57 url = "http://ftp.aegisub.org/pub/releases/${pname}-${version}.tar.xz";
58+ hash = "sha256-xV4zlFuC2FE8AupueC8Ncscmrc03B+lbjAAi9hUeaIU=";
59 };
6061 patches = [
62 # Compatibility with ICU 59
63 (fetchpatch {
64 url = "https://github.com/Aegisub/Aegisub/commit/dd67db47cb2203e7a14058e52549721f6ff16a49.patch";
65+ sha256 = "sha256-R2rN7EiyA5cuBYIAMpa0eKZJ3QZahfnRp8R4HyejGB8=";
66 })
6768 # Compatbility with Boost 1.69
69 (fetchpatch {
70 url = "https://github.com/Aegisub/Aegisub/commit/c3c446a8d6abc5127c9432387f50c5ad50012561.patch";
71+ sha256 = "sha256-7nlfojrb84A0DT82PqzxDaJfjIlg5BvWIBIgoqasHNk=";
72 })
7374 # Compatbility with make 4.3
75 (fetchpatch {
76 url = "https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39.patch";
77+ sha256 = "sha256-rG8RJokd4V4aSYOQw2utWnrWPVrkqSV3TAvnGXNhLOk=";
78 })
79 ];
8081 nativeBuildInputs = [
082 intltool
83+ pkg-config
84 ];
85+ buildInputs = [
86+ boost
87+ ffmpeg
88+ ffms
89+ fftw
90 fontconfig
91 freetype
92+ icu
93 libGL
94+ libGLU
95+ libX11
96 libass
97+ libiconv
98+ wxGTK
099 zlib
000100 ]
101+ ++ optional alsaSupport alsaLib
102+ ++ optional automationSupport lua
103+ ++ optional openalSupport openal
104+ ++ optional portaudioSupport portaudio
105+ ++ optional pulseaudioSupport libpulseaudio
106+ ++ optional spellcheckSupport hunspell
107+ ;
108109 enableParallelBuilding = true;
110111+ hardeningDisable = [
112+ "bindnow"
113+ "relro"
114+ ];
115116+ # compat with icu61+
117+ # https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
118 CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
119120 # this is fixed upstream though not yet in an officially released version,
···123124 postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
125126+ meta = with lib; {
127+ homepage = "https://github.com/Aegisub/Aegisub";
128 description = "An advanced subtitle editor";
129 longDescription = ''
130 Aegisub is a free, cross-platform open source tool for creating and
···132 audio, and features many powerful tools for styling them, including a
133 built-in real-time video preview.
134 '';
135+ # The Aegisub sources are itself BSD/ISC, but they are linked against GPL'd
136+ # softwares - so the resulting program will be GPL
00137 license = licenses.bsd3;
138 maintainers = [ maintainers.AndersonTorres ];
139 platforms = [ "i686-linux" "x86_64-linux" ];
140 };
141}
142+# TODO [ AndersonTorres ]: update to fork release
+79-56
pkgs/applications/video/dvdstyler/default.nix
···1-{ lib, stdenv, fetchurl, pkg-config
2-, flex, bison, gettext
3-, xineUI, wxSVG
0000004, fontconfig
5-, xmlto, docbook5, zip
6-, cdrtools, dvdauthor, dvdplusrwtools
0000007, dvdisasterSupport ? true, dvdisaster ? null
8, thumbnailSupport ? true, libgnomeui ? null
9, udevSupport ? true, udev ? null
10, dbusSupport ? true, dbus ? null
11-, makeWrapper }:
1213-with lib;
14-stdenv.mkDerivation rec {
15-16 pname = "dvdstyler";
17- srcName = "DVDStyler-${version}";
18 version = "3.1.2";
1920 src = fetchurl {
21- url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2";
22 sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
23 };
2425- nativeBuildInputs =
26- [ pkg-config ];
27-28- packagesToBinPath =
29- [ cdrtools dvdauthor dvdplusrwtools ];
30-31- buildInputs =
32- [ flex bison gettext xineUI
33- wxSVG fontconfig xmlto
34- docbook5 zip makeWrapper ]
35- ++ packagesToBinPath
000000036 ++ optionals dvdisasterSupport [ dvdisaster ]
37 ++ optionals udevSupport [ udev ]
38 ++ optionals dbusSupport [ dbus ]
39 ++ optionals thumbnailSupport [ libgnomeui ];
4041- binPath = makeBinPath packagesToBinPath;
4243- postInstall = ''
44- wrapProgram $out/bin/dvdstyler \
45- --prefix PATH ":" "${binPath}"
46- '';
000004748 meta = with lib; {
049 description = "A DVD authoring software";
50 longDescription = ''
51- DVDStyler is a cross-platform free DVD authoring application for the
52- creation of professional-looking DVDs. It allows not only burning of video
53- files on DVD that can be played practically on any standalone DVD player,
54- but also creation of individually designed DVD menus. It is Open Source
55- Software and is completely free.
5657- Some of its features include:
58- - create and burn DVD video with interactive menus
59- - design your own DVD menu or select one from the list of ready to use menu
60- templates
61- - create photo slideshow
62- - add multiple subtitle and audio tracks
63- - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
64- - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
65- video formats
66- - support of multi-core processor
67- - use MPEG and VOB files without reencoding
68- - put files with different audio/video format on one DVD (support of
69- titleset)
70- - user-friendly interface with support of drag & drop
71- - flexible menu creation on the basis of scalable vector graphic
72- - import of image file for background
73- - place buttons, text, images and other graphic objects anywhere on the menu
74- screen
75- - change the font/color and other parameters of buttons and graphic objects
76- - scale any button or graphic object
77- - copy any menu object or whole menu
78- - customize navigation using DVD scripting
079 '';
80- homepage = "http://www.dvdstyler.org/";
81- license = with licenses; gpl2;
82 maintainers = with maintainers; [ AndersonTorres ];
83 platforms = with platforms; linux;
84 };
···1+{ lib
2+, stdenv
3+, fetchurl
4+, bison
5+, cdrtools
6+, docbook5
7+, dvdauthor
8+, dvdplusrwtools
9+, flex
10, fontconfig
11+, gettext
12+, makeWrapper
13+, pkg-config
14+, wxSVG
15+, xine-ui
16+, xmlto
17+, zip
18+19, dvdisasterSupport ? true, dvdisaster ? null
20, thumbnailSupport ? true, libgnomeui ? null
21, udevSupport ? true, udev ? null
22, dbusSupport ? true, dbus ? null
23+}:
2425+let
26+ inherit (lib) optionals makeBinPath;
27+in stdenv.mkDerivation rec {
28 pname = "dvdstyler";
029 version = "3.1.2";
3031 src = fetchurl {
32+ url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
33 sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
34 };
3536+ nativeBuildInputs = [
37+ pkg-config
38+ ];
39+ buildInputs = [
40+ bison
41+ cdrtools
42+ docbook5
43+ dvdauthor
44+ dvdplusrwtools
45+ flex
46+ fontconfig
47+ gettext
48+ makeWrapper
49+ wxSVG
50+ xine-ui
51+ xmlto
52+ zip
53+ ]
54 ++ optionals dvdisasterSupport [ dvdisaster ]
55 ++ optionals udevSupport [ udev ]
56 ++ optionals dbusSupport [ dbus ]
57 ++ optionals thumbnailSupport [ libgnomeui ];
5805960+ postInstall = let
61+ binPath = makeBinPath [
62+ cdrtools
63+ dvdauthor
64+ dvdplusrwtools
65+ ]; in
66+ ''
67+ wrapProgram $out/bin/dvdstyler --prefix PATH ":" "${binPath}"
68+ '';
6970 meta = with lib; {
71+ homepage = "https://www.dvdstyler.org/";
72 description = "A DVD authoring software";
73 longDescription = ''
74+ DVDStyler is a cross-platform free DVD authoring application for the
75+ creation of professional-looking DVDs. It allows not only burning of video
76+ files on DVD that can be played practically on any standalone DVD player,
77+ but also creation of individually designed DVD menus. It is Open Source
78+ Software and is completely free.
7980+ Some of its features include:
81+82+ - create and burn DVD video with interactive menus
83+ - design your own DVD menu or select one from the list of ready to use menu
84+ templates
85+ - create photo slideshow
86+ - add multiple subtitle and audio tracks
87+ - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
88+ - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
89+ video formats
90+ - support of multi-core processor
91+ - use MPEG and VOB files without reencoding
92+ - put files with different audio/video format on one DVD (support of
93+ titleset)
94+ - user-friendly interface with support of drag & drop
95+ - flexible menu creation on the basis of scalable vector graphic
96+ - import of image file for background
97+ - place buttons, text, images and other graphic objects anywhere on the menu
98+ screen
99+ - change the font/color and other parameters of buttons and graphic objects
100+ - scale any button or graphic object
101+ - copy any menu object or whole menu
102+ - customize navigation using DVD scripting
103 '';
104+ license = licenses.gpl2Plus;
0105 maintainers = with maintainers; [ AndersonTorres ];
106 platforms = with platforms; linux;
107 };
···34 export PYARROW_PARALLEL=$NIX_BUILD_CORES
35 '';
3637- # Deselect a single test because pyarrow prints a 2-line error message where
38- # only a single line is expected. The additional line of output comes from
39- # the glog library which is an optional dependency of arrow-cpp that is
40- # enabled in nixpkgs.
41- # Upstream Issue: https://issues.apache.org/jira/browse/ARROW-11393
42- pytestFlagsArray = [ "--deselect=pyarrow/tests/test_memory.py::test_env_var" ];
000004344 dontUseSetuptoolsCheck = true;
45 preCheck = ''
···34 export PYARROW_PARALLEL=$NIX_BUILD_CORES
35 '';
3637+ pytestFlagsArray = [
38+ # Deselect a single test because pyarrow prints a 2-line error message where
39+ # only a single line is expected. The additional line of output comes from
40+ # the glog library which is an optional dependency of arrow-cpp that is
41+ # enabled in nixpkgs.
42+ # Upstream Issue: https://issues.apache.org/jira/browse/ARROW-11393
43+ "--deselect=pyarrow/tests/test_memory.py::test_env_var"
44+ # Deselect the parquet dataset write test because it erroneously fails to find the
45+ # pyarrow._dataset module.
46+ "--deselect=pyarrow/tests/parquet/test_dataset.py::test_write_to_dataset_filesystem"
47+ ];
4849 dontUseSetuptoolsCheck = true;
50 preCheck = ''
···1-{ lib, stdenv, fetchFromGitHub, makeDesktopItem, wrapQtAppsHook, pkg-config
2-, cmake, epoxy, libzip, libelf, libedit, ffmpeg_3, SDL2, imagemagick
3-, qtbase, qtmultimedia, qttools, minizip }:
000000000000000045let
6 desktopItem = makeDesktopItem {
···21 owner = "mgba-emu";
22 repo = "mgba";
23 rev = version;
24- sha256 = "sha256-JVauGyHJVfiXVG4Z+Ydh1lRypy5rk9SKeTbeHFNFYJs=";
25 };
2627- nativeBuildInputs = [ wrapQtAppsHook pkg-config cmake ];
28-00029 buildInputs = [
30- epoxy libzip libelf libedit ffmpeg_3 SDL2 imagemagick
31- qtbase qtmultimedia qttools minizip
00000000032 ];
3334 postInstall = ''
···38 meta = with lib; {
39 homepage = "https://mgba.io";
40 description = "A modern GBA emulator with a focus on accuracy";
41-42 longDescription = ''
43 mGBA is a new Game Boy Advance emulator written in C.
4445- The project started in April 2013 with the goal of being fast
46- enough to run on lower end hardware than other emulators
47- support, without sacrificing accuracy or portability. Even in
48- the initial version, games generally play without problems. It
49- is loosely based on the previous GBA.js emulator, although very
50- little of GBA.js can still be seen in mGBA.
5152- Other goals include accurate enough emulation to provide a
53- development environment for homebrew software, a good workflow
54- for tool-assist runners, and a modern feature set for emulators
55- that older emulators may not support.
56 '';
5758 license = licenses.mpl20;
···60 platforms = platforms.linux;
61 };
62}
0
···1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, SDL2
5+, cmake
6+, epoxy
7+, ffmpeg
8+, imagemagick
9+, libedit
10+, libelf
11+, libzip
12+, makeDesktopItem
13+, minizip
14+, pkg-config
15+, qtbase
16+, qtmultimedia
17+, qttools
18+, wrapQtAppsHook
19+}:
2021let
22 desktopItem = makeDesktopItem {
···37 owner = "mgba-emu";
38 repo = "mgba";
39 rev = version;
40+ hash = "sha256-JVauGyHJVfiXVG4Z+Ydh1lRypy5rk9SKeTbeHFNFYJs=";
41 };
4243+ nativeBuildInputs = [
44+ cmake
45+ pkg-config
46+ wrapQtAppsHook
47+ ];
48 buildInputs = [
49+ SDL2
50+ epoxy
51+ ffmpeg
52+ imagemagick
53+ libedit
54+ libelf
55+ libzip
56+ minizip
57+ qtbase
58+ qtmultimedia
59+ qttools
60 ];
6162 postInstall = ''
···66 meta = with lib; {
67 homepage = "https://mgba.io";
68 description = "A modern GBA emulator with a focus on accuracy";
069 longDescription = ''
70 mGBA is a new Game Boy Advance emulator written in C.
7172+ The project started in April 2013 with the goal of being fast enough to
73+ run on lower end hardware than other emulators support, without
74+ sacrificing accuracy or portability. Even in the initial version, games
75+ generally play without problems. It is loosely based on the previous
76+ GBA.js emulator, although very little of GBA.js can still be seen in mGBA.
07778+ Other goals include accurate enough emulation to provide a development
79+ environment for homebrew software, a good workflow for tool-assist
80+ runners, and a modern feature set for emulators that older emulators may
81+ not support.
82 '';
8384 license = licenses.mpl20;
···86 platforms = platforms.linux;
87 };
88}
89+# TODO [ AndersonTorres ]: use desktopItem functions
···17 sha256 = "sha256-nH2xAqWfMT+Brv3z9Aw6nbvYqArEZjpM28rKsRPihqA=";
18 };
1920- # by default, tries to install scripts/pimport, which is a bash wrapper around "python -m pass_import ..."
21- # This is a better way to do the same, and takes advantage of the existing Nix python environments
22 patches = [
000000023 # from https://github.com/roddhjav/pass-import/pull/138
24 (fetchpatch {
25 name = "pass-import-pr-138-pimport-entrypoint.patch";
···17 sha256 = "sha256-nH2xAqWfMT+Brv3z9Aw6nbvYqArEZjpM28rKsRPihqA=";
18 };
190020 patches = [
21+ (fetchpatch {
22+ name = "support-for-keepass-4.0.0.patch";
23+ url = "https://github.com/roddhjav/pass-import/commit/86cfb1bb13a271fefe1e70f24be18e15a83a04d8.patch";
24+ sha256 = "0mrlblqlmwl9gqs2id4rl4sivrcclsv6zyc6vjqi78kkqmnwzhxh";
25+ })
26+ # by default, tries to install scripts/pimport, which is a bash wrapper around "python -m pass_import ..."
27+ # This is a better way to do the same, and takes advantage of the existing Nix python environments
28 # from https://github.com/roddhjav/pass-import/pull/138
29 (fetchpatch {
30 name = "pass-import-pr-138-pimport-entrypoint.patch";
+3-3
pkgs/tools/system/logcheck/default.nix
···23stdenv.mkDerivation rec {
4 pname = "logcheck";
5- version = "1.3.22";
6 _name = "logcheck_${version}";
78 src = fetchurl {
9 url = "mirror://debian/pool/main/l/logcheck/${_name}.tar.xz";
10- sha256 = "sha256-e7XeRNlFsexlVskK2OnLTmNV/ES2xWU+/+AElexV6E4=";
11 };
1213 prePatch = ''
···42 Logcheck was part of the Abacus Project of security tools, but this version has been rewritten.
43 '';
44 homepage = "https://salsa.debian.org/debian/logcheck";
45- license = licenses.gpl2;
46 maintainers = [ maintainers.bluescreen303 ];
47 };
48}
···23stdenv.mkDerivation rec {
4 pname = "logcheck";
5+ version = "1.3.23";
6 _name = "logcheck_${version}";
78 src = fetchurl {
9 url = "mirror://debian/pool/main/l/logcheck/${_name}.tar.xz";
10+ sha256 = "sha256-ohiLpUn/9EEsggdLJxiE/2bSXz/bKkGRboF85naFWyk=";
11 };
1213 prePatch = ''
···42 Logcheck was part of the Abacus Project of security tools, but this version has been rewritten.
43 '';
44 homepage = "https://salsa.debian.org/debian/logcheck";
45+ license = licenses.gpl2Plus;
46 maintainers = [ maintainers.bluescreen303 ];
47 };
48}
+2
pkgs/top-level/aliases.nix
···853 xbmcPlain = kodiPlain; # added 2018-04-25
854 xbmcPlugins = kodiPackages; # added 2018-04-25
855 kodiPlugins = kodiPackages; # added 2021-03-09;
00856 xmonad_log_applet_gnome3 = xmonad_log_applet; # added 2018-05-01
857 xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
858 pyIRCt = throw "pyIRCt has been removed from nixpkgs as it is unmaintained and python2-only";
···853 xbmcPlain = kodiPlain; # added 2018-04-25
854 xbmcPlugins = kodiPackages; # added 2018-04-25
855 kodiPlugins = kodiPackages; # added 2021-03-09;
856+ xineLib = xine-lib; # added 2021-04-27
857+ xineUI = xine-ui; # added 2021-04-27
858 xmonad_log_applet_gnome3 = xmonad_log_applet; # added 2018-05-01
859 xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
860 pyIRCt = throw "pyIRCt has been removed from nixpkgs as it is unmaintained and python2-only";