From b2d53203f2c1cc2ba898e1fe22f61d781ffb89f9 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Fri, 26 Jul 2024 16:03:13 +0200 Subject: docs: show `pyproject = true;` instead of `format = "pyproject";` every other format is deprecated, so to imply that people should be setting it is misleading (`pyproject = true` should also go away eventually, but is the way until then) --- doc/languages-frameworks/python.section.md | 3 ++- doc/languages-frameworks/rust.section.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 519fd6fbf960..5a2e2de2edef 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -162,7 +162,8 @@ following are specific to `buildPythonPackage`: * `dontWrapPythonPrograms ? false`: Skip wrapping of Python programs. * `permitUserSite ? false`: Skip setting the `PYTHONNOUSERSITE` environment variable in wrapped programs. -* `pyproject`: Whether the pyproject format should be used. When set to `true`, +* `pyproject`: Whether the pyproject format should be used. As all other formats + are deprecated, you are recommended to set this to `true`. When you do so, `pypaBuildHook` will be used, and you can add the required build dependencies from `build-system.requires` to `build-system`. Note that the pyproject format falls back to using `setuptools`, so you can use `pyproject = true` diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 48c32f324df4..1a782303f9aa 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -645,6 +645,7 @@ builds the `retworkx` Python package. `fetchCargoTarball` and buildPythonPackage rec { pname = "retworkx"; version = "0.6.0"; + pyproject = true; src = fetchFromGitHub { owner = "Qiskit"; @@ -659,8 +660,6 @@ buildPythonPackage rec { hash = "sha256-heOBK8qi2nuc/Ib+I/vLzZ1fUUD/G/KTw9d7M4Hz5O0="; }; - format = "pyproject"; - nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; # ... -- cgit 1.4.1 From 7237aa700f6b73743a0671873877fa889c8db1ca Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 5 Jul 2024 12:33:57 +0200 Subject: devShellTools: Docs, fix args env --- doc/build-helpers/dev-shell-tools.chapter.md | 46 ++++++++++++++++++++++ pkgs/build-support/dev-shell-tools/default.nix | 8 +++- .../dev-shell-tools/tests/default.nix | 4 ++ 3 files changed, 57 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/build-helpers/dev-shell-tools.chapter.md b/doc/build-helpers/dev-shell-tools.chapter.md index 21636df8017b..0168ea39f7aa 100644 --- a/doc/build-helpers/dev-shell-tools.chapter.md +++ b/doc/build-helpers/dev-shell-tools.chapter.md @@ -27,3 +27,49 @@ devShellTools.valueToString (builtins.toFile "foo" "bar") devShellTools.valueToString false => "" ``` + +::: + +## `devShellTools.unstructuredDerivationInputEnv` {#sec-devShellTools-unstructuredDerivationInputEnv} + +Convert a set of derivation attributes (as would be passed to [`derivation`]) to a set of environment variables that can be used in a shell script. +This function does not support `__structuredAttrs`, but does support `passAsFile`. + +:::{.example} +## `unstructuredDerivationInputEnv` usage example + +```nix +devShellTools.unstructuredDerivationInputEnv { + drvAttrs = { + name = "foo"; + buildInputs = [ hello figlet ]; + builder = bash; + args = [ "-c" "${./builder.sh}" ]; + }; +} +=> { + name = "foo"; + buildInputs = "/nix/store/...-hello /nix/store/...-figlet"; + builder = "/nix/store/...-bash"; +} +``` + +Note that `args` is not included, because Nix does not added it to the builder process environment. + +::: + +## `devShellTools.derivationOutputEnv` {#sec-devShellTools-derivationOutputEnv} + +Takes the relevant parts of a derivation and returns a set of environment variables, that would be present in the derivation. + +:::{.example} +## `derivationOutputEnv` usage example + +```nix +let + pkg = hello; +in +devShellTools.derivationOutputEnv { outputList = pkg.outputs; outputMap = pkg; } +``` + +::: diff --git a/pkgs/build-support/dev-shell-tools/default.nix b/pkgs/build-support/dev-shell-tools/default.nix index 7d21b5990976..bf4c1f6de927 100644 --- a/pkgs/build-support/dev-shell-tools/default.nix +++ b/pkgs/build-support/dev-shell-tools/default.nix @@ -6,6 +6,8 @@ let inherit (builtins) typeOf; in rec { + # Docs: doc/build-helpers/dev-shell-tools.chapter.md + # Tests: ./tests/default.nix # This function closely mirrors what this Nix code does: # https://github.com/NixOS/nix/blob/2.8.0/src/libexpr/primops.cc#L1102 # https://github.com/NixOS/nix/blob/2.8.0/src/libexpr/eval.cc#L1981-L2036 @@ -18,6 +20,8 @@ rec { else toString value; + # Docs: doc/build-helpers/dev-shell-tools.chapter.md + # Tests: ./tests/default.nix # https://github.com/NixOS/nix/blob/2.8.0/src/libstore/build/local-derivation-goal.cc#L992-L1004 unstructuredDerivationInputEnv = { drvAttrs }: # FIXME: this should be `normalAttrs // passAsFileAttrs` @@ -29,13 +33,15 @@ rec { else lib.nameValuePair name str ) (removeAttrs drvAttrs [ + # TODO: there may be more of these "args" ]); + # Docs: doc/build-helpers/dev-shell-tools.chapter.md + # Tests: ./tests/default.nix derivationOutputEnv = { outputList, outputMap }: # A mapping from output name to the nix store path where they should end up # https://github.com/NixOS/nix/blob/2.8.0/src/libexpr/primops.cc#L1253 lib.genAttrs outputList (output: builtins.unsafeDiscardStringContext outputMap.${output}.outPath); - } diff --git a/pkgs/build-support/dev-shell-tools/tests/default.nix b/pkgs/build-support/dev-shell-tools/tests/default.nix index a591b9ecc6ba..e00ba24f8141 100644 --- a/pkgs/build-support/dev-shell-tools/tests/default.nix +++ b/pkgs/build-support/dev-shell-tools/tests/default.nix @@ -149,8 +149,12 @@ in ) ''${args:+fail "args should not be set by Nix. We don't expect it to and unstructuredDerivationInputEnv removes it."} + if [[ "''${builder:-x}" == x ]]; then + fail "builder should be set by Nix. We don't remove it in unstructuredDerivationInputEnv." + fi ''; } // removeAttrs drvAttrs [ + # This would break the derivation. Instead, we have a check in the derivation to make sure Nix doesn't set it. "args" ]); } -- cgit 1.4.1 From edc0b7727fd0a381a05e06a49cb7640a3f9125be Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Mon, 29 Jul 2024 10:57:30 +0000 Subject: doc/interoperability: new chapter and section on CycloneDX (#316626) * doc/interoperability: new chapter and section on CycloneDX--- doc/interoperability.md | 5 +++ doc/interoperability/cyclonedx.md | 79 +++++++++++++++++++++++++++++++++++++++ doc/manual.md.in | 1 + 3 files changed, 85 insertions(+) create mode 100644 doc/interoperability.md create mode 100644 doc/interoperability/cyclonedx.md (limited to 'doc') diff --git a/doc/interoperability.md b/doc/interoperability.md new file mode 100644 index 000000000000..21a88116d307 --- /dev/null +++ b/doc/interoperability.md @@ -0,0 +1,5 @@ +# Interoperability Standards {#part-interoperability} + +```{=include=} chapters +interoperability/cyclonedx.md +``` diff --git a/doc/interoperability/cyclonedx.md b/doc/interoperability/cyclonedx.md new file mode 100644 index 000000000000..7a3dea3dbc2f --- /dev/null +++ b/doc/interoperability/cyclonedx.md @@ -0,0 +1,79 @@ +# CycloneDX {#chap-interop-cyclonedx} + +[OWASP](https://owasp.org/) [CycloneDX](https://cyclonedx.org/) is a Software [Bill of Materials](https://en.wikipedia.org/wiki/Bill_of_materials) (SBOM) standard. +The standards described here are for including Nix specific information within SBOMs in a way that is interoperable with external SBOM tooling. + +## `nix` Namespace Property Taxonomy {#sec-interop.cylonedx-nix} + +The following tables describe namespaces for [properties](https://cyclonedx.org/docs/1.6/json/#components_items_properties) that may be attached to components within SBOMs. +Component properties are lists of name-value-pairs where values must be strings. +Properties with the same name may appear more than once. +Names and values are case-sensitive. + +| Property | Description | +|------------------|-------------| +| `nix:store_path` | A Nix store path for the given component. This property should be contextualized by additional properties that describe the production of the store path, such as those from the `nix:narinfo:` and `nix:fod` namespaces. | + + +| Namespace | Description | +|---------------|-------------| +| [`nix:narinfo`](#sec-interop.cylonedx-narinfo) | Namespace for properties that are specific to how a component is stored as a [Nix archive](https://nixos.org/manual/nix/stable/glossary#gloss-nar) (NAR) in a [binary cache](https://nixos.org/manual/nix/stable/glossary#gloss-binary-cache). | +| [`nix:fod`](#sec-interop.cylonedx-fod) | Namespace for properties that describe a [fixed-output derivation](https://nixos.org/manual/nix/stable/glossary#gloss-fixed-output-derivation). | + + +### `nix:narinfo` {#sec-interop.cylonedx-narinfo} + +Narinfo properties describe component archives that may be available from binary caches. +The `nix:narinfo` properties should be accompanied by a `nix:store_path` property within the same property list. + +| Property | Description | +|---------------------------|-------------| +| `nix:narinfo:store_path` | Store path for the given store component. | +| `nix:narinfo:url` | URL path component. | +| `nix:narinfo:nar_hash` | Hash of the file system object part of the component when serialized as a Nix Archive. | +| `nix:narinfo:nar_size` | Size of the component when serialized as a Nix Archive. | +| `nix:narinfo:compression` | The compression format that component archive is in. | +| `nix:narinfo:file_hash` | A digest for the compressed component archive itself, as opposed to the data contained within. | +| `nix:narinfo:file_size` | The size of the compressed component archive itself. | +| `nix:narinfo:deriver` | The path to the derivation from which this component is produced. | +| `nix:narinfo:system` | The hardware and software platform on which this component is produced. | +| `nix:narinfo:sig` | Signatures claiming that this component is what it claims to be. | +| `nix:narinfo:ca` | Content address of this store object's file system object, used to compute its store path. | +| `nix:narinfo:references` | A whitespace separated array of store paths that this component references. | + +### `nix:fod` {#sec-interop.cylonedx-fod} + +FOD properties describe a [fixed-output derivation](https://nixos.org/manual/nix/stable/glossary#gloss-fixed-output-derivation). +The `nix:fod:method` property is required and must be accompanied by a `nix:store_path` property within the same property list. +All other properties in this namespace are method-specific. +To reproduce the build of a component the `nix:fod:method` value is resolved to an [appropriate function](#chap-pkgs-fetchers) within Nixpkgs whose arguments intersect with the given properties. +When generating `nix:fod` properties the method selected should be a stable function with a minimal number arguments. +For example, the `fetchFromGitHub` is commonly used within Nixpkgs but should be reduced to a call to the function by which it is implemented, `fetchzip`. + +| Property | Description | +|------------------|-------------| +| `nix:fod:method` | Nixpkg function that produces this FOD. Required. Examples: `"fetchzip"`, `"fetchgit"` | +| `nix:fod:name` | Derivation name, present when method is `"fetchzip"` | +| `nix:fod:ref` | [Git ref](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefrefaref), present when method is `"fetchgit"` | +| `nix:fod:rev` | [Git rev](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefrevisionarevision), present when method is `"fetchgit"` | +| `nix:fod:sha256` | FOD hash | +| `nix:fod:url` | URL to fetch | + + +`nix:fod` properties may be extracted and evaluated to a derivation using code similar to the following, assuming a fictitious function `filterPropertiesToAttrs`: + +```nix +{ pkgs, filterPropertiesToAttrs, properties }: +let + fodProps = filterPropertiesToAttrs "nix:fod:" properties; + + methods = { + fetchzip = + { name, url, sha256, ... }: + pkgs.fetchzip { + inherit name url sha256; + }; + }; + +in methods.${fodProps.method} fodProps +``` diff --git a/doc/manual.md.in b/doc/manual.md.in index 642247e16612..e5f58a23a399 100644 --- a/doc/manual.md.in +++ b/doc/manual.md.in @@ -12,4 +12,5 @@ stdenv.md build-helpers.md development.md contributing.md +interoperability.md ``` -- cgit 1.4.1 From 587f64a26459ffb7f2af0a7a0d454b4a6a76aec4 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 29 Jul 2024 11:28:26 -0700 Subject: nixpkgs-manual: use injected revision only `lib.trivial.revisionWithDefault` will change with every Git commit, which causes the manual to be rebuilt on every since PR. Using `nixpkgs.rev` (or the dummy value "master" if it's not present) means that the manual will contain the revision if built on Hydra, but will not otherwise. Why? 1. https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-configuration shows that `pkgs/top-level/release.nix` is passed the `nixpkgs` attrset, which is a "Git checkout". 2. Git checkouts come from [`builtins.fetchGit`](https://nix.dev/manual/nix/2.18/language/builtins#builtins-fetchGit) and include the `rev` attribute. 3. The `rev` attribute is what `lib.trivial.revisionWithDefault` would have returned. So, using `nixpkgs.rev or "master"` exclusively will cause the rebuilds on every commit to cease, but will allow "official" nixpkgs manual built on Hydra to continue to reference a specific commit. --- doc/doc-support/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/doc-support/package.nix b/doc/doc-support/package.nix index 602cef59677e..ca4694f3d11c 100644 --- a/doc/doc-support/package.nix +++ b/doc/doc-support/package.nix @@ -60,7 +60,7 @@ stdenvNoCC.mkDerivation ( nixos-render-docs manual html \ --manpage-urls ./manpage-urls.json \ - --revision ${lib.trivial.revisionWithDefault (nixpkgs.rev or "master")} \ + --revision ${nixpkgs.rev or "master"} \ --stylesheet style.css \ --stylesheet highlightjs/mono-blue.css \ --script ./highlightjs/highlight.pack.js \ -- cgit 1.4.1 From aab1113d4ab7dd26923cdd6646000ca0f29cf755 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 30 Jul 2024 16:21:42 +0200 Subject: treewide: normalize maintainers list formatting grep -rP 'maintainers = \[\];' --- doc/languages-frameworks/rust.section.md | 2 +- nixos/tests/networking-proxy.nix | 2 +- nixos/tests/sogo.nix | 2 +- pkgs/applications/audio/gmpc/default.nix | 2 +- pkgs/applications/audio/mopidy/moped.nix | 2 +- pkgs/applications/kde/kde-inotify-survey.nix | 2 +- pkgs/applications/kde/kongress.nix | 2 +- pkgs/applications/kde/telly-skout.nix | 2 +- pkgs/applications/misc/bikeshed/default.nix | 2 +- pkgs/applications/misc/findex/default.nix | 2 +- pkgs/applications/misc/gmrun/default.nix | 2 +- pkgs/applications/misc/moonlight-embedded/default.nix | 2 +- pkgs/applications/misc/volnoti/default.nix | 2 +- pkgs/applications/networking/browsers/vimb/default.nix | 2 +- pkgs/applications/networking/cluster/kubelogin/default.nix | 2 +- .../networking/cluster/nixops/plugins/nixos-modules-contrib.nix | 2 +- pkgs/applications/networking/irc/epic5/default.nix | 2 +- pkgs/applications/version-management/nitpick/default.nix | 2 +- pkgs/applications/virtualization/youki/default.nix | 2 +- pkgs/by-name/li/libertine-g/package.nix | 2 +- pkgs/by-name/li/libgnome-keyring/package.nix | 2 +- pkgs/by-name/li/liborcus/package.nix | 2 +- pkgs/data/fonts/smiley-sans/default.nix | 2 +- pkgs/data/misc/clash-geoip/default.nix | 2 +- pkgs/development/libraries/fox/default.nix | 2 +- pkgs/development/libraries/fox/fox-1.6.nix | 2 +- pkgs/development/libraries/functionalplus/default.nix | 2 +- pkgs/development/libraries/ktextaddons/default.nix | 2 +- pkgs/development/libraries/libivykis/default.nix | 2 +- pkgs/development/libraries/podofo/0.10.x.nix | 2 +- pkgs/development/libraries/unittest-cpp/default.nix | 2 +- pkgs/development/tools/renderizer/default.nix | 2 +- pkgs/os-specific/linux/system76-power/default.nix | 2 +- pkgs/servers/http/hiawatha/default.nix | 2 +- pkgs/servers/monitoring/riemann/default.nix | 2 +- pkgs/tools/X11/xcalib/default.nix | 2 +- pkgs/tools/admin/tightvnc/default.nix | 2 +- pkgs/tools/archivers/sharutils/default.nix | 2 +- pkgs/tools/compression/bzip2/1_1.nix | 2 +- pkgs/tools/graphics/argyllcms/default.nix | 2 +- pkgs/tools/misc/dbacl/default.nix | 2 +- pkgs/tools/networking/surfraw/default.nix | 2 +- pkgs/tools/text/autocorrect/default.nix | 2 +- pkgs/top-level/all-packages.nix | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) (limited to 'doc') diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 38771ca81b13..a54ea6efa4f4 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { description = "Fast line-oriented regex search tool, similar to ag and ack"; homepage = "https://github.com/BurntSushi/ripgrep"; license = lib.licenses.unlicense; - maintainers = []; + maintainers = [ ]; }; } ``` diff --git a/nixos/tests/networking-proxy.nix b/nixos/tests/networking-proxy.nix index 330bac2588a5..72f33c78bd0e 100644 --- a/nixos/tests/networking-proxy.nix +++ b/nixos/tests/networking-proxy.nix @@ -12,7 +12,7 @@ let default-config = { in import ./make-test-python.nix ({ pkgs, ...} : { name = "networking-proxy"; meta = with pkgs.lib.maintainers; { - maintainers = [ ]; + maintainers = [ ]; }; nodes = { diff --git a/nixos/tests/sogo.nix b/nixos/tests/sogo.nix index e9059a2ab773..84d219659bdb 100644 --- a/nixos/tests/sogo.nix +++ b/nixos/tests/sogo.nix @@ -1,7 +1,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { name = "sogo"; meta = with pkgs.lib.maintainers; { - maintainers = []; + maintainers = [ ]; }; nodes = { diff --git a/pkgs/applications/audio/gmpc/default.nix b/pkgs/applications/audio/gmpc/default.nix index 3bd6f3138146..e3f5f4580d6f 100644 --- a/pkgs/applications/audio/gmpc/default.nix +++ b/pkgs/applications/audio/gmpc/default.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { homepage = "https://gmpclient.org"; description = "GTK2 frontend for Music Player Daemon"; license = licenses.gpl2; - maintainers = []; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/mopidy/moped.nix b/pkgs/applications/audio/mopidy/moped.nix index 3e4e728c3c2d..afefc0f0d9d5 100644 --- a/pkgs/applications/audio/mopidy/moped.nix +++ b/pkgs/applications/audio/mopidy/moped.nix @@ -20,7 +20,7 @@ pythonPackages.buildPythonApplication rec { homepage = "https://github.com/martijnboland/moped"; description = "Web client for Mopidy"; license = licenses.mit; - maintainers = []; + maintainers = [ ]; hydraPlatforms = []; }; } diff --git a/pkgs/applications/kde/kde-inotify-survey.nix b/pkgs/applications/kde/kde-inotify-survey.nix index 470e225ea0ab..9adbbe3a08c1 100644 --- a/pkgs/applications/kde/kde-inotify-survey.nix +++ b/pkgs/applications/kde/kde-inotify-survey.nix @@ -26,6 +26,6 @@ mkDerivation { mainProgram = "kde-inotify-survey"; homepage = "https://invent.kde.org/system/kde-inotify-survey"; license = lib.licenses.gpl2Plus; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/kde/kongress.nix b/pkgs/applications/kde/kongress.nix index 5738569bae90..f5bfa9f919d1 100644 --- a/pkgs/applications/kde/kongress.nix +++ b/pkgs/applications/kde/kongress.nix @@ -31,6 +31,6 @@ mkDerivation { description = "Companion application for conferences"; homepage = "https://apps.kde.org/kongress/"; license = lib.licenses.gpl3; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/kde/telly-skout.nix b/pkgs/applications/kde/telly-skout.nix index 7c249c99f9aa..00df33583f5c 100644 --- a/pkgs/applications/kde/telly-skout.nix +++ b/pkgs/applications/kde/telly-skout.nix @@ -20,6 +20,6 @@ mkDerivation { mainProgram = "telly-skout"; homepage = "https://apps.kde.org/telly-skout/"; license = lib.licenses.gpl2Plus; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/misc/bikeshed/default.nix b/pkgs/applications/misc/bikeshed/default.nix index 5b51a8324e3f..244632521bac 100644 --- a/pkgs/applications/misc/bikeshed/default.nix +++ b/pkgs/applications/misc/bikeshed/default.nix @@ -73,6 +73,6 @@ buildPythonApplication rec { ''; homepage = "https://tabatkins.github.io/bikeshed/"; license = licenses.cc0; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/misc/findex/default.nix b/pkgs/applications/misc/findex/default.nix index 891ac664149f..20187d526337 100644 --- a/pkgs/applications/misc/findex/default.nix +++ b/pkgs/applications/misc/findex/default.nix @@ -39,6 +39,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/mdgaziur/findex"; license = licenses.gpl3Only; platforms = platforms.linux; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/misc/gmrun/default.nix b/pkgs/applications/misc/gmrun/default.nix index e71b1a6484d3..aa1a3cd46b69 100644 --- a/pkgs/applications/misc/gmrun/default.nix +++ b/pkgs/applications/misc/gmrun/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://sourceforge.net/projects/gmrun/"; license = licenses.gpl2; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; mainProgram = "gmrun"; }; diff --git a/pkgs/applications/misc/moonlight-embedded/default.nix b/pkgs/applications/misc/moonlight-embedded/default.nix index a7ca6dce637d..e00be02e6f06 100644 --- a/pkgs/applications/misc/moonlight-embedded/default.nix +++ b/pkgs/applications/misc/moonlight-embedded/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { description = "Open source implementation of NVIDIA's GameStream"; homepage = "https://github.com/moonlight-stream/moonlight-embedded"; license = licenses.gpl3Plus; - maintainers = []; + maintainers = [ ]; mainProgram = "moonlight"; platforms = platforms.linux; }; diff --git a/pkgs/applications/misc/volnoti/default.nix b/pkgs/applications/misc/volnoti/default.nix index f03de6d9e658..560b9cce3fd4 100644 --- a/pkgs/applications/misc/volnoti/default.nix +++ b/pkgs/applications/misc/volnoti/default.nix @@ -33,6 +33,6 @@ stdenv.mkDerivation { homepage = "https://github.com/davidbrazdil/volnoti"; license = licenses.gpl3; platforms = platforms.linux; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/networking/browsers/vimb/default.nix b/pkgs/applications/networking/browsers/vimb/default.nix index 1c15d89eded5..e76b79f9d09f 100644 --- a/pkgs/applications/networking/browsers/vimb/default.nix +++ b/pkgs/applications/networking/browsers/vimb/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://fanglingsu.github.io/vimb/"; license = lib.licenses.gpl3; - maintainers = []; + maintainers = [ ]; platforms = with lib.platforms; linux; }; } diff --git a/pkgs/applications/networking/cluster/kubelogin/default.nix b/pkgs/applications/networking/cluster/kubelogin/default.nix index d9e25fc9b79b..243495dd6a2c 100644 --- a/pkgs/applications/networking/cluster/kubelogin/default.nix +++ b/pkgs/applications/networking/cluster/kubelogin/default.nix @@ -23,6 +23,6 @@ buildGoModule rec { mainProgram = "kubelogin"; inherit (src.meta) homepage; license = licenses.mit; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/networking/cluster/nixops/plugins/nixos-modules-contrib.nix b/pkgs/applications/networking/cluster/nixops/plugins/nixos-modules-contrib.nix index 494208d347f0..a3039482c8f1 100644 --- a/pkgs/applications/networking/cluster/nixops/plugins/nixos-modules-contrib.nix +++ b/pkgs/applications/networking/cluster/nixops/plugins/nixos-modules-contrib.nix @@ -40,6 +40,6 @@ buildPythonPackage { description = "Useful NixOS modules which may not belong in the Nixpkgs repository itself"; homepage = "https://github.com/nix-community/nixos-modules-contrib"; license = licenses.lgpl3; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/networking/irc/epic5/default.nix b/pkgs/applications/networking/irc/epic5/default.nix index 404eca810ef2..2331eaa4596d 100644 --- a/pkgs/applications/networking/irc/epic5/default.nix +++ b/pkgs/applications/networking/irc/epic5/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { homepage = "http://epicsol.org"; description = "IRC client that offers a great ircII interface"; license = licenses.bsd3; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/version-management/nitpick/default.nix b/pkgs/applications/version-management/nitpick/default.nix index eb6956b1a312..f1f52baf0336 100644 --- a/pkgs/applications/version-management/nitpick/default.nix +++ b/pkgs/applications/version-management/nitpick/default.nix @@ -35,6 +35,6 @@ buildPythonPackage rec { ''; homepage = "http://travisbrown.ca/projects/nitpick/docs/nitpick.html"; license = with lib.licenses; gpl2; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/applications/virtualization/youki/default.nix b/pkgs/applications/virtualization/youki/default.nix index d63fa87238e4..506179dbf35c 100644 --- a/pkgs/applications/virtualization/youki/default.nix +++ b/pkgs/applications/virtualization/youki/default.nix @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://containers.github.io/youki/"; changelog = "https://github.com/containers/youki/releases/tag/v${version}"; license = licenses.asl20; - maintainers = []; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "youki"; }; diff --git a/pkgs/by-name/li/libertine-g/package.nix b/pkgs/by-name/li/libertine-g/package.nix index 6265f3e7df47..2f472e345c0f 100644 --- a/pkgs/by-name/li/libertine-g/package.nix +++ b/pkgs/by-name/li/libertine-g/package.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation { meta = { description = "Graphite versions of Linux Libertine and Linux Biolinum font families for LibreOffice and OpenOffice.org"; homepage = "https://numbertext.org/linux/"; - maintainers = []; + maintainers = [ ]; license = lib.licenses.ofl; }; } diff --git a/pkgs/by-name/li/libgnome-keyring/package.nix b/pkgs/by-name/li/libgnome-keyring/package.nix index bc4a26a0079b..4f30ebdae612 100644 --- a/pkgs/by-name/li/libgnome-keyring/package.nix +++ b/pkgs/by-name/li/libgnome-keyring/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { license = with lib.licenses; [ gpl2Plus lgpl2Plus ]; pkgConfigModules = [ "gnome-keyring-1" ]; platforms = lib.platforms.unix; - maintainers = []; + maintainers = [ ]; longDescription = '' gnome-keyring is a program that keeps password and other secrets for diff --git a/pkgs/by-name/li/liborcus/package.nix b/pkgs/by-name/li/liborcus/package.nix index daac73da7079..14f2023fc1ee 100644 --- a/pkgs/by-name/li/liborcus/package.nix +++ b/pkgs/by-name/li/liborcus/package.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { homepage = "https://gitlab.com/orcus/orcus"; changelog = "https://gitlab.com/orcus/orcus/-/blob/${src.rev}/CHANGELOG"; license = licenses.mpl20; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/data/fonts/smiley-sans/default.nix b/pkgs/data/fonts/smiley-sans/default.nix index 7a863c3d10d7..d136695c8aed 100644 --- a/pkgs/data/fonts/smiley-sans/default.nix +++ b/pkgs/data/fonts/smiley-sans/default.nix @@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation rec { homepage = "https://atelier-anchor.com/typefaces/smiley-sans/"; changelog = "https://github.com/atelier-anchor/smiley-sans/blob/main/CHANGELOG.md"; license = licenses.ofl; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/data/misc/clash-geoip/default.nix b/pkgs/data/misc/clash-geoip/default.nix index 005f44edecb0..a477984c52b8 100644 --- a/pkgs/data/misc/clash-geoip/default.nix +++ b/pkgs/data/misc/clash-geoip/default.nix @@ -26,7 +26,7 @@ stdenvNoCC.mkDerivation rec { description = "GeoLite2 data created by MaxMind"; homepage = "https://github.com/Dreamacro/maxmind-geoip"; license = licenses.unfree; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/fox/default.nix b/pkgs/development/libraries/fox/default.nix index 6286155d8efb..68a9806cf47f 100644 --- a/pkgs/development/libraries/fox/default.nix +++ b/pkgs/development/libraries/fox/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { ''; homepage = "http://fox-toolkit.org"; license = licenses.lgpl3Plus; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/fox/fox-1.6.nix b/pkgs/development/libraries/fox/fox-1.6.nix index 0ab874fd76dd..775340af302f 100644 --- a/pkgs/development/libraries/fox/fox-1.6.nix +++ b/pkgs/development/libraries/fox/fox-1.6.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { ''; homepage = "http://fox-toolkit.org"; license = lib.licenses.lgpl3; - maintainers = []; + maintainers = [ ]; platforms = lib.platforms.mesaPlatforms; }; } diff --git a/pkgs/development/libraries/functionalplus/default.nix b/pkgs/development/libraries/functionalplus/default.nix index e4eef8dfe532..7f0c809b9e79 100644 --- a/pkgs/development/libraries/functionalplus/default.nix +++ b/pkgs/development/libraries/functionalplus/default.nix @@ -18,6 +18,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Dobiasd/FunctionalPlus"; license = licenses.boost; platforms = platforms.all; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/development/libraries/ktextaddons/default.nix b/pkgs/development/libraries/ktextaddons/default.nix index b648109d150e..15286ff162cc 100644 --- a/pkgs/development/libraries/ktextaddons/default.nix +++ b/pkgs/development/libraries/ktextaddons/default.nix @@ -15,6 +15,6 @@ mkDerivation rec { description = "Various text handling addons for KDE applications"; homepage = "https://invent.kde.org/libraries/ktextaddons/"; license = licenses.gpl2Plus; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/development/libraries/libivykis/default.nix b/pkgs/development/libraries/libivykis/default.nix index c5e0c55854e6..fbf4f4b64808 100644 --- a/pkgs/development/libraries/libivykis/default.nix +++ b/pkgs/development/libraries/libivykis/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { notification facilities ''; license = licenses.zlib; - maintainers = []; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/podofo/0.10.x.nix b/pkgs/development/libraries/podofo/0.10.x.nix index f4bf9e774178..0916c2f9e9a0 100644 --- a/pkgs/development/libraries/podofo/0.10.x.nix +++ b/pkgs/development/libraries/podofo/0.10.x.nix @@ -58,6 +58,6 @@ stdenv.mkDerivation (finalAttrs: { description = "Library to work with the PDF file format"; platforms = lib.platforms.all; license = with lib.licenses; [ gpl2Plus lgpl2Plus ]; - maintainers = []; + maintainers = [ ]; }; }) diff --git a/pkgs/development/libraries/unittest-cpp/default.nix b/pkgs/development/libraries/unittest-cpp/default.nix index 6a6407eb32ff..04d33b66e5a9 100644 --- a/pkgs/development/libraries/unittest-cpp/default.nix +++ b/pkgs/development/libraries/unittest-cpp/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/unittest-cpp/unittest-cpp"; description = "Lightweight unit testing framework for C++"; license = lib.licenses.mit; - maintainers = []; + maintainers = [ ]; platforms = lib.platforms.unix; }; } diff --git a/pkgs/development/tools/renderizer/default.nix b/pkgs/development/tools/renderizer/default.nix index 61f06a3bf44f..18aea3041332 100644 --- a/pkgs/development/tools/renderizer/default.nix +++ b/pkgs/development/tools/renderizer/default.nix @@ -22,6 +22,6 @@ buildGoModule rec { mainProgram = "renderizer"; inherit (src.meta) homepage; license = licenses.gpl3; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/os-specific/linux/system76-power/default.nix b/pkgs/os-specific/linux/system76-power/default.nix index adf0714d924c..850fac9f6c72 100644 --- a/pkgs/os-specific/linux/system76-power/default.nix +++ b/pkgs/os-specific/linux/system76-power/default.nix @@ -28,6 +28,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/pop-os/system76-power"; license = licenses.gpl3Plus; platforms = [ "i686-linux" "x86_64-linux" ]; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/servers/http/hiawatha/default.nix b/pkgs/servers/http/hiawatha/default.nix index adf60cdf32e4..79797167dd21 100644 --- a/pkgs/servers/http/hiawatha/default.nix +++ b/pkgs/servers/http/hiawatha/default.nix @@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.gpl2Only; platforms = platforms.unix; # "Hiawatha runs perfectly on Linux, BSD and MacOS X" mainProgram = "hiawatha"; - maintainers = []; + maintainers = [ ]; }; }) diff --git a/pkgs/servers/monitoring/riemann/default.nix b/pkgs/servers/monitoring/riemann/default.nix index 3e2763496575..0b678a0a0fd7 100644 --- a/pkgs/servers/monitoring/riemann/default.nix +++ b/pkgs/servers/monitoring/riemann/default.nix @@ -29,6 +29,6 @@ stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.epl10; platforms = platforms.all; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/tools/X11/xcalib/default.nix b/pkgs/tools/X11/xcalib/default.nix index c1dccf16c8b0..cb3ac66284a1 100644 --- a/pkgs/tools/X11/xcalib/default.nix +++ b/pkgs/tools/X11/xcalib/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { inherit (src.meta) homepage; description = "Tiny monitor calibration loader for X and MS-Windows"; license = licenses.gpl2Plus; - maintainers = []; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "xcalib"; }; diff --git a/pkgs/tools/admin/tightvnc/default.nix b/pkgs/tools/admin/tightvnc/default.nix index 5bc86f94c2bc..418081626d6a 100644 --- a/pkgs/tools/admin/tightvnc/default.nix +++ b/pkgs/tools/admin/tightvnc/default.nix @@ -106,7 +106,7 @@ stdenv.mkDerivation rec { GUI, many bugfixes, and more. ''; - maintainers = []; + maintainers = [ ]; platforms = lib.platforms.unix; knownVulnerabilities = [ "CVE-2021-42785" ]; diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix index 2a656a9dd327..557fdae4d22b 100644 --- a/pkgs/tools/archivers/sharutils/default.nix +++ b/pkgs/tools/archivers/sharutils/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://www.gnu.org/software/sharutils/"; license = licenses.gpl3Plus; - maintainers = []; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/tools/compression/bzip2/1_1.nix b/pkgs/tools/compression/bzip2/1_1.nix index 15ff3c96b257..520cc393b0ac 100644 --- a/pkgs/tools/compression/bzip2/1_1.nix +++ b/pkgs/tools/compression/bzip2/1_1.nix @@ -42,6 +42,6 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.bsdOriginal; pkgConfigModules = [ "bz2" ]; platforms = platforms.all; - maintainers = []; + maintainers = [ ]; }; }) diff --git a/pkgs/tools/graphics/argyllcms/default.nix b/pkgs/tools/graphics/argyllcms/default.nix index efb77b89a64b..f062ee261fcb 100644 --- a/pkgs/tools/graphics/argyllcms/default.nix +++ b/pkgs/tools/graphics/argyllcms/default.nix @@ -148,7 +148,7 @@ stdenv.mkDerivation rec { homepage = "https://www.argyllcms.com/"; description = "Color management system (compatible with ICC)"; license = licenses.gpl3; - maintainers = []; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/misc/dbacl/default.nix b/pkgs/tools/misc/dbacl/default.nix index 6a2700f482a9..a7069ad92bb3 100644 --- a/pkgs/tools/misc/dbacl/default.nix +++ b/pkgs/tools/misc/dbacl/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://dbacl.sourceforge.net/"; longDescription = "a digramic Bayesian classifier for text recognition."; - maintainers = []; + maintainers = [ ]; license = lib.licenses.gpl3; platforms = lib.platforms.unix; }; diff --git a/pkgs/tools/networking/surfraw/default.nix b/pkgs/tools/networking/surfraw/default.nix index 44e8877eb5d1..a2c714f3b61f 100644 --- a/pkgs/tools/networking/surfraw/default.nix +++ b/pkgs/tools/networking/surfraw/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { meta = { description = "Provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power"; homepage = "https://gitlab.com/surfraw/Surfraw"; - maintainers = []; + maintainers = [ ]; platforms = lib.platforms.all; license = lib.licenses.publicDomain; }; diff --git a/pkgs/tools/text/autocorrect/default.nix b/pkgs/tools/text/autocorrect/default.nix index 19e69a468ffd..60e5608274eb 100644 --- a/pkgs/tools/text/autocorrect/default.nix +++ b/pkgs/tools/text/autocorrect/default.nix @@ -32,6 +32,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://huacnlee.github.io/autocorrect"; changelog = "https://github.com/huacnlee/autocorrect/releases/tag/v${version}"; license = licenses.mit; - maintainers = []; + maintainers = [ ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cc9e1a55b1ab..a2ab7a6061bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19432,7 +19432,7 @@ with pkgs; # tests fail on old version doCheck = false; meta = libgit2.meta // { - maintainers = []; + maintainers = [ ]; knownVulnerabilities = [ "CVE-2024-24575" "CVE-2024-24577" "CVE-2022-29187" "CVE 2022-24765" ]; }; }; -- cgit 1.4.1