···246247### Stable release branches {#submitting-changes-stable-release-branches}
248249-For cherry-picking a commit to a stable release branch (“backporting”), use `git cherry-pick -x <original commit>` so that the original commit id is included in the commit.
250251-Add a reason for the backport by using `git cherry-pick -xe <original commit>` instead when it is not obvious from the original commit message. It is not needed when it's a minor version update that includes security and bug fixes but don't add new features or when the commit fixes an otherwise broken package.
252253-For backporting Pull Requests to stable branches, assign label `backport <branch>` to the original Pull Requests and automation should take care of the rest once the Pull Requests is merged.
0000000000254255Here is an example of a cherry-picked commit message with good reason description:
256
···246247### Stable release branches {#submitting-changes-stable-release-branches}
248249+The same staging workflow applies to stable release branches, but the main branch is called `release-*` instead of `master`.
250251+Example branch names: `release-21.11`, `staging-21.11`, `staging-next-21.11`.
252253+Most changes added to the stable release branches are cherry-picked (“backported”) from the `master` and staging branches.
254+255+#### Automatically backporting a Pull Request {#submitting-changes-stable-release-branches-automatic-backports}
256+257+Assign label `backport <branch>` (e.g. `backport release-21.11`) to the PR and a backport PR is automatically created after the PR is merged.
258+259+#### Manually backporting changes {#submitting-changes-stable-release-branches-manual-backports}
260+261+Cherry-pick changes via `git cherry-pick -x <original commit>` so that the original commit id is included in the commit message.
262+263+Add a reason for the backport when it is not obvious from the original commit message. You can do this by cherry picking with `git cherry-pick -xe <original commit>`, which allows editing the commit message. This is not needed for minor version updates that include security and bug fixes but don't add new features or when the commit fixes an otherwise broken package.
264265Here is an example of a cherry-picked commit message with good reason description:
266
···105 </listitem>
106 <listitem>
107 <para>
000000108 The <literal>wafHook</literal> hook now honors
109 <literal>NIX_BUILD_CORES</literal> when
110 <literal>enableParallelBuilding</literal> is not set
···161 benefit to reduce the closure size of
162 <literal>ipython</literal> from ~400MB to ~160MB (including
163 ~100MB for python itself).
00000000000000164 </para>
165 </listitem>
166 <listitem>
···105 </listitem>
106 <listitem>
107 <para>
108+ <literal>services.kubernetes.addons.dashboard</literal> was
109+ removed due to it being an outdated version.
110+ </para>
111+ </listitem>
112+ <listitem>
113+ <para>
114 The <literal>wafHook</literal> hook now honors
115 <literal>NIX_BUILD_CORES</literal> when
116 <literal>enableParallelBuilding</literal> is not set
···167 benefit to reduce the closure size of
168 <literal>ipython</literal> from ~400MB to ~160MB (including
169 ~100MB for python itself).
170+ </para>
171+ </listitem>
172+ <listitem>
173+ <para>
174+ <literal>documentation.man</literal> has been refactored to
175+ support choosing a man implementation other than GNU’s
176+ <literal>man-db</literal>. For this,
177+ <literal>documentation.man.manualPages</literal> has been
178+ renamed to
179+ <literal>documentation.man.man-db.manualPages</literal>. If
180+ you want to use the new alternative man implementation
181+ <literal>mandoc</literal>, add
182+ <literal>documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }</literal>
183+ to your configuration.
184 </para>
185 </listitem>
186 <listitem>
+4
nixos/doc/manual/release-notes/rl-2205.section.md
···41 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and
42 `pkgs.emacsPackages.nongnuPackages` where the new versions will release.
430044- The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`.
4546- `pkgs.claws-mail-gtk2`, representing Claws Mail's older release version three, was removed in order to get rid of Python 2.
···59 This is closer to a non-Nix install of ipython.
60 This has the added benefit to reduce the closure size of `ipython` from ~400MB to ~160MB
61 (including ~100MB for python itself).
006263- The iputils package, which is installed by default, no longer provides the
64 legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
···41 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and
42 `pkgs.emacsPackages.nongnuPackages` where the new versions will release.
4344+- `services.kubernetes.addons.dashboard` was removed due to it being an outdated version.
45+46- The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`.
4748- `pkgs.claws-mail-gtk2`, representing Claws Mail's older release version three, was removed in order to get rid of Python 2.
···61 This is closer to a non-Nix install of ipython.
62 This has the added benefit to reduce the closure size of `ipython` from ~400MB to ~160MB
63 (including ~100MB for python itself).
64+65+- `documentation.man` has been refactored to support choosing a man implementation other than GNU's `man-db`. For this, `documentation.man.manualPages` has been renamed to `documentation.man.man-db.manualPages`. If you want to use the new alternative man implementation `mandoc`, add `documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }` to your configuration.
6667- The iputils package, which is installed by default, no longer provides the
68 legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
+27-48
nixos/modules/misc/documentation.nix
···74 ];
75 };
7677- # list of man outputs currently active intended for use as default values
78- # for man-related options, thus "man" is included unconditionally.
79- activeManOutputs = [ "man" ] ++ lib.optionals cfg.dev.enable [ "devman" ];
80-81in
8283{
···107 type = types.bool;
108 default = true;
109 description = ''
110- Whether to install manual pages and the <command>man</command> command.
111- This also includes "man" outputs.
112 '';
113 };
114···116 type = types.bool;
117 default = false;
118 description = ''
119- Whether to generate the manual page index caches using
120- <literal>mandb(8)</literal>. This allows searching for a page or
121- keyword using utilities like <literal>apropos(1)</literal>.
122- '';
123- };
124-125- man.manualPages = mkOption {
126- type = types.path;
127- default = pkgs.buildEnv {
128- name = "man-paths";
129- paths = config.environment.systemPackages;
130- pathsToLink = [ "/share/man" ];
131- extraOutputsToInstall = activeManOutputs;
132- ignoreCollisions = true;
133- };
134- defaultText = literalDocBook "all man pages in <option>config.environment.systemPackages</option>";
135- description = ''
136- The manual pages to generate caches for if <option>generateCaches</option>
137- is enabled. Must be a path to a directory with man pages under
138- <literal>/share/man</literal>; see the source for an example.
139- Advanced users can make this a content-addressed derivation to save a few rebuilds.
140 '';
141 };
142···220 };
221222 config = mkIf cfg.enable (mkMerge [
000000000022300224 (mkIf cfg.man.enable {
225- environment.systemPackages = [ pkgs.man-db ];
226 environment.pathsToLink = [ "/share/man" ];
227- environment.extraOutputsToInstall = activeManOutputs;
228- environment.etc."man_db.conf".text =
229- let
230- manualCache = pkgs.runCommandLocal "man-cache" { } ''
231- echo "MANDB_MAP ${cfg.man.manualPages}/share/man $out" > man.conf
232- ${pkgs.man-db}/bin/mandb -C man.conf -psc >/dev/null 2>&1
233- '';
234- in
235- ''
236- # Manual pages paths for NixOS
237- MANPATH_MAP /run/current-system/sw/bin /run/current-system/sw/share/man
238- MANPATH_MAP /run/wrappers/bin /run/current-system/sw/share/man
239-240- ${optionalString cfg.man.generateCaches ''
241- # Generated manual pages cache for NixOS (immutable)
242- MANDB_MAP /run/current-system/sw/share/man ${manualCache}
243- ''}
244- # Manual pages caches for NixOS
245- MANDB_MAP /run/current-system/sw/share/man /var/cache/man/nixos
246- '';
247 })
248249 (mkIf cfg.info.enable {
···74 ];
75 };
76000077in
7879{
···103 type = types.bool;
104 default = true;
105 description = ''
106+ Whether to install manual pages.
107+ This also includes <literal>man</literal> outputs.
108 '';
109 };
110···112 type = types.bool;
113 default = false;
114 description = ''
115+ Whether to generate the manual page index caches.
116+ This allows searching for a page or
117+ keyword using utilities like
118+ <citerefentry>
119+ <refentrytitle>apropos</refentrytitle>
120+ <manvolnum>1</manvolnum>
121+ </citerefentry>
122+ and the <literal>-k</literal> option of
123+ <citerefentry>
124+ <refentrytitle>man</refentrytitle>
125+ <manvolnum>1</manvolnum>
126+ </citerefentry>.
000000000127 '';
128 };
129···207 };
208209 config = mkIf cfg.enable (mkMerge [
210+ {
211+ assertions = [
212+ {
213+ assertion = !(cfg.man.man-db.enable && cfg.man.mandoc.enable);
214+ message = ''
215+ man-db and mandoc can't be used as the default man page viewer at the same time!
216+ '';
217+ }
218+ ];
219+ }
220221+ # The actual implementation for this lives in man-db.nix or mandoc.nix,
222+ # depending on which backend is active.
223 (mkIf cfg.man.enable {
0224 environment.pathsToLink = [ "/share/man" ];
225+ environment.extraOutputsToInstall = [ "man" ] ++ optional cfg.dev.enable "devman";
0000000000000000000226 })
227228 (mkIf cfg.info.enable {
···297 cp -u --no-preserve=mode,owner "$TBB_IN_STORE/TorBrowser/Data/Browser/profile.default/bookmarks.html" \
298 "\$HOME/TorBrowser/Data/Browser/profile.default/bookmarks.html"
299300- # Clear out some files that tend to capture store references but are
301- # easily generated by firefox at startup.
302- rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{addonStartup.json.lz4,compatibility.ini,extensions.ini,extensions.json}
303- rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/startupCache/*
0000000304305 # XDG
306 : "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}"
···297 cp -u --no-preserve=mode,owner "$TBB_IN_STORE/TorBrowser/Data/Browser/profile.default/bookmarks.html" \
298 "\$HOME/TorBrowser/Data/Browser/profile.default/bookmarks.html"
299300+ # Clear some files if the last known store path is different from the new one
301+ : "\''${KNOWN_STORE_PATH:=\$HOME/known-store-path}"
302+ if ! [ "\$KNOWN_STORE_PATH" -ef $out ]; then
303+ echo "Cleanup files with outdated store references"
304+ ln -Tsf $out "\$KNOWN_STORE_PATH"
305+306+ # Clear out some files that tend to capture store references but are
307+ # easily generated by firefox at startup.
308+ rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{addonStartup.json.lz4,compatibility.ini,extensions.ini,extensions.json}
309+ rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/startupCache/*
310+ fi
311312 # XDG
313 : "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}"
···5 /* Do not use "dev" as a version. If you do, Tilt will consider itself
6 running in development environment and try to serve assets from the
7 source tree, which is not there once build completes. */
8- version = "0.23.3";
910 src = fetchFromGitHub {
11 owner = "tilt-dev";
12 repo = pname;
13 rev = "v${version}";
14- sha256 = "sha256:1612yrlsajl1j95zh057k82nzz492a9p1cgamph4m84zpm0v67jc";
15 };
16 vendorSha256 = null;
17
···5 /* Do not use "dev" as a version. If you do, Tilt will consider itself
6 running in development environment and try to serve assets from the
7 source tree, which is not there once build completes. */
8+ version = "0.23.4";
910 src = fetchFromGitHub {
11 owner = "tilt-dev";
12 repo = pname;
13 rev = "v${version}";
14+ sha256 = "sha256-SWofXsbkuirPvqgU639W8IQklafLKbThoZUzOzfYwdQ=";
15 };
16 vendorSha256 = null;
17
···78 # Please keep the version x.y.0.z and do not update to x.y.76.z because the
9 # source of the latter disappears much faster.
10- version = "8.79.0.92";
1112 rpath = lib.makeLibraryPath [
13 alsa-lib
···69 "https://mirror.cs.uchicago.edu/skype/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
70 "https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
71 ];
72- sha256 = "sha256-wGt0zNBmJf5NJGGOopWNUoBoy8sr4jWp8UKLd8AudnM=";
73 }
74 else
75 throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
···78 # Please keep the version x.y.0.z and do not update to x.y.76.z because the
9 # source of the latter disappears much faster.
10+ version = "8.79.0.95";
1112 rpath = lib.makeLibraryPath [
13 alsa-lib
···69 "https://mirror.cs.uchicago.edu/skype/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
70 "https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
71 ];
72+ sha256 = "sha256-a6ZtgA0cMAuNVQWAeiIDJ2noPhXjV8KPE8ibkGR7Dns=";
73 }
74 else
75 throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
···47 };
4849 patches = [
000050 # add aarch64 support to cpu-check.m4. copied from redhat.
51 ./redhat-aarch64.patch
52-53- # vspace causes hangs in modstd and other libraries on aarch64
54- ./disable-vspace-on-aarch64.patch
5556 # the newest version of ax-prog-cc-for-build.m4 seems to trigger
57 # linker errors. see
···47 };
4849 patches = [
50+ # fix timeouts when docbuilding with >= 64 cpus
51+ # https://github.com/Singular/Singular/issues/1117
52+ ./vspace-MAX_PROCESS.patch
53+54 # add aarch64 support to cpu-check.m4. copied from redhat.
55 ./redhat-aarch64.patch
0005657 # the newest version of ax-prog-cc-for-build.m4 seems to trigger
58 # linker errors. see
···1+diff --git a/kernel/GBEngine/kChinese.cc b/kernel/GBEngine/kChinese.cc
2+index 829a66609..84655caf2 100644
3+--- a/kernel/GBEngine/kChinese.cc
4++++ b/kernel/GBEngine/kChinese.cc
5+@@ -209,6 +209,8 @@ ideal id_ChineseRemainder_0(ideal *xx, number *q, int rl, const ring r)
6+ return NULL;
7+ }
8+ int cpus=(int)(long)feOptValue(FE_OPT_CPUS);
9++ if (cpus>=vspace::internals::MAX_PROCESS)
10++ cpus=vspace::internals::MAX_PROCESS-1;
11+ if ((cpus==1) || (2*cpus>=cnt))
12+ /* at least 2 polys for each process, or switch to seriell version */
13+ return id_ChineseRemainder(xx,q,rl,r);
14+@@ -295,6 +297,8 @@ ideal id_Farey_0(ideal x, number N, const ring r)
15+ {
16+ int cnt=IDELEMS(x)*x->nrows;
17+ int cpus=(int)(long)feOptValue(FE_OPT_CPUS);
18++ if (cpus>=vspace::internals::MAX_PROCESS)
19++ cpus=vspace::internals::MAX_PROCESS-1;
20+ if (2*cpus>=cnt) /* at least 2 polys for each process,
21+ or switch to seriell version */
22+ return id_Farey(x,N,r);
23+diff --git a/kernel/GBEngine/kverify.cc b/kernel/GBEngine/kverify.cc
24+index 909d84994..aa06d6624 100644
25+--- a/kernel/GBEngine/kverify.cc
26++++ b/kernel/GBEngine/kverify.cc
27+@@ -176,6 +176,8 @@ BOOLEAN kVerify2(ideal F, ideal Q)
28+ /*---------------------------------------------------------------------*/
29+ BOOLEAN all_okay=TRUE;
30+ int cpus=(int)(long)feOptValue(FE_OPT_CPUS);
31++ if (cpus>=vspace::internals::MAX_PROCESS)
32++ cpus=vspace::internals::MAX_PROCESS-1;
33+ int parent_pid=getpid();
34+ using namespace vspace;
35+ vmem_init();
···1-diff --git a/xtmpl_js.ml b/xtmpl_js.ml
2-index e0d3894..991d1b3 100644
3---- a/xtmpl_js.ml
4-+++ b/xtmpl_js.ml
5-@@ -25,6 +25,8 @@
6-7- (** *)
8-9-+open Js_of_ocaml
10-+
11- let log s = Firebug.console##log (Js.string s);;
12-13- module X = Xtmpl_rewrite
14-diff --git a/xtmpl_js.mli b/xtmpl_js.mli
15-index d709896..5ed471c 100644
16---- a/xtmpl_js.mli
17-+++ b/xtmpl_js.mli
18-@@ -25,6 +25,8 @@
19-20- (** Convenient functions to use in JS code *)
21-22-+open Js_of_ocaml
23-+
24- (** Create a new tree of DOM nodes from a given XML tree.
25- Errors are logged to the firebug console.
26- @param doc Default is [Dom_html.document].
···23stdenv.mkDerivation rec {
4 pname = "epson-inkjet-printer-escpr2";
5- version = "1.1.42";
67 src = fetchurl {
8 # To find new versions, visit
9 # http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
10 # some printer like for instance "WF-7210" to get to the most recent
11 # version.
12- # NOTE: Don't forget to update the webarchive link too!
13- urls = [
14- "https://download3.ebz.epson.net/dsc/f/03/00/13/07/72/df79cc238a167b9526f70cc123459c6bbe1edbad/epson-inkjet-printer-escpr2-1.1.42-1lsb3.2.src.rpm"
15- "https://web.archive.org/web/20211029093638/https://download3.ebz.epson.net/dsc/f/03/00/13/07/72/df79cc238a167b9526f70cc123459c6bbe1edbad/epson-inkjet-printer-escpr2-1.1.42-1lsb3.2.src.rpm"
16- ];
17- sha256 = "sha256-CsZUurwwoXNWONZKAIkRd0ztmAr5wLWZhirCzJWWqMA=";
18 };
1920 unpackPhase = ''
···23stdenv.mkDerivation rec {
4 pname = "epson-inkjet-printer-escpr2";
5+ version = "1.1.45";
67 src = fetchurl {
8 # To find new versions, visit
9 # http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
10 # some printer like for instance "WF-7210" to get to the most recent
11 # version.
12+ url = "https://download3.ebz.epson.net/dsc/f/03/00/13/38/11/01e244e8529c5cbcec8d39220a9512d5e6c08eec/epson-inkjet-printer-escpr2-1.1.45-1lsb3.2.src.rpm";
13+ sha256 = "sha256-MZXn1fsD3D6W5vlX+NwRkwLtaBRqQwe9lwnJC2L9Lfk=";
000014 };
1516 unpackPhase = ''
+7-1
pkgs/misc/vim-plugins/overrides.nix
···307308 # plenary-nvim = super.toVimPlugin(luaPackages.plenary-nvim);
3090000000310 gruvbox-nvim = super.gruvbox-nvim.overrideAttrs (old: {
311 dependencies = with self; [ lush-nvim ];
312 });
···538 statix = buildVimPluginFrom2Nix rec {
539 inherit (statix) pname src meta;
540 version = "0.1.0";
541- dependencies = with self; [ statix ];
542 postPatch = ''
543 # check that version is up to date
544 grep 'pname = "statix-vim"' -A 1 flake.nix \
···307308 # plenary-nvim = super.toVimPlugin(luaPackages.plenary-nvim);
309310+ plenary-nvim = super.plenary-nvim.overrideAttrs (old: {
311+ postPatch = ''
312+ sed -Ei lua/plenary/curl.lua \
313+ -e 's@(command\s*=\s*")curl(")@\1${curl}/bin/curl\2@'
314+ '';
315+ });
316+317 gruvbox-nvim = super.gruvbox-nvim.overrideAttrs (old: {
318 dependencies = with self; [ lush-nvim ];
319 });
···545 statix = buildVimPluginFrom2Nix rec {
546 inherit (statix) pname src meta;
547 version = "0.1.0";
0548 postPatch = ''
549 # check that version is up to date
550 grep 'pname = "statix-vim"' -A 1 flake.nix \
···3738 patches = [ ./0001-Re-add-entrypoint.patch ];
39 postPatch = ''
40- sed -i -e '/alembic>/d' requirements.txt
41 substituteInPlace requirements.txt \
42 --replace "telethon>=1.22,<1.23" "telethon"
43 '';
···63 pycryptodome
64 unpaddedbase64
65 ]) ++ dbDrivers;
66-67- # `alembic` (a database migration tool) is only needed for the initial setup,
68- # and not needed during the actual runtime. However `alembic` requires `mautrix-telegram`
69- # in its environment to create a database schema from all models.
70- #
71- # Hence we need to patch away `alembic` from `mautrix-telegram` and create an `alembic`
72- # which has `mautrix-telegram` in its environment.
73- passthru.alembic = python.pkgs.alembic.overrideAttrs (old: {
74- propagatedBuildInputs = old.propagatedBuildInputs ++ dbDrivers ++ [
75- mautrix-telegram
76- ];
77- });
7879 # Tests are broken and throw the following for every test:
80 # TypeError: 'Mock' object is not subscriptable
···3738 patches = [ ./0001-Re-add-entrypoint.patch ];
39 postPatch = ''
040 substituteInPlace requirements.txt \
41 --replace "telethon>=1.22,<1.23" "telethon"
42 '';
···62 pycryptodome
63 unpaddedbase64
64 ]) ++ dbDrivers;
0000000000006566 # Tests are broken and throw the following for every test:
67 # TypeError: 'Mock' object is not subscriptable
···1-{ lib, stdenv, fetchurl, zlib, perl }:
23let
4 # check if we can execute binaries for the host platform on the build platform
···61 checkTarget = "regress";
62 checkInputs = [ perl ];
63 preCheck = "patchShebangs --build regress/regress.pl";
00006465 meta = with lib; {
66 homepage = "https://mandoc.bsd.lv/";
···1+{ lib, stdenv, fetchurl, zlib, perl, nixosTests }:
23let
4 # check if we can execute binaries for the host platform on the build platform
···61 checkTarget = "regress";
62 checkInputs = [ perl ];
63 preCheck = "patchShebangs --build regress/regress.pl";
64+65+ passthru.tests = {
66+ nixos = nixosTests.man;
67+ };
6869 meta = with lib; {
70 homepage = "https://mandoc.bsd.lv/";
+1-1
pkgs/tools/misc/miniserve/default.nix
···41 description = "For when you really just want to serve some files over HTTP right now!";
42 homepage = "https://github.com/svenstaro/miniserve";
43 license = with licenses; [ mit ];
44- maintainers = with maintainers; [ zowoq ];
45 platforms = platforms.unix;
46 };
47}
···41 description = "For when you really just want to serve some files over HTTP right now!";
42 homepage = "https://github.com/svenstaro/miniserve";
43 license = with licenses; [ mit ];
44+ maintainers = with maintainers; [ ];
45 platforms = platforms.unix;
46 };
47}
+5-4
pkgs/tools/misc/vector/default.nix
···14, coreutils
15, CoreServices
16, tzdata
017 # kafka is optional but one of the most used features
18, enableKafka ? true
19 # TODO investigate adding "api" "api-client" "vrl-cli" and various "vendor-*"
···2829let
30 pname = "vector";
31- version = "0.18.1";
32in
33rustPlatform.buildRustPackage {
34 inherit pname version;
···37 owner = "timberio";
38 repo = pname;
39 rev = "v${version}";
40- sha256 = "sha256-OD7lYoTlQNdrWT1f+BAp6zI0N+9W2LOHNNgpvAMXKDM=";
41 };
4243- cargoSha256 = "sha256-BqnXXTNE1TmrF7pSOCQpnHHve0lCb9W6MbJXk2QHAOs=";
44- nativeBuildInputs = [ pkg-config ];
45 buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
46 ++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
47
···14, coreutils
15, CoreServices
16, tzdata
17+, cmake
18 # kafka is optional but one of the most used features
19, enableKafka ? true
20 # TODO investigate adding "api" "api-client" "vrl-cli" and various "vendor-*"
···2930let
31 pname = "vector";
32+ version = "0.19.0";
33in
34rustPlatform.buildRustPackage {
35 inherit pname version;
···38 owner = "timberio";
39 repo = pname;
40 rev = "v${version}";
41+ sha256 = "sha256-A+Ok/BNEs0V00B8P6ghSHZ2pQ8tumfpkurplnvjpWZ8=";
42 };
4344+ cargoSha256 = "sha256-B9z+8TqAl0yFaou1LfNcFsDJjw7qGti6MakDPhz49tc=";
45+ nativeBuildInputs = [ pkg-config cmake ];
46 buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
47 ++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
48
+3-3
pkgs/tools/misc/vial/default.nix
···1{ lib, fetchurl, appimageTools }:
2let
3 name = "vial-${version}";
4- version = "0.4.1";
5 pname = "Vial";
67 src = fetchurl {
8 url = "https://github.com/vial-kb/vial-gui/releases/download/v${version}/${pname}-v${version}-x86_64.AppImage";
9- sha256 = "sha256-aN0wvgahWPNSXP/JmV1JWaEnARIOTyRdz1ko6eC7Y5s=";
10 };
1112 appimageContents = appimageTools.extractType2 { inherit name src; };
···24 '';
2526 meta = with lib; {
27- description = "An Open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time";
28 homepage = "https://get.vial.today";
29 license = licenses.gpl2Plus;
30 maintainers = with maintainers; [ kranzes ];
···1{ lib, fetchurl, appimageTools }:
2let
3 name = "vial-${version}";
4+ version = "0.4.2";
5 pname = "Vial";
67 src = fetchurl {
8 url = "https://github.com/vial-kb/vial-gui/releases/download/v${version}/${pname}-v${version}-x86_64.AppImage";
9+ sha256 = "sha256-T3aSwv/qTJHR/Fa6qU1fWbp3duvny4lC+9jBwQzpw2w=";
10 };
1112 appimageContents = appimageTools.extractType2 { inherit name src; };
···24 '';
2526 meta = with lib; {
27+ description = "An Open-source QMK GUI fork for configuring your keyboard in real time";
28 homepage = "https://get.vial.today";
29 license = licenses.gpl2Plus;
30 maintainers = with maintainers; [ kranzes ];