···2223## Standard meta-attributes {#sec-standard-meta-attributes}
24000025It is expected that each meta-attribute is one of the following:
2627### `description` {#var-meta-description}
···29A short (one-line) description of the package.
30This is displayed on [search.nixos.org](https://search.nixos.org/packages).
3132-Don’t include a period at the end. Don’t include newline characters. Capitalise the first character. For brevity, don’t repeat the name of package --- just describe what it does.
00000000003334Wrong: `"libpng is a library that allows you to decode PNG images."`
3536-Right: `"A library for decoding PNG images"`
3738### `longDescription` {#var-meta-longDescription}
39
···2223## Standard meta-attributes {#sec-standard-meta-attributes}
2425+If the package is to be submitted to Nixpkgs, please check out the
26+[requirements for meta attributes](https://github.com/NixOS/nixpkgs/tree/master/pkgs#meta-attributes)
27+in the contributing documentation.
28+29It is expected that each meta-attribute is one of the following:
3031### `description` {#var-meta-description}
···33A short (one-line) description of the package.
34This is displayed on [search.nixos.org](https://search.nixos.org/packages).
3536+The general requirements of a description are:
37+38+- Be short, just one sentence.
39+- Be capitalized.
40+- Not start with definite ("The") or indefinite ("A"/"An") article.
41+- Not start with the package name.
42+ - More generally, it should not refer to the package name.
43+- Not end with a period (or any punctuation for that matter).
44+- Provide factual information.
45+ - Avoid subjective language.
46+4748Wrong: `"libpng is a library that allows you to decode PNG images."`
4950+Right: `"Library for decoding PNG images"`
5152### `longDescription` {#var-meta-longDescription}
53
···103104- Android NDK version 26 and SDK version 33 are now the default versions used for cross compilation to android.
1050000106- `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the
107 output by default, to alert users to closure size issues caused by
108 [#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging
···103104- Android NDK version 26 and SDK version 33 are now the default versions used for cross compilation to android.
105106+- `nodePackages.vscode-css-languageserver-bin`, `nodePackages.vscode-html-languageserver-bin`,
107+ and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
108+ The `vscode-langservers-extracted` package is a maintained drop-in replacement.
109+110- `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the
111 output by default, to alert users to closure size issues caused by
112 [#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging
···10, aspellDicts
11 # Use `lib.collect lib.isDerivation aspellDicts;` to make all dictionaries
12 # available.
13-, enchantAspellDicts ? with aspellDicts; [ en en-computers en-science ]
14}:
1516python3.pkgs.buildPythonApplication rec {
···10, aspellDicts
11 # Use `lib.collect lib.isDerivation aspellDicts;` to make all dictionaries
12 # available.
13+, enchantAspellDicts ? with aspellDicts; [ en en-computers ]
14}:
1516python3.pkgs.buildPythonApplication rec {
···5}:
6let
7 pname = "lmstudio";
8- version = "0.2.25";
9 meta = {
10 description = "LM Studio is an easy to use desktop app for experimenting with local and open-source Large Language Models (LLMs)";
11 homepage = "https://lmstudio.ai/";
···5}:
6let
7 pname = "lmstudio";
8+ version = "0.2.27";
9 meta = {
10 description = "LM Studio is an easy to use desktop app for experimenting with local and open-source Large Language Models (LLMs)";
11 homepage = "https://lmstudio.ai/";
···1+Fixes test/parallel/test-node-run.js subtest.
2+3+Note that this techinically depends on an impurity during build, see
4+also https://github.com/NixOS/nix/issues/6081. Currently stdenv allows
5+/bin/sh as an impure host dependency on Darwin, so we are guaranteed to
6+have it to certain degree, although it is very hacky.
7+8+--- a/test/fixtures/run-script/node_modules/.bin/positional-args
9++++ b/test/fixtures/run-script/node_modules/.bin/positional-args
10+@@ -1,3 +1,3 @@
11+-#!/bin/bash
12++#!/bin/sh
13+ echo "Arguments: '$@'"
14+ echo "The total number of arguments are: $#"
···47 meta = with lib; {
48 description = "CUPS drivers for SPL (Samsung Printer Language) printers";
49 homepage = "http://splix.ap2c.org";
50- license = licenses.gpl2;
51 platforms = platforms.linux;
52 maintainers = with maintainers; [ ];
53 };
···47 meta = with lib; {
48 description = "CUPS drivers for SPL (Samsung Printer Language) printers";
49 homepage = "http://splix.ap2c.org";
50+ license = licenses.gpl2Only;
51 platforms = platforms.linux;
52 maintainers = with maintainers; [ ];
53 };
+1-1
pkgs/misc/cups/filters.nix
···116 meta = {
117 homepage = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters";
118 description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc";
119- license = lib.licenses.gpl2;
120 platforms = lib.platforms.linux;
121 };
122}
···116 meta = {
117 homepage = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters";
118 description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc";
119+ license = lib.licenses.gpl2Plus;
120 platforms = lib.platforms.linux;
121 };
122}
+1-1
pkgs/misc/drivers/epson-escpr2/default.nix
···3738 Refer to the description of epson-escpr for usage.
39 '';
40- license = licenses.gpl2;
41 maintainers = with maintainers; [ ma9e ma27 shawn8901 ];
42 platforms = platforms.linux;
43 };
···3738 Refer to the description of epson-escpr for usage.
39 '';
40+ license = licenses.gpl2Plus;
41 maintainers = with maintainers; [ ma9e ma27 shawn8901 ];
42 platforms = platforms.linux;
43 };
···21 meta = with lib; {
22 homepage = "https://github.com/rockchip-linux/rkdeveloptool";
23 description = "Tool from Rockchip to communicate with Rockusb devices";
24- license = licenses.gpl2;
25 maintainers = [ maintainers.lopsided98 ];
26 mainProgram = "rkdeveloptool";
27 };
···21 meta = with lib; {
22 homepage = "https://github.com/rockchip-linux/rkdeveloptool";
23 description = "Tool from Rockchip to communicate with Rockusb devices";
24+ license = licenses.gpl2Only;
25 maintainers = [ maintainers.lopsided98 ];
26 mainProgram = "rkdeveloptool";
27 };
+1-1
pkgs/misc/screensavers/light-locker/default.nix
···81 It relies on LightDM for locking and unlocking your session via
82 ConsoleKit/UPower or logind/systemd.
83 '';
84- license = licenses.gpl2;
85 maintainers = with maintainers; [ obadz ] ++ teams.pantheon.members;
86 platforms = platforms.linux;
87 };
···81 It relies on LightDM for locking and unlocking your session via
82 ConsoleKit/UPower or logind/systemd.
83 '';
84+ license = licenses.gpl2Plus;
85 maintainers = with maintainers; [ obadz ] ++ teams.pantheon.members;
86 platforms = platforms.linux;
87 };
+1-1
pkgs/misc/screensavers/physlock/default.nix
···22 meta = with lib; {
23 description = "Secure suspend/hibernate-friendly alternative to `vlock -an`";
24 mainProgram = "physlock";
25- license = licenses.gpl2;
26 platforms = platforms.linux;
27 };
28}
···22 meta = with lib; {
23 description = "Secure suspend/hibernate-friendly alternative to `vlock -an`";
24 mainProgram = "physlock";
25+ license = licenses.gpl2Plus;
26 platforms = platforms.linux;
27 };
28}
+1-1
pkgs/misc/screensavers/rss-glx/default.nix
···36 This package currently contains all of the screensavers from the
37 original collection, plus a few others.
38 '';
39- license = lib.licenses.gpl2;
40 platforms = lib.platforms.linux;
41 };
42}
···36 This package currently contains all of the screensavers from the
37 original collection, plus a few others.
38 '';
39+ license = lib.licenses.gpl2Only;
40 platforms = lib.platforms.linux;
41 };
42}
···35 meta = with lib; {
36 description = "Screen locker for the X Window System";
37 homepage = "http://sillycycle.com/xlockmore.html";
38- license = licenses.gpl2;
39 maintainers = with maintainers; [ pSub ];
40 platforms = platforms.linux;
41 };
···35 meta = with lib; {
36 description = "Screen locker for the X Window System";
37 homepage = "http://sillycycle.com/xlockmore.html";
38+ license = licenses.gpl2Only;
39 maintainers = with maintainers; [ pSub ];
40 platforms = platforms.linux;
41 };
+1-1
pkgs/misc/talkfilters/default.nix
···18 meta = {
19 description = "Converts English text into text that mimics a stereotyped or humorous dialect";
20 homepage = "https://www.hyperrealm.com/talkfilters/talkfilters.html";
21- license = lib.licenses.gpl2;
22 maintainers = with lib.maintainers; [ ikervagyok ];
23 platforms = with lib.platforms; unix;
24 };
···18 meta = {
19 description = "Converts English text into text that mimics a stereotyped or humorous dialect";
20 homepage = "https://www.hyperrealm.com/talkfilters/talkfilters.html";
21+ license = lib.licenses.gpl2Plus;
22 maintainers = with lib.maintainers; [ ikervagyok ];
23 platforms = with lib.platforms; unix;
24 };
···10in
11buildMongoDB {
12 inherit avxSupport;
13- version = "6.0.15";
14- sha256 = "sha256-DX1wbrDx1/JrEHbzNaXC4Hqq7MrLqz+JZgG98beyVds=";
15 patches = [
16 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
17 ./fix-gcc-13-ctype-6_0.patch
···10in
11buildMongoDB {
12 inherit avxSupport;
13+ version = "6.0.16";
14+ sha256 = "sha256-DdMWacJTx6sxgIKG2M8DkboSBr0fD2w91M+ZYt75hQI=";
15 patches = [
16 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
17 ./fix-gcc-13-ctype-6_0.patch