From 44886930e2133a655eca87c11e4a00ac37d0847f Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Wed, 2 Mar 2022 12:42:09 +0900 Subject: [PATCH 01/95] removeReferencesTo: correct region reference in fixupHook This was causing some regions to escape the fixupHook. As a concrete example, pkgconf's signature on aarch64-darwin was not valid because the library was not fixed up. --- pkgs/build-support/remove-references-to/remove-references-to.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/remove-references-to/remove-references-to.sh b/pkgs/build-support/remove-references-to/remove-references-to.sh index d8d38dbd80a9..d8175f9e1ecb 100644 --- a/pkgs/build-support/remove-references-to/remove-references-to.sh +++ b/pkgs/build-support/remove-references-to/remove-references-to.sh @@ -32,6 +32,6 @@ done for region in "${regions[@]}"; do for hook in "${fixupHooks[@]}"; do - eval "$hook" "$i" + eval "$hook" "$region" done done From 31d9db0cbb524dd37297dd272319bd73292594bd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 00:54:20 +0000 Subject: [PATCH 02/95] sbc: 1.4 -> 2.0 --- pkgs/development/libraries/sbc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/sbc/default.nix b/pkgs/development/libraries/sbc/default.nix index edab4037a154..4ea6ad97e58a 100644 --- a/pkgs/development/libraries/sbc/default.nix +++ b/pkgs/development/libraries/sbc/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "sbc"; - version = "1.4"; + version = "2.0"; src = fetchurl { url = "https://www.kernel.org/pub/linux/bluetooth/${pname}-${version}.tar.xz"; - sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si"; + sha256 = "sha256-jxI2jh279V4UU2UgRzz7M4yEs5KTnMm2Qpg2D9SgeZI="; }; nativeBuildInputs = [ pkg-config ]; From 0ae5315f7c4f911a8ea1f7ee1e7c4b532284d2fd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 30 Nov 2022 13:21:20 +0000 Subject: [PATCH 03/95] wavpack: 5.5.0 -> 5.6.0 --- pkgs/development/libraries/wavpack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/wavpack/default.nix b/pkgs/development/libraries/wavpack/default.nix index 67d8bccf51f0..43ef4e49f5d2 100644 --- a/pkgs/development/libraries/wavpack/default.nix +++ b/pkgs/development/libraries/wavpack/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "wavpack"; - version = "5.5.0"; + version = "5.6.0"; enableParallelBuilding = true; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { owner = "dbry"; repo = "WavPack"; rev = version; - hash = "sha256-4QDtLywu0PT+YsMV26M74bL2P7p4s1tk8ZBQtQcubaU="; + hash = "sha256-fWAGE87JTNTnYoxrkMf3I8C53kZrQiiBy3Zyg0cw8Og="; }; meta = with lib; { From 88fd6601d81da77eb9792b7aeceb1db95365ec89 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 29 Mar 2023 18:56:10 -0600 Subject: [PATCH 04/95] stdenv: remove the NIX_LIB*_IN_SELF_RPATH environment variables The NIX_LIB64|32_IN_SELF_RPATH environment variables control whether to add lib64 and lib32 to rpaths. However, they're set depending on the build paltform, not the target platform and thus their values are incorrect for for cross-builds. On the other hand, setting them according to the build platform introduce pointless differences in build outputs; see #221350 for details. This change fixes the issues by boldly removes the NIX_LIB*_IN_SELF_RPATH facility altogether, in the hope that it is no longer necessary. They were introduced in 2009, long before nixpkgs had good support for cross-builds. Fixes #221350 --- pkgs/stdenv/generic/setup.sh | 6 ------ pkgs/stdenv/linux/default.nix | 2 -- 2 files changed, 8 deletions(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 734abb890c24..1861b044a394 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -311,12 +311,6 @@ _accumFlagsArray() { _addRpathPrefix() { if [ "${NIX_NO_SELF_RPATH:-0}" != 1 ]; then export NIX_LDFLAGS="-rpath $1/lib ${NIX_LDFLAGS-}" - if [ -n "${NIX_LIB64_IN_SELF_RPATH:-}" ]; then - export NIX_LDFLAGS="-rpath $1/lib64 ${NIX_LDFLAGS-}" - fi - if [ -n "${NIX_LIB32_IN_SELF_RPATH:-}" ]; then - export NIX_LDFLAGS="-rpath $1/lib32 ${NIX_LDFLAGS-}" - fi fi } diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 51f217f03b27..10a374a213a0 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -115,8 +115,6 @@ let '' export NIX_ENFORCE_PURITY="''${NIX_ENFORCE_PURITY-1}" export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}" - ${lib.optionalString (system == "x86_64-linux") "NIX_LIB64_IN_SELF_RPATH=1"} - ${lib.optionalString (system == "mipsel-linux") "NIX_LIB32_IN_SELF_RPATH=1"} ''; From 84fa095d6f7217ad04db332205c23ba158d436a1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 15 Apr 2023 18:37:56 +0100 Subject: [PATCH 05/95] libjack2: move headers to "dev" outputs --- pkgs/misc/jackaudio/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index 536c654f0be7..2c106ba77aa3 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -37,6 +37,8 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "01s8i64qczxqawgrzrw19asaqmcspf5l2h3203xzg56wnnhhzcw7"; }; + outputs = [ "out" "dev" ]; + nativeBuildInputs = [ pkg-config python makeWrapper wafHook ]; buildInputs = [ libsamplerate libsndfile readline eigen celt optDbus optPythonDBus optLibffado optAlsaLib optLibopus From a15252ba8a76feb8fcb31e32f905aa2f5eef052a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 25 Apr 2023 07:45:30 +0100 Subject: [PATCH 06/95] linuxHeaders: 6.2 -> 6.3 --- pkgs/os-specific/linux/kernel-headers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel-headers/default.nix b/pkgs/os-specific/linux/kernel-headers/default.nix index 719b9a1216c7..83ad463239a1 100644 --- a/pkgs/os-specific/linux/kernel-headers/default.nix +++ b/pkgs/os-specific/linux/kernel-headers/default.nix @@ -111,12 +111,12 @@ let in { inherit makeLinuxHeaders; - linuxHeaders = let version = "6.2"; in + linuxHeaders = let version = "6.3"; in makeLinuxHeaders { inherit version; src = fetchurl { url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${version}.tar.xz"; - hash = "sha256-dIYvqKtA7a6FuzOFwLcf4QMoi85RhSbWMZeACzy97LE="; + hash = "sha256-ujSR9e1r0nCjcMRAQ049aQhfzdUoki+gHnPXZX23Ox4="; }; patches = [ ./no-relocs.patch # for building x86 kernel headers on non-ELF platforms From 87bac138dc682cd04f636ffdfe5a3dc3fc514578 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 27 Apr 2023 09:20:13 +0000 Subject: [PATCH 07/95] openal: 1.22.2 -> 1.23.1 --- pkgs/development/libraries/openal-soft/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/openal-soft/default.nix b/pkgs/development/libraries/openal-soft/default.nix index 8164a4264e6e..496b7ac60fe0 100644 --- a/pkgs/development/libraries/openal-soft/default.nix +++ b/pkgs/development/libraries/openal-soft/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "openal-soft"; - version = "1.22.2"; + version = "1.23.1"; src = fetchFromGitHub { owner = "kcat"; repo = "openal-soft"; rev = version; - sha256 = "sha256-MVM0qCZDWcO7/Hnco+0dBqzBLcWD279xjx0slxxlc4w="; + sha256 = "sha256-jwY1NzNJdWIvVv7TvJyg4cIGFLWGZhL3BkMI1NbOEG0="; }; patches = [ From 908d02c1c05f010b0740d1c8e31851eff0abccaa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 29 Apr 2023 04:24:46 +0000 Subject: [PATCH 08/95] libv4l: 1.22.1 -> 1.24.1 --- pkgs/os-specific/linux/v4l-utils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/v4l-utils/default.nix b/pkgs/os-specific/linux/v4l-utils/default.nix index f8d0c9be0d90..87fd282f6960 100644 --- a/pkgs/os-specific/linux/v4l-utils/default.nix +++ b/pkgs/os-specific/linux/v4l-utils/default.nix @@ -12,11 +12,11 @@ let # we need to use stdenv.mkDerivation in order not to pollute the libv4l’s closure with Qt in stdenv.mkDerivation rec { pname = "v4l-utils"; - version = "1.22.1"; + version = "1.24.1"; src = fetchurl { url = "https://linuxtv.org/downloads/${pname}/${pname}-${version}.tar.bz2"; - hash = "sha256-Zcb76DCkTKEFxEOwJxgsGyyQU6kdHnKthJ36s4i5TjE="; + hash = "sha256-y7f+imMH9c5TOgXN7XC7k8O6BjlaubbQB+tTt12AX1s="; }; outputs = [ "out" ] ++ lib.optional withUtils "lib" ++ [ "dev" ]; From cbc990308c2e4995681b827488a90cc9c30de1af Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 1 May 2023 11:58:29 +0100 Subject: [PATCH 09/95] valgrind: 3.20.0 -> 3.21.0 Changes: https://valgrind.org/docs/manual/dist.news.html --- pkgs/development/tools/analysis/valgrind/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 9949ec7ec7c7..6cee7ef029df 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "valgrind"; - version = "3.20.0"; + version = "3.21.0"; src = fetchurl { url = "https://sourceware.org/pub/${pname}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-hTbAMdvgeNNC8SH6iBqezSBctaeOY5AFrVcAEb2588Y="; + hash = "sha256-EM4WGLs+M/rRbreVUrCj4SEXYkSKDX/OEcimJDuayXE="; }; patches = [ From ec3cb5eab5707c43f70a1910200ee3e67215f716 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 30 Apr 2023 06:55:33 +0000 Subject: [PATCH 10/95] svt-av1: 1.4.1 -> 1.5.0 --- pkgs/tools/video/svt-av1/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/video/svt-av1/default.nix b/pkgs/tools/video/svt-av1/default.nix index 8cf9dc849896..2d722d7037a8 100644 --- a/pkgs/tools/video/svt-av1/default.nix +++ b/pkgs/tools/video/svt-av1/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "svt-av1"; - version = "1.4.1"; + version = "1.5.0"; src = fetchFromGitLab { owner = "AOMediaCodec"; repo = "SVT-AV1"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-jmr5egbuqLnBW7OFuaQk3F4s5xqTpXhWcJAfZySGWeU="; + sha256 = "sha256-EBWtvHOcFa6co0NeYns7Wkhz3LhqWJIRjBWfCrWJyss="; }; nativeBuildInputs = [ From e03a6c1c1d30c1b50fc22d80d8daf1a3a1ec0cb8 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 1 May 2023 10:59:05 +0100 Subject: [PATCH 11/95] ffmpeg_5: add patches for svt-av1 1.5.0 compatibility from 6.0 branch --- pkgs/development/libraries/ffmpeg/5.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/development/libraries/ffmpeg/5.nix b/pkgs/development/libraries/ffmpeg/5.nix index 0aa176bb8d24..dcfe033f040f 100644 --- a/pkgs/development/libraries/ffmpeg/5.nix +++ b/pkgs/development/libraries/ffmpeg/5.nix @@ -1,4 +1,21 @@ import ./generic.nix rec { version = "5.1.3"; sha256 = "sha256-twfJvANLQGO7TiyHPMPqApfHLFUlOGZTTIIGEnjyvuE="; + extraPatches = [ + { + name = "libsvtav1-1.5.0-compat-compressed_ten_bit_format.patch"; + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/031f1561cd286596cdb374da32f8aa816ce3b135"; + hash = "sha256-mSnmAkoNikDpxcN+A/hpB7mUbbtcMvm4tG6gZFuroe8="; + } + { + name = "libsvtav1-1.5.0-compat-vbv_bufsize.patch"; + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/1c6fd7d756afe0f8b7df14dbf7a95df275f8f5ee"; + hash = "sha256-v9Viyo12QfZpbcVqd1aHgLl/DgSkdE9F1kr6afTGPik="; + } + { + name = "libsvtav1-1.5.0-compat-maximum_buffer_size_ms-conditional.patch"; + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/96748ac54f998ba6fe22802799c16b4eba8d4ccc"; + hash = "sha256-Z5HSe7YpryYGHD3BYXejAhqR4EPnmfTGyccxNvU3AaU="; + } + ]; } From 32f663d5f5eaabdb3a9d225c8481287751ae7e5e Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 1 May 2023 13:07:49 +0100 Subject: [PATCH 12/95] ffmpeg_4: add patch for svt-av1 1.5.0 compatibility --- pkgs/development/libraries/ffmpeg/4.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/ffmpeg/4.nix b/pkgs/development/libraries/ffmpeg/4.nix index 7882c19da8f3..24b7aedb3ec2 100644 --- a/pkgs/development/libraries/ffmpeg/4.nix +++ b/pkgs/development/libraries/ffmpeg/4.nix @@ -1,4 +1,11 @@ import ./generic.nix rec { version = "4.4.3"; sha256 = "sha256-zZDzG1hD+0AHqElzeGR6OVm+H5wqtdktloSPmEUzT/c="; + extraPatches = [ + { + name = "libsvtav1-1.5.0-compat-compressed_ten_bit_format.patch"; + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/031f1561cd286596cdb374da32f8aa816ce3b135"; + hash = "sha256-mSnmAkoNikDpxcN+A/hpB7mUbbtcMvm4tG6gZFuroe8="; + } + ]; } From 549f616c70046e1111ad251b47d2da591939c577 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Tue, 2 May 2023 16:23:03 -0600 Subject: [PATCH 13/95] xdg-utils: unstable-2020-10-21 -> unstable-2022-11-06 --- pkgs/tools/X11/xdg-utils/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index c3b1dd546fb7..49a8269b8d40 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -22,14 +22,14 @@ in stdenv.mkDerivation rec { pname = "xdg-utils"; - version = "unstable-2020-10-21"; + version = "unstable-2022-11-06"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "xdg"; repo = "xdg-utils"; - rev = "d11b33ec7f24cfb1546f6b459611d440013bdc72"; - sha256 = "sha256-8PtXfI8hRneEpnUvIV3M+6ACjlkx0w/NEiJFdGbbHnQ="; + rev = "8ae02631a9806da11b34cd6b274af02d28aee5da"; + sha256 = "sha256-WdnnAiPYbREny633FnBi5tD9hDuF8NCVVbUaAVIKTxM="; }; patches = lib.optionals withXdgOpenUsePortalPatch [ From 2c57ba1bd416da8287f358a87ed10ce6ef82a5e8 Mon Sep 17 00:00:00 2001 From: James Baker Date: Wed, 3 May 2023 15:29:33 +0100 Subject: [PATCH 14/95] gst_all_1.gst-plugins-bad: enable webrtc At present, there are two blockers from using webrtc with the gstreamer included by Nix. The first is that on Darwin, the explicit WebRTC functionality is disabled, because at time of adding, libnice did not work on Darwin. libnice does now work on darwin, so we can re-enable it. The second is that webrtc also needs sctp, which is provided by usrsctp. This was disabled at authorship time because there was no nix derivation. There now is, so it can be safely enabled. --- pkgs/development/libraries/gstreamer/bad/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index 717a61d82310..9463f685afe3 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -90,6 +90,7 @@ , vo-aacenc , libfreeaptx , zxing-cpp +, usrsctp , VideoToolbox , AudioToolbox , AVFoundation @@ -164,6 +165,7 @@ stdenv.mkDerivation rec { libde265 libdvdnav libdvdread + libnice qrencode libsndfile libusb1 @@ -192,6 +194,7 @@ stdenv.mkDerivation rec { vo-aacenc libfreeaptx zxing-cpp + usrsctp ] ++ lib.optionals enableZbar [ zbar ] ++ lib.optionals faacSupport [ @@ -219,7 +222,6 @@ stdenv.mkDerivation rec { flite libdrm libgudev - libnice sbc spandsp @@ -273,7 +275,6 @@ stdenv.mkDerivation rec { "-Dmusepack=disabled" "-Dopenni2=disabled" # not packaged in nixpkgs as of writing "-Dopensles=disabled" # not packaged in nixpkgs as of writing - "-Dsctp=disabled" # required `usrsctp` library not packaged in nixpkgs as of writing "-Dsvthevcenc=disabled" # required `SvtHevcEnc` library not packaged in nixpkgs as of writing "-Dteletext=disabled" # required `zvbi` library not packaged in nixpkgs as of writing "-Dtinyalsa=disabled" # not packaged in nixpkgs as of writing @@ -307,7 +308,6 @@ stdenv.mkDerivation rec { "-Duvch264=disabled" # requires gudev "-Dv4l2codecs=disabled" # requires gudev "-Dladspa=disabled" # requires lrdf - "-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs "-Dwildmidi=disabled" # see dependencies above ] ++ lib.optionals (!stdenv.isLinux || !stdenv.isx86_64) [ "-Dqsv=disabled" # Linux (and Windows) x86 only From 838c2243d277c168dbaa85013d09bce0d2700f7c Mon Sep 17 00:00:00 2001 From: ylin <17835344407@163.com> Date: Sat, 6 May 2023 10:43:59 +0800 Subject: [PATCH 15/95] e2fsprogs: 1.46.6 -> 1.47.0 --- pkgs/tools/filesystems/e2fsprogs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/e2fsprogs/default.nix b/pkgs/tools/filesystems/e2fsprogs/default.nix index a1a2b812a866..71ce5b080b0b 100644 --- a/pkgs/tools/filesystems/e2fsprogs/default.nix +++ b/pkgs/tools/filesystems/e2fsprogs/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "e2fsprogs"; - version = "1.46.6"; + version = "1.47.0"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz"; - hash = "sha256-vy/MfuUXj+c6MFf34qo/5S6Yt7tGFQnGewIboA+Uxvc="; + hash = "sha256-Zmev3lbu8MavJmhJdEAOTSKI6knpRBv15iKRldUaNXg="; }; # fuse2fs adds 14mb of dependencies From ee4b582f3f41d23883553d6594d8e113790a24e5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 May 2023 09:49:43 +0000 Subject: [PATCH 16/95] directx-headers: 1.610.0 -> 1.610.2 --- pkgs/development/libraries/directx-headers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/directx-headers/default.nix b/pkgs/development/libraries/directx-headers/default.nix index 233b96304a02..946385ab0917 100644 --- a/pkgs/development/libraries/directx-headers/default.nix +++ b/pkgs/development/libraries/directx-headers/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchFromGitHub, meson, ninja }: stdenv.mkDerivation rec { pname = "directx-headers"; - version = "1.610.0"; + version = "1.610.2"; src = fetchFromGitHub { owner = "microsoft"; repo = "DirectX-Headers"; rev = "v${version}"; - hash = "sha256-lPYXAMFSyU3FopWdE6dDRWD6sVKcjxDVsTbgej/T2sk="; + hash = "sha256-se+/TgqKdatTnBlHcBC1K4aOGGfPEW+E1efpP34+xc0="; }; nativeBuildInputs = [ meson ninja ]; From 6efc3981aab2b94545beef6e17a467bedfe748cf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 May 2023 01:36:04 +0000 Subject: [PATCH 17/95] gnu-efi: 3.0.15 -> 3.0.17 --- pkgs/development/libraries/gnu-efi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gnu-efi/default.nix b/pkgs/development/libraries/gnu-efi/default.nix index 1bdd6890ab21..4da4eec78580 100644 --- a/pkgs/development/libraries/gnu-efi/default.nix +++ b/pkgs/development/libraries/gnu-efi/default.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { pname = "gnu-efi"; - version = "3.0.15"; + version = "3.0.17"; src = fetchurl { url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2"; - sha256 = "sha256-kxole5xcG6Zf9Rnxg3PEOKJoJfLbeGaxY+ltGxaPIOo="; + sha256 = "sha256-eAfpAzSTQ6ehQuu5NHA6KHIjXolojPWGwDKwoQh7yvQ="; }; buildInputs = [ pciutils ]; From 8c160c810dfa67c9a2337af164cf8c64ed20d43c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 May 2023 13:00:06 +0000 Subject: [PATCH 18/95] libsForQt5.qca-qt5: 2.3.5 -> 2.3.6 --- pkgs/development/libraries/qca-qt5/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/qca-qt5/default.nix b/pkgs/development/libraries/qca-qt5/default.nix index 67d916dd14ee..336a9e63ca63 100644 --- a/pkgs/development/libraries/qca-qt5/default.nix +++ b/pkgs/development/libraries/qca-qt5/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "qca-qt5"; - version = "2.3.5"; + version = "2.3.6"; src = fetchurl { url = "http://download.kde.org/stable/qca/${version}/qca-${version}.tar.xz"; - sha256 = "sha256-kffZFqs2kr9ZkfClU7+BUxYb/doUvQBdSAorTjhDYug="; + sha256 = "sha256-7lnVMdS4L7FoX02NdMLKoHd/UBgA90JuqjchCaQwUkk="; }; buildInputs = [ openssl qtbase ]; From 05c60fe999c518912b1cd4d635ec3a14a4194ce8 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 May 2023 22:14:42 +0100 Subject: [PATCH 19/95] m17n_lib: 1.8.0 -> 1.8.2 The main change is drop of the upstream patch that fixes parallel build failures. Changes: https://lists.nongnu.org/archive/html/m17n-list/2023-05/msg00002.html --- pkgs/tools/inputmethods/m17n-lib/default.nix | 24 ++++++++------------ 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/inputmethods/m17n-lib/default.nix b/pkgs/tools/inputmethods/m17n-lib/default.nix index ff3b0afad25d..73d7353894fe 100644 --- a/pkgs/tools/inputmethods/m17n-lib/default.nix +++ b/pkgs/tools/inputmethods/m17n-lib/default.nix @@ -1,24 +1,20 @@ -{ lib, stdenv, fetchurl, fetchpatch, m17n_db, autoreconfHook, pkg-config }: +{ lib +, stdenv +, fetchurl +, fetchpatch +, m17n_db +, autoreconfHook +, pkg-config +}: stdenv.mkDerivation rec { pname = "m17n-lib"; - version = "1.8.0"; + version = "1.8.2"; src = fetchurl { url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz"; - sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq"; + hash = "sha256-5bA0SvnxFdlJV6P5ud68T45nG2n4wf1eC2iKeU16J/I="; }; - patches = [ - (fetchpatch { - # Patch pending upstream inclusion: - # https://savannah.nongnu.org/bugs/index.php?61377 - name = "parallel-build.patch"; - url = "https://savannah.nongnu.org/bugs/download.php?file_id=53704"; - hash = "sha256-1smKSIFVRJZSwCv0NiUsnndxKcPnJ/wqzH8+ka6nfNM="; - excludes = [ "src/ChangeLog" ]; - }) - ]; - strictDeps = true; # reconf needed to sucesfully cross-compile From 8e474357089900bc1126fd1bb0ccc7379fcaf297 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 May 2023 05:05:47 +0000 Subject: [PATCH 20/95] pciutils: 3.9.0 -> 3.10.0 --- pkgs/tools/system/pciutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix index 9b0b09066438..2dd628f99e94 100644 --- a/pkgs/tools/system/pciutils/default.nix +++ b/pkgs/tools/system/pciutils/default.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "pciutils"; - version = "3.9.0"; # with release-date database + version = "3.10.0"; # with release-date database src = fetchurl { url = "mirror://kernel/software/utils/pciutils/pciutils-${version}.tar.xz"; - sha256 = "sha256-zep66XI53uIySaCcaKGaKHo/EJ++ssIy67YWyzhZkBI="; + sha256 = "sha256-I4ouJxZnMOU6F/4Hv60ingf6ObYYEX5ZRLbX7an7sOk="; }; nativeBuildInputs = [ pkg-config ]; From 93f5de39c082aa3da3ca6e3690b3aa9db1a5ed66 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:22:31 +0100 Subject: [PATCH 21/95] libssh: split headers to "dev" output --- pkgs/development/libraries/libssh/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libssh/default.nix b/pkgs/development/libraries/libssh/default.nix index 417405f42652..464aeb817cc7 100644 --- a/pkgs/development/libraries/libssh/default.nix +++ b/pkgs/development/libraries/libssh/default.nix @@ -22,6 +22,8 @@ stdenv.mkDerivation rec { sha256 = "sha256-tg4v9/Nnue7itWNNOmMwPd/t4OahjfyojESodw5+QjQ="; }; + outputs = [ "out" "dev" ]; + postPatch = '' # Fix headers to use libsodium instead of NaCl sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c From bb910d1cea6c033629d8b1fbcc0f7cfb7775caa2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:29:19 +0100 Subject: [PATCH 22/95] libdaemon: move headers to "dev" outputs (and docs to "doc") --- pkgs/development/libraries/libdaemon/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libdaemon/default.nix b/pkgs/development/libraries/libdaemon/default.nix index 581cc723dc41..112792454c43 100644 --- a/pkgs/development/libraries/libdaemon/default.nix +++ b/pkgs/development/libraries/libdaemon/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx"; }; + outputs = [ "out" "dev" "doc" ]; + patches = [ ./fix-includes.patch ]; configureFlags = [ "--disable-lynx" ] From d0f6e96bb5e9368186554b1dd45ad8301d0b0c1e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:31:59 +0100 Subject: [PATCH 23/95] sbc: move headers to "dev" outputs --- pkgs/development/libraries/sbc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/sbc/default.nix b/pkgs/development/libraries/sbc/default.nix index edab4037a154..0c00e886890f 100644 --- a/pkgs/development/libraries/sbc/default.nix +++ b/pkgs/development/libraries/sbc/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si"; }; + outputs = [ "out" "dev" ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsndfile ]; From cedb9d9b6f6f7eb2c73b1af14ec5f096706c127e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:34:40 +0100 Subject: [PATCH 24/95] zimg: move headers to "dev" outputs (and docs to "doc") --- pkgs/development/libraries/zimg/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/zimg/default.nix b/pkgs/development/libraries/zimg/default.nix index f7b0ab31d83c..60a20bf8a5dc 100644 --- a/pkgs/development/libraries/zimg/default.nix +++ b/pkgs/development/libraries/zimg/default.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation rec { sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00"; }; + outputs = [ "out" "dev" "doc" ]; + nativeBuildInputs = [ autoreconfHook ]; enableParallelBuilding = true; From 8078e39e688f7f5ecbf19bf3cfcc2c0268433882 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:38:05 +0100 Subject: [PATCH 25/95] libass: move headers to "dev" output --- pkgs/development/libraries/libass/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libass/default.nix b/pkgs/development/libraries/libass/default.nix index 84c3eb39ef36..3265fd7d093e 100644 --- a/pkgs/development/libraries/libass/default.nix +++ b/pkgs/development/libraries/libass/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { sha256 = "sha256-8NoLv7pHbBauPhz9hiJW0wkVkR96uqGxbOYu5lMZJ4Q="; }; + outputs = [ "out" "dev" ]; + configureFlags = [ (lib.enableFeature fontconfigSupport "fontconfig") (lib.enableFeature rasterizerSupport "rasterizer") From b433ce9eb9dfeaf550f64cd1c4558417518fc166 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:49:23 +0100 Subject: [PATCH 26/95] webrtc-audio-processing: split headers to "dev" output --- pkgs/development/libraries/webrtc-audio-processing/0.3.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/webrtc-audio-processing/0.3.nix b/pkgs/development/libraries/webrtc-audio-processing/0.3.nix index a16ddebbefe4..30e2a343e2d0 100644 --- a/pkgs/development/libraries/webrtc-audio-processing/0.3.nix +++ b/pkgs/development/libraries/webrtc-audio-processing/0.3.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0"; }; + outputs = [ "out" "dev" ]; + patches = [ ./enable-riscv.patch ./enable-powerpc.patch From 7280d52cdd592261c6d34b28ab67bed46aa4fc8d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:52:11 +0100 Subject: [PATCH 27/95] dav1d: split headers to "dev" output --- pkgs/development/libraries/dav1d/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix index 54bd9a1095be..13b18d0e859d 100644 --- a/pkgs/development/libraries/dav1d/default.nix +++ b/pkgs/development/libraries/dav1d/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { hash = "sha256-1k6TsaXI9nwrBXTj3hncblkQuN/bvDudWDCsx4E4iwY="; }; + outputs = [ "out" "dev" ]; + nativeBuildInputs = [ meson ninja nasm pkg-config ]; # TODO: doxygen (currently only HTML and not build by default). buildInputs = [ xxHash ] From 28b782e58dd18f3e97deb9b97c3517ad409c0407 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 22:55:03 +0100 Subject: [PATCH 28/95] libyaml: split headers to "dev" output --- pkgs/development/libraries/libyaml/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libyaml/default.nix b/pkgs/development/libraries/libyaml/default.nix index 03e7e4715f88..9a9c5e0311f1 100644 --- a/pkgs/development/libraries/libyaml/default.nix +++ b/pkgs/development/libraries/libyaml/default.nix @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { sha256 = "18zsnsxc53pans4a01cs4401a2cjk3qi098hi440pj4zijifgcsb"; }; + outputs = [ "out" "dev" ]; + nativeBuildInputs = [ autoreconfHook ]; meta = with lib; { From 1b9dbff0269cfb4252dd4a41057495e71286c183 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 23:08:07 +0100 Subject: [PATCH 29/95] libvisual: split headers to "dev" output --- pkgs/development/libraries/libvisual/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libvisual/default.nix b/pkgs/development/libraries/libvisual/default.nix index 046035a290cb..52ea32f75832 100644 --- a/pkgs/development/libraries/libvisual/default.nix +++ b/pkgs/development/libraries/libvisual/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { hash = "sha256-qhKHdBf3bTZC2fTHIzAjgNgzF1Y51jpVZB0Bkopd230="; }; + outputs = [ "out" "dev" ]; + patches = [ # pull upstream fix for SDL1 cross-compilation. # https://github.com/Libvisual/libvisual/pull/238 From 673b8009d39b3d50f3d57b5bc36efd5ab24bce39 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 11 May 2023 23:16:32 +0100 Subject: [PATCH 30/95] graphite2: split headers to "dev" output --- pkgs/development/libraries/silgraphite/graphite2.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/silgraphite/graphite2.nix b/pkgs/development/libraries/silgraphite/graphite2.nix index 41c0c3217a49..495a5ba04f07 100644 --- a/pkgs/development/libraries/silgraphite/graphite2.nix +++ b/pkgs/development/libraries/silgraphite/graphite2.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { sha256 = "1790ajyhk0ax8xxamnrk176gc9gvhadzy78qia4rd8jzm89ir7gr"; }; + outputs = [ "out" "dev" ]; + nativeBuildInputs = [ pkg-config cmake ]; buildInputs = [ freetype ]; From f17ec4119080ea46400d4458a8ca9367f1d8056a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 May 2023 01:39:35 +0000 Subject: [PATCH 31/95] m17n_db: 1.8.0 -> 1.8.2 --- pkgs/tools/inputmethods/m17n-db/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/m17n-db/default.nix b/pkgs/tools/inputmethods/m17n-db/default.nix index 92a783f46a4b..60156b9914b4 100644 --- a/pkgs/tools/inputmethods/m17n-db/default.nix +++ b/pkgs/tools/inputmethods/m17n-db/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "m17n-db"; - version = "1.8.0"; + version = "1.8.2"; src = fetchurl { url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz"; - sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5"; + sha256 = "sha256-vHR+J9ct9YoH9DG3JdeuQJIyLbxGEUykBTgoIbK6XGk="; }; nativeBuildInputs = [ gettext ]; From 80bf72d6b0e142c1435751a5f1ad0f3db314127d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 May 2023 07:15:12 +0000 Subject: [PATCH 32/95] vim: 9.0.1441 -> 9.0.1544 --- pkgs/applications/editors/vim/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix index e946139e6e83..4b04decf3aae 100644 --- a/pkgs/applications/editors/vim/common.nix +++ b/pkgs/applications/editors/vim/common.nix @@ -1,12 +1,12 @@ { lib, fetchFromGitHub }: rec { - version = "9.0.1441"; + version = "9.0.1544"; src = fetchFromGitHub { owner = "vim"; repo = "vim"; rev = "v${version}"; - hash = "sha256-tGWOIXx4gNMg0CB4ytUrj9bQLXw+4pl2lfgGR81+EJk="; + hash = "sha256-0YQp2ybNIdrDF9YxlUlBw6H9P6V7Iv12pox1O0lSXGA="; }; enableParallelBuilding = true; From 5d7a3d7bfc913b469c3c8f9d85cb11f30f2aed84 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 May 2023 19:09:31 +0000 Subject: [PATCH 33/95] libevdev: 1.13.0 -> 1.13.1 --- pkgs/development/libraries/libevdev/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libevdev/default.nix b/pkgs/development/libraries/libevdev/default.nix index 6af1e5d87182..90853d5f2db4 100644 --- a/pkgs/development/libraries/libevdev/default.nix +++ b/pkgs/development/libraries/libevdev/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "libevdev"; - version = "1.13.0"; + version = "1.13.1"; src = fetchurl { url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz"; - sha256 = "sha256-nt8gBsyGpQVSeWR8OOySPRGoIe5NwsMDPo0g6O4jfNk="; + sha256 = "sha256-Bqd78qxcmTMFiCvBZBAX9b7BWS1tG2R4e61JKrNPLzY="; }; nativeBuildInputs = [ python3 ]; From f8ea57afbb3f514b00cf3adf65ab99370977a8c8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 May 2023 11:41:04 +0000 Subject: [PATCH 34/95] libaom: 3.6.0 -> 3.6.1 --- pkgs/development/libraries/libaom/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libaom/default.nix b/pkgs/development/libraries/libaom/default.nix index 5129637c80c8..6be0370a1773 100644 --- a/pkgs/development/libraries/libaom/default.nix +++ b/pkgs/development/libraries/libaom/default.nix @@ -8,11 +8,11 @@ let in stdenv.mkDerivation rec { pname = "libaom"; - version = "3.6.0"; + version = "3.6.1"; src = fetchzip { url = "https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"; - sha256 = "sha256-tt19UCsZP99rq6BYBSzSHecyIu4CiimD+P1f3CY2QEU="; + sha256 = "sha256-U7hmKdpjTtqStM4UIjCvgJ2swpZ1x0Px1Q9+gSHbaeQ="; stripRoot = false; }; From c6121c157c1b34a357d88b5f9ada2834aa63e7f7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 May 2023 05:37:09 +0000 Subject: [PATCH 35/95] xterm: 379 -> 380 --- pkgs/applications/terminal-emulators/xterm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/terminal-emulators/xterm/default.nix b/pkgs/applications/terminal-emulators/xterm/default.nix index 78c64e9ca3c3..aad630f384ec 100644 --- a/pkgs/applications/terminal-emulators/xterm/default.nix +++ b/pkgs/applications/terminal-emulators/xterm/default.nix @@ -4,14 +4,14 @@ stdenv.mkDerivation rec { pname = "xterm"; - version = "379"; + version = "380"; src = fetchurl { urls = [ "ftp://ftp.invisible-island.net/xterm/${pname}-${version}.tgz" "https://invisible-mirror.net/archives/xterm/${pname}-${version}.tgz" ]; - hash = "sha256-p93ydO6EuX+xKDZ1AJ1Tyi0CoP/VzlpRGNr8NiPrsxA="; + hash = "sha256-DB3B+oAPpktcWNFt25BecAsnylOKZb6MA7K6V2EQbDg="; }; strictDeps = true; From 95152ad7a0fccb923941956ffb8cd89c583142e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Fri, 28 Apr 2023 12:18:08 +0200 Subject: [PATCH 36/95] gnugrep: 3.7 -> 3.11 Also replace myself as a maintainer --- pkgs/tools/text/gnugrep/default.nix | 9 ++---- .../text/gnugrep/sigsegv-loongarch.patch | 31 ------------------- 2 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 pkgs/tools/text/gnugrep/sigsegv-loongarch.patch diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index fc285bb4c4de..09c6dfc00c71 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -5,7 +5,7 @@ # cgit) that are needed here should be included directly in Nixpkgs as # files. -let version = "3.7"; in +let version = "3.11"; in stdenv.mkDerivation { pname = "gnugrep"; @@ -13,12 +13,9 @@ stdenv.mkDerivation { src = fetchurl { url = "mirror://gnu/grep/grep-${version}.tar.xz"; - sha256 = "0g42svbc1nq5bamxfj6x7320wli4dlj86padk0hwgbk04hqxl42w"; + hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs="; }; - # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b50c6442e43d79471a31a2a202d3e50c0557446f - patches = lib.optional stdenv.hostPlatform.isLoongArch64 ./sigsegv-loongarch.patch; - # Perl is needed for testing nativeBuildInputs = [ perl ] ++ lib.optional stdenv.hostPlatform.isLoongArch64 autoreconfHook; outputs = [ "out" "info" ]; # the man pages are rather small @@ -62,7 +59,7 @@ stdenv.mkDerivation { license = licenses.gpl3Plus; maintainers = [ - maintainers.eelco + maintainers.das_j maintainers.m00wl ]; platforms = platforms.all; diff --git a/pkgs/tools/text/gnugrep/sigsegv-loongarch.patch b/pkgs/tools/text/gnugrep/sigsegv-loongarch.patch deleted file mode 100644 index 19bb2c1d70ca..000000000000 --- a/pkgs/tools/text/gnugrep/sigsegv-loongarch.patch +++ /dev/null @@ -1,31 +0,0 @@ -From b50c6442e43d79471a31a2a202d3e50c0557446f Mon Sep 17 00:00:00 2001 -From: Sun Haiyong -Date: Sat, 4 Sep 2021 15:06:43 +0200 -Subject: sigsegv: Improve cross-compilation support for LoongArch CPU. - -* m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows -down on LoongArch. ---- - m4/stack-direction.m4 | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 -index 9328725..e682be9 100644 ---- a/m4/stack-direction.m4 -+++ b/m4/stack-direction.m4 -@@ -1,4 +1,4 @@ --# stack-direction.m4 serial 7 -+# stack-direction.m4 serial 8 - dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. - dnl This file is free software, distributed under the terms of the GNU - dnl General Public License. As a special exception to the GNU General -@@ -32,6 +32,7 @@ AC_DEFUN([SV_STACK_DIRECTION], - i?86 | x86_64 | \ - i860 | \ - ia64 | \ -+ loongarch* | \ - m32r | \ - m68* | \ - m88k | \ --- -cgit v1.1 From 658c76a54fa14b5a1cbaa966be7dac3fe1fe38a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Fri, 28 Apr 2023 12:26:10 +0200 Subject: [PATCH 37/95] gnugrep: Re-enable check phase by default long-pattern-perf is now disabled by default because the test is expensive. --- pkgs/tools/text/gnugrep/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 09c6dfc00c71..9b6936ec9b65 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -16,17 +16,14 @@ stdenv.mkDerivation { hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs="; }; - # Perl is needed for testing - nativeBuildInputs = [ perl ] ++ lib.optional stdenv.hostPlatform.isLoongArch64 autoreconfHook; + nativeCheckInputs = [ perl ]; outputs = [ "out" "info" ]; # the man pages are rather small buildInputs = [ pcre libiconv ]; # cygwin: FAIL: multibyte-white-space # freebsd: FAIL mb-non-UTF8-performance - # all platforms: timing sensitivity in long-pattern-perf - #doCheck = !stdenv.isDarwin && !stdenv.isSunOS && !stdenv.isCygwin && !stdenv.isFreeBSD; - doCheck = false; + doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD; # On macOS, force use of mkdir -p, since Grep's fallback # (./install-sh) is broken. From 11c8f46850d0f56fa14c880db4e06fade3db2d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Fri, 28 Apr 2023 12:47:45 +0200 Subject: [PATCH 38/95] gnugrep/stdenv: Fix PCRE support by replacing PCRE lib --- pkgs/stdenv/darwin/default.nix | 12 +++++++----- pkgs/stdenv/darwin/make-bootstrap-tools.nix | 4 ++-- pkgs/stdenv/linux/default.nix | 5 +++-- pkgs/stdenv/linux/make-bootstrap-tools.nix | 2 +- pkgs/tools/text/gnugrep/default.nix | 8 +++++--- 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index ffe99da86922..780717db56b8 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -487,7 +487,7 @@ rec { nghttp2.lib coreutils gnugrep - pcre.out + gnugrep.pcre2.out gmp libiconv brotli.lib @@ -563,7 +563,7 @@ rec { nghttp2.lib coreutils gnugrep - pcre.out + gnugrep.pcre2.out gmp libiconv brotli.lib @@ -587,8 +587,9 @@ rec { persistent = self: super: with prevStage; { inherit gnumake gzip gnused bzip2 ed xz patch bash python3 - ncurses libffi zlib gmp pcre gnugrep cmake + ncurses libffi zlib gmp gnugrep cmake coreutils findutils diffutils patchutils ninja libxml2; + inherit (gnugrep) pcre2; # Hack to make sure we don't link ncurses in bootstrap tools. The proper # solution is to avoid passing -L/nix-store/...-bootstrap-tools/lib, @@ -643,8 +644,9 @@ rec { persistent = self: super: with prevStage; { inherit gnumake gzip gnused bzip2 gawk ed xz patch bash - ncurses libffi zlib gmp pcre gnugrep + ncurses libffi zlib gmp gnugrep coreutils findutils diffutils patchutils pbzx; + inherit (gnugrep) pcre2; darwin = super.darwin.overrideScope (_: _: { inherit (darwin) dyld ICU Libsystem Csu libiconv rewrite-tbd; @@ -734,7 +736,7 @@ rec { gawk gnugrep patch - pcre.out + gnugrep.pcre2.out gettext binutils.bintools binutils.bintools.lib diff --git a/pkgs/stdenv/darwin/make-bootstrap-tools.nix b/pkgs/stdenv/darwin/make-bootstrap-tools.nix index 5433e7afecf9..9c580447a6f4 100644 --- a/pkgs/stdenv/darwin/make-bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/make-bootstrap-tools.nix @@ -54,7 +54,7 @@ in rec { chmod -R u+w $out/include cp -rL ${darwin.ICU}/include* $out/include cp -rL ${libiconv}/include/* $out/include - cp -rL ${lib.getDev gnugrep.pcre}/include/* $out/include + cp -rL ${lib.getDev gnugrep.pcre2}/include/* $out/include mv $out/include $out/include-Libsystem # Copy coreutils, bash, etc. @@ -86,7 +86,7 @@ in rec { cp -d ${libssh2.out}/lib/libssh*.dylib $out/lib cp -d ${lib.getLib openssl}/lib/*.dylib $out/lib - cp -d ${gnugrep.pcre.out}/lib/libpcre*.dylib $out/lib + cp -d ${gnugrep.pcre2.out}/lib/libpcre2*.dylib $out/lib cp -d ${lib.getLib libiconv}/lib/lib*.dylib $out/lib cp -d ${lib.getLib gettext}/lib/libintl*.dylib $out/lib chmod +x $out/lib/libintl*.dylib diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 6a743f60c9b2..20e988444559 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -639,7 +639,7 @@ in ] # Library dependencies ++ map getLib ( - [ attr acl zlib pcre libidn2 libunistring ] + [ attr acl zlib gnugrep.pcre2 libidn2 libunistring ] ++ lib.optional (gawk.libsigsegv != null) gawk.libsigsegv ) # More complicated cases @@ -658,7 +658,8 @@ in inherit (prevStage) gzip bzip2 xz bash coreutils diffutils findutils gawk gnused gnutar gnugrep gnupatch patchelf - attr acl zlib pcre libunistring; + attr acl zlib libunistring; + inherit (prevStage.gnugrep) pcre2; ${localSystem.libc} = getLibc prevStage; # Hack: avoid libidn2.{bin,dev} referencing bootstrap tools. There's a logical cycle. diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix index 06750e5c7138..d6c4da0ab2be 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix @@ -130,7 +130,7 @@ in with pkgs; rec { cp -d ${patch}/bin/* $out/bin cp ${patchelf}/bin/* $out/bin - cp -d ${gnugrep.pcre.out}/lib/libpcre*.so* $out/lib # needed by grep + cp -d ${gnugrep.pcre2.out}/lib/libpcre2*.so* $out/lib # needed by grep # Copy what we need of GCC. cp -d ${bootGCC.out}/bin/gcc $out/bin diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 9b6936ec9b65..992645a15db5 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pcre, libiconv, perl, autoreconfHook }: +{ lib, stdenv, fetchurl, pcre2, libiconv, perl, autoreconfHook }: # Note: this package is used for bootstrapping fetchurl, and thus # cannot use fetchpatch! All mutable patches (generated by GitHub or @@ -19,7 +19,7 @@ stdenv.mkDerivation { nativeCheckInputs = [ perl ]; outputs = [ "out" "info" ]; # the man pages are rather small - buildInputs = [ pcre libiconv ]; + buildInputs = [ pcre2 libiconv ]; # cygwin: FAIL: multibyte-white-space # freebsd: FAIL mb-non-UTF8-performance @@ -63,5 +63,7 @@ stdenv.mkDerivation { mainProgram = "grep"; }; - passthru = {inherit pcre;}; + passthru = { + inherit pcre2; + }; } From 10396d0f86dc5f9edefda391bc2bae1c23d80b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Mon, 1 May 2023 11:09:37 +0200 Subject: [PATCH 39/95] gnugrep: Add locales for tests This brings the number of skipped tests down from 48 to 9. --- pkgs/tools/text/gnugrep/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 992645a15db5..a4ee316937af 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pcre2, libiconv, perl, autoreconfHook }: +{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl, autoreconfHook }: # Note: this package is used for bootstrapping fetchurl, and thus # cannot use fetchpatch! All mutable patches (generated by GitHub or @@ -16,7 +16,7 @@ stdenv.mkDerivation { hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs="; }; - nativeCheckInputs = [ perl ]; + nativeCheckInputs = [ perl glibcLocales ]; outputs = [ "out" "info" ]; # the man pages are rather small buildInputs = [ pcre2 libiconv ]; From 92cab8e5974abe06513c3c0669be95725436d759 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 13 May 2023 18:30:12 +0200 Subject: [PATCH 40/95] column, locale: don't import from netbsd on darwin --- pkgs/top-level/unixtools.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/unixtools.nix b/pkgs/top-level/unixtools.nix index 0097852c535c..aa282adf6a3a 100644 --- a/pkgs/top-level/unixtools.nix +++ b/pkgs/top-level/unixtools.nix @@ -61,7 +61,7 @@ let }; column = { linux = pkgs.util-linux; - darwin = pkgs.netbsd.column; + darwin = pkgs.darwin.text_cmds; }; eject = { linux = pkgs.util-linux; @@ -106,7 +106,7 @@ let }; locale = { linux = pkgs.glibc; - darwin = pkgs.netbsd.locale; + darwin = pkgs.darwin.adv_cmds; }; logger = { linux = pkgs.util-linux; From 130872273061c9e9055abd7f35a3c57718358bd8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 00:37:41 +0300 Subject: [PATCH 41/95] audiofile: remove -lgcc on i686-linux --- pkgs/development/libraries/audiofile/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/libraries/audiofile/default.nix b/pkgs/development/libraries/audiofile/default.nix index 7366c6e36377..c6d656388d45 100644 --- a/pkgs/development/libraries/audiofile/default.nix +++ b/pkgs/development/libraries/audiofile/default.nix @@ -28,9 +28,6 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "man" ]; - # fix build with gcc9 - NIX_CFLAGS_LINK = lib.optional (stdenv.system == "i686-linux") "-lgcc"; - # Even when statically linking, libstdc++.la is put in dependency_libs here, # and hence libstdc++.so passed to the linker, just pass -lstdc++ and let the # compiler do what it does best. (libaudiofile.la is a generated file, so we From 8d2846edbba509300e44a7a27e912af835aebf4f Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 16 May 2023 17:43:17 -0600 Subject: [PATCH 42/95] gcc: only disable aligned_alloc for darwin build/host/target platforms (#226290) Before this change a Darwin gcc would output binaries that avoid aligned_alloc, regardless of target platform. That's fine for Darwin targets, but not for non-darwin targets such as pkgsCross.raspberryPi. This change replaces the single configure flag with a flag for each of build, host, target. Idea by @trofi. --- pkgs/development/compilers/gcc/common/pre-configure.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/gcc/common/pre-configure.nix b/pkgs/development/compilers/gcc/common/pre-configure.nix index 406e3cfb7af5..4a631f07d5b2 100644 --- a/pkgs/development/compilers/gcc/common/pre-configure.nix +++ b/pkgs/development/compilers/gcc/common/pre-configure.nix @@ -77,8 +77,12 @@ in lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' # - If GCC allowed implicit declaration of symbols, it would not fail during # compilation even if the configure scripts did not check header presence. # -+ lib.optionalString (hostPlatform.isDarwin) '' - export ac_cv_func_aligned_alloc=no ++ lib.optionalString (buildPlatform.isDarwin) '' + export build_configargs=ac_cv_func_aligned_alloc=no +'' + lib.optionalString (hostPlatform.isDarwin) '' + export host_configargs=ac_cv_func_aligned_alloc=no +'' + lib.optionalString (targetPlatform.isDarwin) '' + export target_configargs=ac_cv_func_aligned_alloc=no '' # In order to properly install libgccjit on macOS Catalina, strip(1) From 0e997bd633a04655002e4080661782cd1649b995 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 16 May 2023 22:42:25 +0300 Subject: [PATCH 43/95] perlPackages.TextWrapI18N: use unixtools.locale --- pkgs/top-level/perl-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 520fa3ff363f..6c0483c67c04 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -25881,7 +25881,7 @@ with self; { buildInputs = lib.optionals (!stdenv.isDarwin) [ pkgs.glibcLocales ]; propagatedBuildInputs = [ TextCharWidth ]; preConfigure = '' - substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${if stdenv.isDarwin then pkgs.darwin.adv_cmds else pkgs.glibc.bin}/bin/locale' + substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${pkgs.unixtools.locale}/bin/locale' ''; meta = { description = "Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words"; From 78123f3ffcdf1e66cac0145e6564b2d5b2fa2d39 Mon Sep 17 00:00:00 2001 From: Isa Date: Wed, 17 May 2023 10:16:38 +0200 Subject: [PATCH 44/95] vim: 9.0.1544 -> 9.0.1562 --- pkgs/applications/editors/vim/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix index 4b04decf3aae..11509795b546 100644 --- a/pkgs/applications/editors/vim/common.nix +++ b/pkgs/applications/editors/vim/common.nix @@ -1,12 +1,12 @@ { lib, fetchFromGitHub }: rec { - version = "9.0.1544"; + version = "9.0.1562"; src = fetchFromGitHub { owner = "vim"; repo = "vim"; rev = "v${version}"; - hash = "sha256-0YQp2ybNIdrDF9YxlUlBw6H9P6V7Iv12pox1O0lSXGA="; + hash = "sha256-+QKh3CxSjwcJ+Rj9RHYHRKSZixkfA1ZCAPDIyV/Npt8="; }; enableParallelBuilding = true; From f172f27981b78becc8fffc9bd5079dff0694665a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 18 May 2023 02:33:22 +0200 Subject: [PATCH 45/95] libcap: 2.68 -> 2.69 https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.iuvg7sbjg8pe https://www.openwall.com/lists/oss-security/2023/05/16/2 Fixes: CVE-2023-2602, CVE-2023-2603 --- pkgs/os-specific/linux/libcap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/libcap/default.nix b/pkgs/os-specific/linux/libcap/default.nix index 553331ab5993..17fcbd128408 100644 --- a/pkgs/os-specific/linux/libcap/default.nix +++ b/pkgs/os-specific/linux/libcap/default.nix @@ -7,11 +7,11 @@ assert usePam -> pam != null; stdenv.mkDerivation rec { pname = "libcap"; - version = "2.68"; + version = "2.69"; src = fetchurl { url = "mirror://kernel/linux/libs/security/linux-privs/libcap2/${pname}-${version}.tar.xz"; - sha256 = "sha256-kL47bUG+X4GuSwPsdgErDSfIKSk2hPbAW2XV+cznJLI="; + sha256 = "sha256-8xH489rYRpnQVm0db37JQ6kpiyj3FMrjyTHf1XSS1+s="; }; outputs = [ "out" "dev" "lib" "man" "doc" ] From 514b0ba424bc7734cd24ebbdb1fe3b2c6b5d0493 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 18 May 2023 12:02:37 +0200 Subject: [PATCH 46/95] dav1d: 1.1.0 -> 1.2.0 Fixes CVE-2023-32570. https://github.com/videolan/dav1d/releases/tag/1.2.0 --- pkgs/development/libraries/dav1d/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix index 13b18d0e859d..d456f1d43ba6 100644 --- a/pkgs/development/libraries/dav1d/default.nix +++ b/pkgs/development/libraries/dav1d/default.nix @@ -10,13 +10,13 @@ assert useVulkan -> withExamples; stdenv.mkDerivation rec { pname = "dav1d"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { owner = "videolan"; repo = pname; rev = version; - hash = "sha256-1k6TsaXI9nwrBXTj3hncblkQuN/bvDudWDCsx4E4iwY="; + hash = "sha256-Y9wqa6lIs0eKT+q+95gjzfHIc3pglXzLNaDjsWy1gok="; }; outputs = [ "out" "dev" ]; From a695425e46a89a879fbe290a4ffa162c2b4a20c9 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Thu, 18 May 2023 00:19:21 +0200 Subject: [PATCH 47/95] linux: manual-config: use a non-random path for $buildRoot Fixes reproducibility issues with x86/amd64 VDSO ELFs Build-IDs. The kernel build system tries pretty hard to not leak build file paths in its output. However, the embedded VDSO ELF files are built using slightly different build options that do not include the path mapping options that protect the rest of the kernel against this issue. This should be fixed upstream eventually, but a lot of this logic is duplicated across architecture, so I don't expect it will be a trivial fix. Instead, make our derivation use a fixed build root directory so this does not impact the build reproducibility. Fixes #227800. --- pkgs/os-specific/linux/kernel/manual-config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 6d1ad766d684..4a623fda9bec 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -179,7 +179,8 @@ stdenv.mkDerivation ({ configurePhase = '' runHook preConfigure - export buildRoot=$(mktemp -d) + export buildRoot=$TMPDIR/kernel-buildroot + mkdir -p $buildRoot echo "manual-config configurePhase buildRoot=$buildRoot pwd=$PWD" From 273d862e4698cf64032fc01fad1398ae7f92ac92 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 18 Apr 2023 19:12:31 -0400 Subject: [PATCH 48/95] gst_all_1: fix gst-python comment --- pkgs/development/libraries/gstreamer/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix index 6207cf4fc566..662009005e36 100644 --- a/pkgs/development/libraries/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/default.nix @@ -48,5 +48,5 @@ ipu6-camera-hal = ipu6ep-camera-hal; }; - # note: gst-python is in ./python/default.nix - called under pythonPackages + # note: gst-python is in ../../python-modules/gst-python - called under python3Packages } From a3ed53beabcb2cdbef1aa974494eb721453b8f97 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 18 Apr 2023 19:12:54 -0400 Subject: [PATCH 49/95] python3Packages.gst-python: adopt maintainership as lilyinstarlight --- pkgs/development/python-modules/gst-python/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 9c30ebc68159..17bf2042cdc4 100644 --- a/pkgs/development/python-modules/gst-python/default.nix +++ b/pkgs/development/python-modules/gst-python/default.nix @@ -61,5 +61,6 @@ buildPythonPackage rec { homepage = "https://gstreamer.freedesktop.org"; description = "Python bindings for GStreamer"; license = licenses.lgpl2Plus; + maintainers = with maintainers; [ lilyinstarlight ]; }; } From bae09e73193c9df84811f2a52b2b74fbc27aa91e Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 18 Apr 2023 19:13:12 -0400 Subject: [PATCH 50/95] gst_all_1.*: adopt maintainership as lilyinstarlight --- pkgs/development/libraries/gstreamer/bad/default.nix | 2 +- pkgs/development/libraries/gstreamer/base/default.nix | 2 +- pkgs/development/libraries/gstreamer/core/default.nix | 2 +- pkgs/development/libraries/gstreamer/devtools/default.nix | 1 + pkgs/development/libraries/gstreamer/ges/default.nix | 1 + pkgs/development/libraries/gstreamer/good/default.nix | 2 +- pkgs/development/libraries/gstreamer/libav/default.nix | 1 + pkgs/development/libraries/gstreamer/rtsp-server/default.nix | 2 +- pkgs/development/libraries/gstreamer/ugly/default.nix | 2 +- pkgs/development/libraries/gstreamer/vaapi/default.nix | 2 +- 10 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index bb1acbe6fdb3..37d6ed324d50 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -361,6 +361,6 @@ stdenv.mkDerivation rec { ''; license = if enableGplPlugins then licenses.gpl2Plus else licenses.lgpl2Plus; platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ matthewbauer ]; + maintainers = with maintainers; [ matthewbauer lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index 652f949f7226..95d6ca604d20 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -168,6 +168,6 @@ stdenv.mkDerivation (finalAttrs: { "gstreamer-video-1.0" ]; platforms = platforms.unix; - maintainers = with maintainers; [ matthewbauer ]; + maintainers = with maintainers; [ matthewbauer lilyinstarlight ]; }; }) diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index 88101ceea41d..6243e0b09147 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -120,6 +120,6 @@ stdenv.mkDerivation (finalAttrs: { "gstreamer-controller-1.0" ]; platforms = platforms.unix; - maintainers = with maintainers; [ ttuegel matthewbauer ]; + maintainers = with maintainers; [ ttuegel matthewbauer lilyinstarlight ]; }; }) diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index 471de787e197..abe9b06e98a7 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -65,5 +65,6 @@ stdenv.mkDerivation rec { homepage = "https://gstreamer.freedesktop.org"; license = licenses.lgpl2Plus; platforms = platforms.unix; + maintainers = with maintainers; [ lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix index 8beedddeeebb..b61e40055d67 100644 --- a/pkgs/development/libraries/gstreamer/ges/default.nix +++ b/pkgs/development/libraries/gstreamer/ges/default.nix @@ -69,5 +69,6 @@ stdenv.mkDerivation rec { homepage = "https://gstreamer.freedesktop.org"; license = licenses.lgpl2Plus; platforms = platforms.unix; + maintainers = with maintainers; [ lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix index c8efbbfd874c..73302a6fda24 100644 --- a/pkgs/development/libraries/gstreamer/good/default.nix +++ b/pkgs/development/libraries/gstreamer/good/default.nix @@ -190,6 +190,6 @@ stdenv.mkDerivation rec { ''; license = licenses.lgpl2Plus; platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ matthewbauer ]; + maintainers = with maintainers; [ matthewbauer lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/libav/default.nix b/pkgs/development/libraries/gstreamer/libav/default.nix index b51a103c0855..144757b2cd7d 100644 --- a/pkgs/development/libraries/gstreamer/libav/default.nix +++ b/pkgs/development/libraries/gstreamer/libav/default.nix @@ -57,5 +57,6 @@ stdenv.mkDerivation rec { homepage = "https://gstreamer.freedesktop.org"; license = licenses.lgpl2Plus; platforms = platforms.unix; + maintainers = with maintainers; [ lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix index 0f8a2f59c577..60716d46daac 100644 --- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix +++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix @@ -62,6 +62,6 @@ stdenv.mkDerivation rec { ''; license = licenses.lgpl2Plus; platforms = platforms.unix; - maintainers = with maintainers; [ bkchr ]; + maintainers = with maintainers; [ bkchr lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix index 0ebc61565ba6..39ee5d071343 100644 --- a/pkgs/development/libraries/gstreamer/ugly/default.nix +++ b/pkgs/development/libraries/gstreamer/ugly/default.nix @@ -93,6 +93,6 @@ stdenv.mkDerivation rec { ''; license = if enableGplPlugins then licenses.gpl2Plus else licenses.lgpl2Plus; platforms = platforms.unix; - maintainers = with maintainers; [ matthewbauer ]; + maintainers = with maintainers; [ matthewbauer lilyinstarlight ]; }; } diff --git a/pkgs/development/libraries/gstreamer/vaapi/default.nix b/pkgs/development/libraries/gstreamer/vaapi/default.nix index b34581ed3435..b2566a60e205 100644 --- a/pkgs/development/libraries/gstreamer/vaapi/default.nix +++ b/pkgs/development/libraries/gstreamer/vaapi/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { description = "Set of VAAPI GStreamer Plug-ins"; homepage = "https://gstreamer.freedesktop.org"; license = licenses.lgpl21Plus; - maintainers = with maintainers; [ ]; platforms = platforms.linux; + maintainers = with maintainers; [ lilyinstarlight ]; }; } From 9d2e951570b07c7327d4ac21330a37d0d91cb978 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 19 May 2023 04:20:00 +0000 Subject: [PATCH 51/95] libuv: 1.44.2 -> 1.45.0 Diff: https://github.com/libuv/libuv/compare/v1.44.2...v1.45.0 Changelog: https://github.com/libuv/libuv/blob/v1.45.0/ChangeLog --- pkgs/development/libraries/libuv/default.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/pkgs/development/libraries/libuv/default.nix b/pkgs/development/libraries/libuv/default.nix index 495d760f0b61..47e29e4b1d1b 100644 --- a/pkgs/development/libraries/libuv/default.nix +++ b/pkgs/development/libraries/libuv/default.nix @@ -1,27 +1,18 @@ -{ stdenv, lib, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices, pkgsStatic }: +{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices, pkgsStatic }: stdenv.mkDerivation rec { - version = "1.44.2"; + version = "1.45.0"; pname = "libuv"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-K6v+00basjI32ON27ZjC5spQi/zWCcslDwQwyosq2iY="; + sha256 = "sha256-qKw9QFR24Uw7pVA9isPH8Va+9/5DYuqXz6l6jWcXn+4="; }; outputs = [ "out" "dev" ]; - patches = [ - # Fix tests for statically linked variant upstream PR is - # https://github.com/libuv/libuv/pull/3735 - (fetchpatch { - url = "https://github.com/libuv/libuv/commit/9d898acc564351dde74e9ed9865144e5c41f5beb.patch"; - sha256 = "sha256-6XsjrseD8a+ny887EKOX0NmHocLMXGf2YL13vkNHUZ0="; - }) - ]; - postPatch = let toDisable = [ "getnameinfo_basic" "udp_send_hang_loop" # probably network-dependent @@ -30,7 +21,7 @@ stdenv.mkDerivation rec { "getaddrinfo_fail" "getaddrinfo_fail_sync" "threadpool_multiple_event_loops" # times out on slow machines "get_passwd" # passed on NixOS but failed on other Linuxes - "tcp_writealot" "udp_multicast_join" "udp_multicast_join6" # times out sometimes + "tcp_writealot" "udp_multicast_join" "udp_multicast_join6" "metrics_pool_events" # times out sometimes "fs_fstat" # https://github.com/libuv/libuv/issues/2235#issuecomment-1012086927 # Assertion failed in test/test-tcp-bind6-error.c on line 60: r == UV_EADDRINUSE From 99a83b49645c59a8ffed79b164909c1e75507015 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 10 May 2023 12:00:34 +0000 Subject: [PATCH 52/95] libclc: 15.0.7 -> 16.0.3 --- pkgs/development/libraries/libclc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/libclc/default.nix b/pkgs/development/libraries/libclc/default.nix index 647079ae2fb4..7f1580bd1074 100644 --- a/pkgs/development/libraries/libclc/default.nix +++ b/pkgs/development/libraries/libclc/default.nix @@ -7,22 +7,22 @@ in stdenv.mkDerivation rec { pname = "libclc"; - version = "15.0.7"; + version = "16.0.3"; src = fetchFromGitHub { owner = "llvm"; repo = "llvm-project"; rev = "llvmorg-${version}"; - sha256 = "sha256-wjuZQyXQ/jsmvy6y1aksCcEDXGBjuhpgngF3XQJ/T4s="; + hash = "sha256-paWwnoU3XMqreRgh9JbT1tDMTwq/ZL0ss3SJTteEGL0="; }; sourceRoot = "source/libclc"; # cmake expects all required binaries to be in the same place, so it will not be able to find clang without the patch postPatch = '' substituteInPlace CMakeLists.txt \ - --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \ + --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ 'find_program( LLVM_CLANG clang PATHS "${clang-unwrapped}/bin" NO_DEFAULT_PATH )' \ - --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \ + --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ 'find_program( LLVM_SPIRV llvm-spirv PATHS "${spirv-llvm-translator}/bin" NO_DEFAULT_PATH )' ''; From ab036e45ac19e29b2fa914bc04e1e7318a3f8861 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 10 May 2023 12:11:25 +0000 Subject: [PATCH 53/95] libclc: fix cross --- pkgs/development/libraries/libclc/default.nix | 30 ++++++++++++------- pkgs/top-level/all-packages.nix | 4 +-- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/pkgs/development/libraries/libclc/default.nix b/pkgs/development/libraries/libclc/default.nix index 7f1580bd1074..1db2819a57b5 100644 --- a/pkgs/development/libraries/libclc/default.nix +++ b/pkgs/development/libraries/libclc/default.nix @@ -1,9 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, ninja, cmake, python3, llvmPackages, spirv-llvm-translator }: - -let - llvm = llvmPackages.llvm; - clang-unwrapped = llvmPackages.clang-unwrapped; -in +{ lib, stdenv, fetchFromGitHub, buildPackages, ninja, cmake, python3, llvm_14 }: stdenv.mkDerivation rec { pname = "libclc"; @@ -17,22 +12,37 @@ stdenv.mkDerivation rec { }; sourceRoot = "source/libclc"; + outputs = [ "out" "dev" ]; + # cmake expects all required binaries to be in the same place, so it will not be able to find clang without the patch postPatch = '' substituteInPlace CMakeLists.txt \ --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ - 'find_program( LLVM_CLANG clang PATHS "${clang-unwrapped}/bin" NO_DEFAULT_PATH )' \ + 'find_program( LLVM_CLANG clang PATHS "${buildPackages.clang_14.cc}/bin" NO_DEFAULT_PATH )' \ + --replace 'find_program( LLVM_AS llvm-as PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ + 'find_program( LLVM_AS llvm-as PATHS "${buildPackages.llvm_14}/bin" NO_DEFAULT_PATH )' \ + --replace 'find_program( LLVM_LINK llvm-link PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ + 'find_program( LLVM_LINK llvm-link PATHS "${buildPackages.llvm_14}/bin" NO_DEFAULT_PATH )' \ + --replace 'find_program( LLVM_OPT opt PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ + 'find_program( LLVM_OPT opt PATHS "${buildPackages.llvm_14}/bin" NO_DEFAULT_PATH )' \ --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \ - 'find_program( LLVM_SPIRV llvm-spirv PATHS "${spirv-llvm-translator}/bin" NO_DEFAULT_PATH )' + 'find_program( LLVM_SPIRV llvm-spirv PATHS "${buildPackages.spirv-llvm-translator}/bin" NO_DEFAULT_PATH )' + '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' + substituteInPlace CMakeLists.txt \ + --replace 'COMMAND prepare_builtins' 'COMMAND ${buildPackages.libclc.dev}/bin/prepare_builtins' ''; - nativeBuildInputs = [ cmake ninja python3 spirv-llvm-translator ]; - buildInputs = [ llvm clang-unwrapped ]; + nativeBuildInputs = [ cmake ninja python3 ]; + buildInputs = [ llvm_14 ]; strictDeps = true; cmakeFlags = [ "-DCMAKE_INSTALL_INCLUDEDIR=include" ]; + postInstall = '' + install -Dt $dev/bin prepare_builtins + ''; + meta = with lib; { broken = stdenv.isDarwin; homepage = "http://libclc.llvm.org/"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ef40c1232340..f9cab4987546 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21501,9 +21501,7 @@ with pkgs; libcint = callPackage ../development/libraries/libcint { }; - libclc = callPackage ../development/libraries/libclc { - llvmPackages = llvmPackages_14; - }; + libclc = callPackage ../development/libraries/libclc { }; libcli = callPackage ../development/libraries/libcli { }; From 2dde3712ed6466c3444cd50d218c3ddfcf0ee99b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 May 2023 09:25:39 +0000 Subject: [PATCH 54/95] fribidi: 1.0.12 -> 1.0.13 --- pkgs/development/libraries/fribidi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/fribidi/default.nix b/pkgs/development/libraries/fribidi/default.nix index 0c8c4c23be5a..613725a2672e 100644 --- a/pkgs/development/libraries/fribidi/default.nix +++ b/pkgs/development/libraries/fribidi/default.nix @@ -10,14 +10,14 @@ stdenv.mkDerivation rec { pname = "fribidi"; - version = "1.0.12"; + version = "1.0.13"; outputs = [ "out" "dev" "devdoc" ]; # NOTE: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application. src = fetchurl { url = "https://github.com/fribidi/fribidi/releases/download/v${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-DNIz+X/IxnuzrCfOhEDe9dP/rPUWdluRwsxlRJgpNJU="; + sha256 = "sha256-f6FsgMgb1iL3sZjTE1baE5zDGKY/x3YSF69BMJA/VKI="; }; postPatch = '' From 9ee245dce612a9cb5533c2d74ebe650abefdce8b Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:33:37 -0400 Subject: [PATCH 55/95] gst_all_1.gstreamer: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index 6243e0b09147..e6c9d2222d18 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gstreamer"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "bin" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { inherit (finalAttrs) pname version; in fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-sq/nNgOSHGCLpIlp27fXQ3dnRL/l2AWeziQRN7f4jiE="; + hash = "sha256-n/6rlQU/n2mV6zs9oiXojyHBKc1g2gAtP3ldtw1tWXQ="; }; depsBuildBuild = [ From 9f70ed7d490ba754734d4e87ab988d92728e3430 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:33:50 -0400 Subject: [PATCH 56/95] gst_all_1.gst-plugins-base: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/base/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index 95d6ca604d20..370d868ec2c7 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-plugins-base"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "out" "dev" ]; @@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { inherit (finalAttrs) pname version; in fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-62USDE7nm3oVPDwZctXAFYwhUYd8xR7Hclu6V0lnnUk="; + hash = "sha256-HFliiaDUIHOAIz66jDapMsTRrOuhmTKTfZtXwkzvifM="; }; strictDeps = true; From 3d447156f4eea976e9e0cb9fc23b181f315f5544 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:34:03 -0400 Subject: [PATCH 57/95] gst_all_1.gst-plugins-good: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/good/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix index 73302a6fda24..ef6143b36ec9 100644 --- a/pkgs/development/libraries/gstreamer/good/default.nix +++ b/pkgs/development/libraries/gstreamer/good/default.nix @@ -52,13 +52,13 @@ assert raspiCameraSupport -> (stdenv.isLinux && stdenv.isAarch64); stdenv.mkDerivation rec { pname = "gst-plugins-good"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "out" "dev" ]; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-fIzFlCXysjL2DKfRPlbt1hXaT3Eec90Bp8/6Rua8DN0="; + hash = "sha256-r4EVSzou8/TS/ro5XyVpb+6m/RPsYsktPHqXNHBxAnM="; }; strictDeps = true; From 2c3f7d72f4095dc9819e418db45d56aee4d3b3c2 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:34:11 -0400 Subject: [PATCH 58/95] gst_all_1.gst-plugins-bad: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/bad/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index 37d6ed324d50..174babe12834 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -23,7 +23,6 @@ , lcms2 , libnice , webrtc-audio-processing -, webrtc-audio-processing_1 , lilv , lv2 , serd @@ -108,13 +107,13 @@ stdenv.mkDerivation rec { pname = "gst-plugins-bad"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "out" "dev" ]; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-PY+vHONALIU1zjqMThpslg5LVlXb2mtVlD25rHkCLQ8="; + hash = "sha256-4XmP7i2GEn8GN0gcYH+YMpO/D9garXClx7RyBa82Idg="; }; patches = [ From b8db77551974857881a5d611d84bd5e53d10bb53 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:34:21 -0400 Subject: [PATCH 59/95] gst_all_1.gst-plugins-ugly: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/ugly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix index 39ee5d071343..c0926dfc5067 100644 --- a/pkgs/development/libraries/gstreamer/ugly/default.nix +++ b/pkgs/development/libraries/gstreamer/ugly/default.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "gst-plugins-ugly"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "out" "dev" ]; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-jzD0TbC9BjcJv2++VROOOpivCry2HDYPNVgrvhDoBpE="; + hash = "sha256-PcmO1cIpM2izxObOVdib6DSgpi6b+I7xeSjPA7fVo2A="; }; nativeBuildInputs = [ From ce3b3a930121b2fcaaf3d0f3f62bc2211da62f65 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:34:58 -0400 Subject: [PATCH 60/95] gst_all_1.gst-libav: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/libav/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/libav/default.nix b/pkgs/development/libraries/gstreamer/libav/default.nix index 144757b2cd7d..a1271fab91f4 100644 --- a/pkgs/development/libraries/gstreamer/libav/default.nix +++ b/pkgs/development/libraries/gstreamer/libav/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "gst-libav"; - version = "1.22.2"; + version = "1.22.3"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-/Kr5h4/o87yCMX7xOhVYgky2jfH4loxnl/VWxeM7z/0="; + hash = "sha256-LsXIBYCLQ3Gn4ysdoCAqHIprNrbOkFCAv1w0CX0SqSM="; }; outputs = [ "out" "dev" ]; From 5a1d3ebf39050af28098e7395cb29c71bde2ca99 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:35:06 -0400 Subject: [PATCH 61/95] gst_all_1.gst-vaapi: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/vaapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/vaapi/default.nix b/pkgs/development/libraries/gstreamer/vaapi/default.nix index b2566a60e205..0662cdd8e429 100644 --- a/pkgs/development/libraries/gstreamer/vaapi/default.nix +++ b/pkgs/development/libraries/gstreamer/vaapi/default.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation rec { pname = "gstreamer-vaapi"; - version = "1.22.2"; + version = "1.22.3"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-0uZC+XRfl9n3On9Qhedlmpox/iCbd05uRdrgQbQ13wY="; + hash = "sha256-onhnBi6LaTBfylt9PxPtfDGLcD59cnVslDlb0wXHsyw="; }; outputs = [ From 08f74f2c8bcf4cd6434b029e653f962716670dd5 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:35:35 -0400 Subject: [PATCH 62/95] gst_all_1.gst-rtsp-server: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/rtsp-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix index 60716d46daac..2fe745e0329e 100644 --- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix +++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix @@ -15,11 +15,11 @@ stdenv.mkDerivation rec { pname = "gst-rtsp-server"; - version = "1.22.2"; + version = "1.22.3"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-K+Suz7iHEBAOpxFe0CFkA+gJQ0Tr8UYJQnG41Nc4KL8="; + hash = "sha256-0Co536m9v5mj3S03jheUKzzkLf42+wwn4tCwFyL8Vh0="; }; outputs = [ From 4ba3163184ea0ef57ee25edb76fa63d14ef65d6b Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:35:46 -0400 Subject: [PATCH 63/95] gst_all_1.gst-devtools: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/devtools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index abe9b06e98a7..8837a0a0e93d 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation rec { pname = "gst-devtools"; - version = "1.22.2"; + version = "1.22.3"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-62JybT4nqHgjaaJP1jZKiIXtJGKzu9qwkd/8gTnuBtg="; + hash = "sha256-RGrJxC1QLL/ZCBc3zBuFOzwfUNt3ynzNAa6hD2h1UME="; }; outputs = [ From f239891b8b1f8a37c3b2bad8a800175a8ee232a6 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:36:01 -0400 Subject: [PATCH 64/95] gst_all_1.gst-editing-services: 1.22.2 -> 1.22.3 --- pkgs/development/libraries/gstreamer/ges/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix index b61e40055d67..e5f8ed02061a 100644 --- a/pkgs/development/libraries/gstreamer/ges/default.nix +++ b/pkgs/development/libraries/gstreamer/ges/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { pname = "gst-editing-services"; - version = "1.22.2"; + version = "1.22.3"; outputs = [ "out" @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-RTsUZPw4V94mmnyw69lmr+Ahcdl772cqC4oKbUPgzr8="; + hash = "sha256-FaW85iUJseEl6FoJ7EHzIcD1SSZLUETACV/PstXAzqI="; }; nativeBuildInputs = [ From 1494009afb85d61d37c44567bd5ad7ac9cb02795 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Fri, 19 May 2023 18:38:05 -0400 Subject: [PATCH 65/95] python3Packages.gst-python: 1.22.2 -> 1.22.3 --- pkgs/development/python-modules/gst-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 17bf2042cdc4..386dd82e8296 100644 --- a/pkgs/development/python-modules/gst-python/default.nix +++ b/pkgs/development/python-modules/gst-python/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "gst-python"; - version = "1.22.2"; + version = "1.22.3"; format = "other"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchurl { url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz"; - hash = "sha256-vvKz2Czkvka3dbG7VjBcEAPuAbU1pTqC+f6JJJchU60="; + hash = "sha256-cL7T+r5jS8Yi723k5uscM7yc79ZL2rIA9voxa0aMcxw="; }; # Python 2.x is not supported. From f7cb3244103584aae65e9ebc2cd24206a95c1898 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 17 May 2023 12:55:36 +1000 Subject: [PATCH 66/95] python310Packages.mkdocs-material: 9.1.8 -> 9.1.13 Diff: https://github.com/squidfunk/mkdocs-material/compare/refs/tags/9.1.8...9.1.13 --- pkgs/development/python-modules/mkdocs-material/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index 1af375762dc7..7f45b1ecc7ae 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "mkdocs-material"; - version = "9.1.8"; + version = "9.1.13"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "squidfunk"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-a0AeRjS0fV4q3z6MPZBBv8Ffv61W3zHPrnPT4evBnaw="; + hash = "sha256-S+cCNcQR8Y1UGj+4Nfy9Z10N/9PRq13fSeR2YFntxWI="; }; nativeBuildInputs = [ From f694182c62d3cde22049fa75c427f49f0f4e8747 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 20 May 2023 03:03:44 +0200 Subject: [PATCH 67/95] python310Packages.sqlalchemy: 2.0.13 -> 2.0.15 https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel_2_0_14 https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel_2_0_15 --- pkgs/development/python-modules/sqlalchemy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix index a8bd111f26df..a65eec40d9ef 100644 --- a/pkgs/development/python-modules/sqlalchemy/default.nix +++ b/pkgs/development/python-modules/sqlalchemy/default.nix @@ -41,7 +41,7 @@ buildPythonPackage rec { pname = "SQLAlchemy"; - version = "2.0.13"; + version = "2.0.15"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -50,7 +50,7 @@ buildPythonPackage rec { owner = "sqlalchemy"; repo = "sqlalchemy"; rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-tKxzKv0Ng0saybeFJNleCN5D8gOFw4z9m858OeddJH0="; + hash = "sha256-05GhFearTA9At8MgmEfeXfbS3MAZ0Rmx8jER18q7fmI="; }; nativeBuildInputs =[ From 37bb0dc70d30ae3fd60070140b24791db6797b6d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 May 2023 03:13:14 +0000 Subject: [PATCH 68/95] harfbuzz: 7.2.0 -> 7.3.0 --- pkgs/development/libraries/harfbuzz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 24d00992eaab..41e29d0d88a3 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -34,11 +34,11 @@ stdenv.mkDerivation rec { pname = "harfbuzz${lib.optionalString withIcu "-icu"}"; - version = "7.2.0"; + version = "7.3.0"; src = fetchurl { url = "https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"; - hash = "sha256-/FVgyAfq4O/V+VtapMZYAMeo7tZkIAimsefj//94c8w="; + hash = "sha256-IHcHiXSaybqEbfM5g9vaItuDbHDZ9dBQy5qlNHCUqPs="; }; postPatch = '' From 893efdc64986636b82e3eb3d0cb2f64febc88fe2 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 20 May 2023 04:20:00 +0000 Subject: [PATCH 69/95] m17n_db: add changelog to meta --- pkgs/tools/inputmethods/m17n-db/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/inputmethods/m17n-db/default.nix b/pkgs/tools/inputmethods/m17n-db/default.nix index 60156b9914b4..a8bffd9989a9 100644 --- a/pkgs/tools/inputmethods/m17n-db/default.nix +++ b/pkgs/tools/inputmethods/m17n-db/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.nongnu.org/m17n/"; description = "Multilingual text processing library (database)"; + changelog = "https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/plain/NEWS?h=REL-${lib.replaceStrings [ "." ] [ "-" ] version}"; license = lib.licenses.lgpl21Plus; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ astsmtl ]; From 656cdba3863e2044b1d82319b412f550c8660feb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 May 2023 09:01:10 +0000 Subject: [PATCH 70/95] alsa-lib: 1.2.8 -> 1.2.9 --- pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix b/pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix index 560f2bf30147..f0eb34906073 100644 --- a/pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix +++ b/pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "alsa-lib"; - version = "1.2.8"; + version = "1.2.9"; src = fetchurl { url = "mirror://alsa/lib/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; - hash = "sha256-GrAbdOM0JcqZwuNsCET9aIgnMZO9iYJA/o+TrMvL80c="; + hash = "sha256-3JxkP9xMz9BXLMaFhY3UHgivtYPzBGCzF+QYgnX2FbI="; }; patches = [ From 33b4c4e7bbbcbca16c26803d53d87a17ee683649 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 May 2023 10:56:00 +0000 Subject: [PATCH 71/95] rav1e: 0.6.4 -> 0.6.6 --- pkgs/tools/video/rav1e/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/video/rav1e/default.nix b/pkgs/tools/video/rav1e/default.nix index 64667b90a066..b5b66ec34751 100644 --- a/pkgs/tools/video/rav1e/default.nix +++ b/pkgs/tools/video/rav1e/default.nix @@ -35,14 +35,14 @@ let in rustPlatform.buildRustPackage rec { pname = "rav1e"; - version = "0.6.4"; + version = "0.6.6"; src = fetchCrate { inherit pname version; - sha256 = "sha256-G7o82MAZmMOfs1wp3AVUgXxDW6Txuc0qTm5boRpXF6g="; + sha256 = "sha256-urYMT1sJUMBj1L/2Hi+hcYbWbi0ScSls0pm9gLj9H3o="; }; - cargoHash = "sha256-12bePpI8z35gzCHGKDpaGUVvosQqijP60NCgElHDsyw="; + cargoHash = "sha256-qQfEpynhlIEKU1Ptq/jM1Wdtn+BVCZT1lmou2S1GL4I="; depsBuildBuild = [ pkg-config ]; From 093a5ffd972947fc30601469a73849126e5b9ccd Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sat, 20 May 2023 07:14:49 -0400 Subject: [PATCH 72/95] gst_all_1.gst-plugins-rs: enable audiofx and hotdoc I also threw in a couple of drive-by nit fixes. --- .../libraries/gstreamer/rs/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/rs/default.nix b/pkgs/development/libraries/gstreamer/rs/default.nix index 5ad11cef9dcd..b50d7d45180f 100644 --- a/pkgs/development/libraries/gstreamer/rs/default.nix +++ b/pkgs/development/libraries/gstreamer/rs/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchFromGitLab -, fetchpatch , writeText , rustPlatform , meson @@ -27,11 +26,14 @@ , Security , gst-plugins-good , nix-update-script +# specifies a limited subset of plugins to build (the default `null` means all plugins supported on the stdenv platform) +, plugins ? null +# Checks meson.is_cross_build(), so even canExecute isn't enough. +, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform && plugins == null +, hotdoc # TODO: required for case-insensitivity hack below , yq , moreutils -# specify a limited set of plugins to build if not all supported plugins -, plugins ? null }: let @@ -94,7 +96,6 @@ let selectedPlugins = if plugins != null then lib.unique (lib.sort lib.lessThan plugins) else lib.subtractLists ( [ - "audiofx" # tests have race-y failure, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/337 "csound" # tests have weird failure on x86, does not currently work on arm or darwin ] ++ lib.optionals stdenv.isDarwin [ "reqwest" # tests hang on darwin @@ -161,6 +162,8 @@ stdenv.mkDerivation rec { cargo cargo-c nasm + ] ++ lib.optionals enableDocumentation [ + hotdoc ]; buildInputs = [ @@ -177,7 +180,7 @@ stdenv.mkDerivation rec { map (plugin: lib.mesonEnable plugin true) selectedPlugins ) ++ [ (lib.mesonOption "sodium-source" "system") - (lib.mesonEnable "doc" false) # `hotdoc` not packaged in nixpkgs as of writing + (lib.mesonEnable "doc" enableDocumentation) ] ++ (let crossFile = writeText "cross-file.conf" '' [binaries] @@ -187,7 +190,7 @@ stdenv.mkDerivation rec { "--cross-file=${crossFile}" ]); - # turn off all auto plugins if a list is specified + # turn off all auto plugins since we use a list of plugins we generate mesonAutoFeatures = "disabled"; doCheck = true; From 50894cc85b9529da829d5d21f93625eb59000232 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 May 2023 12:45:15 +0000 Subject: [PATCH 73/95] liblc3: 1.0.2 -> 1.0.3 --- pkgs/development/libraries/liblc3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/liblc3/default.nix b/pkgs/development/libraries/liblc3/default.nix index e246732963ca..3e27e4064c59 100644 --- a/pkgs/development/libraries/liblc3/default.nix +++ b/pkgs/development/libraries/liblc3/default.nix @@ -7,7 +7,7 @@ let name = "liblc3"; - version = "1.0.2"; + version = "1.0.3"; in stdenv.mkDerivation { pname = name; @@ -17,7 +17,7 @@ stdenv.mkDerivation { owner = "google"; repo = "liblc3"; rev = "v${version}"; - sha256 = "sha256-Be+dPUnxC2+cHzqL2FAqXOU7NjEAHiPBKh7spuYkvhc="; + sha256 = "sha256-PEnK12FWAtxOMR3WyuxOQTgF+lD9S5YX+oKuWRbFfXM="; }; outputs = [ "out" "dev" ]; From 0c5ec23f1346027ba410f4c881af124b4b3a3b9b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 May 2023 23:44:39 +0000 Subject: [PATCH 74/95] roc-toolkit: 0.2.3 -> 0.2.4 --- pkgs/development/libraries/audio/roc-toolkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/audio/roc-toolkit/default.nix b/pkgs/development/libraries/audio/roc-toolkit/default.nix index 7b3dfee253de..878f499ccbbb 100644 --- a/pkgs/development/libraries/audio/roc-toolkit/default.nix +++ b/pkgs/development/libraries/audio/roc-toolkit/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { pname = "roc-toolkit"; - version = "0.2.3"; + version = "0.2.4"; outputs = [ "out" "dev" ]; @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { owner = "roc-streaming"; repo = "roc-toolkit"; rev = "v${version}"; - hash = "sha256-wwcc2r1hrM9zryMJp+DOifSh0g6T/gdZJMpVdhqhjR8="; + hash = "sha256-x4+/MIFKcos9xWhvSNWdsUQA2oLiyYS0MJE60HY/3hQ="; }; nativeBuildInputs = [ From 15ebb22402989f6438f5bbb921e562fd619a61e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Sun, 21 May 2023 23:54:38 +0200 Subject: [PATCH 75/95] nettle: 3.8.1 -> 3.9 --- pkgs/development/libraries/nettle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nettle/default.nix b/pkgs/development/libraries/nettle/default.nix index 1ce011a3231c..ba133320da57 100644 --- a/pkgs/development/libraries/nettle/default.nix +++ b/pkgs/development/libraries/nettle/default.nix @@ -1,10 +1,10 @@ { callPackage, fetchurl }: callPackage ./generic.nix rec { - version = "3.8.1"; + version = "3.9"; src = fetchurl { url = "mirror://gnu/nettle/nettle-${version}.tar.gz"; - hash = "sha256-Nk8+K3fNfc3oP9fEUhnINOVLDHXkKLb4lKI9Et1By/4="; + hash = "sha256-Duet9acgFhC7f+Csu3ybO+g75EkE3TXrvNllzYlr/qo="; }; } From 7b61a60758f6b12ade200d015db79cb2a5be2d3c Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 18 May 2023 15:36:41 -0600 Subject: [PATCH 76/95] util-linux: 2.38.1 -> 2.39 --- pkgs/os-specific/linux/util-linux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index 3c8b7f6663f1..fc98abcf0fd5 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -16,11 +16,11 @@ stdenv.mkDerivation rec { pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal"; - version = "2.38.1"; + version = "2.39"; src = fetchurl { url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/util-linux-${version}.tar.xz"; - hash = "sha256-YEkqGbRObPmj3f9oMlszO4tStsWc4+vWoOyqTFEX6E8="; + hash = "sha256-MrMKM2zakDGC7WH+s+m5CLdipeZv4U5D77iNNxYgdcs="; }; patches = [ From b1a49db9145f61ba299f4ac68e203822a15b1d96 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 18 May 2023 15:37:17 -0600 Subject: [PATCH 77/95] util-linux: add darwin support --- pkgs/os-specific/linux/util-linux/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index fc98abcf0fd5..3b8d5f53e787 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config, zlib, shadow -, capabilitiesSupport ? true +, capabilitiesSupport ? stdenv.isLinux , libcap_ng , libxcrypt , ncursesSupport ? true @@ -12,6 +12,9 @@ , translateManpages ? true , po4a , installShellFiles +, writeSupport ? stdenv.isLinux +, shadowSupport ? stdenv.isLinux +, memstreamHook }: stdenv.mkDerivation rec { @@ -33,10 +36,11 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs tests/run.sh - substituteInPlace include/pathnames.h \ - --replace "/bin/login" "${shadow}/bin/login" substituteInPlace sys-utils/eject.c \ --replace "/bin/umount" "$bin/bin/umount" + '' + lib.optionalString shadowSupport '' + substituteInPlace include/pathnames.h \ + --replace "/bin/login" "${shadow}/bin/login" ''; # !!! It would be better to obtain the path to the mount helpers @@ -45,11 +49,11 @@ stdenv.mkDerivation rec { # root... configureFlags = [ "--localstatedir=/var" - "--enable-write" "--disable-use-tty-group" "--enable-fs-paths-default=/run/wrappers/bin:/run/current-system/sw/bin:/sbin" "--disable-makeinstall-setuid" "--disable-makeinstall-chown" "--disable-su" # provided by shadow + (lib.enableFeature writeSupport "write") (lib.enableFeature nlsSupport "nls") (lib.withFeature ncursesSupport "ncursesw") (lib.withFeature systemdSupport "systemd") @@ -74,7 +78,8 @@ stdenv.mkDerivation rec { ++ lib.optionals pamSupport [ pam ] ++ lib.optionals capabilitiesSupport [ libcap_ng ] ++ lib.optionals ncursesSupport [ ncurses ] - ++ lib.optionals systemdSupport [ systemd ]; + ++ lib.optionals systemdSupport [ systemd ] + ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memstreamHook ]; doCheck = false; # "For development purpose only. Don't execute on production system!" @@ -90,7 +95,7 @@ stdenv.mkDerivation rec { changelog = "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${lib.versions.majorMinor version}/v${version}-ReleaseNotes"; # https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/README.licensing license = with licenses; [ gpl2Only gpl2Plus gpl3Plus lgpl21Plus bsd3 bsdOriginalUC publicDomain ]; - platforms = platforms.linux; + platforms = platforms.unix; priority = 6; # lower priority than coreutils ("kill") and shadow ("login" etc.) packages }; } From e3ef6258965f14998455259603b5dd2e9d51f83e Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 18 May 2023 15:37:37 -0600 Subject: [PATCH 78/95] util-linux: use real util-linux package on darwin The util-linux on darwin is an alias for unixtools.util-linux which contains Apple's variants of the tools. However, the tools are not compatible with util-linux; for example the command line options differ. A previous change made util-linux buildable on darwin. This change removes the alias so util-linux is util-linux everywhere. To access the Apple tools, use unixtools (e.g unixtools.util-linux). --- pkgs/top-level/all-packages.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c5c95f677b7..7419a12dae4c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27722,15 +27722,14 @@ with pkgs; usermount = callPackage ../os-specific/linux/usermount { }; - util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { } - else unixtools.util-linux; + util-linux = callPackage ../os-specific/linux/util-linux { }; - util-linuxMinimal = if stdenv.isLinux then util-linux.override { + util-linuxMinimal = util-linux.override { nlsSupport = false; ncursesSupport = false; systemdSupport = false; translateManpages = false; - } else util-linux; + }; v4l-utils = qt5.callPackage ../os-specific/linux/v4l-utils { }; From febe4776287fd81b9dc0fd88a8bcb686765c8a6b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 21 May 2023 08:45:12 +0000 Subject: [PATCH 79/95] linux: default stdenv.hostPlatform.linux-kernel With this change, we can do a reasonable default build of Linux for configurations that do not have a corresponding platforms.nix entry, and where the user has not explicitly specified the linux-kernel values. This allows us to do best effort builds for obscure architectures (I tested a build for s390x). The platformName binding has not been used since 70cb7050f5c ("Trying to make the linux kernels also cross-build."), so I removed it. --- pkgs/os-specific/linux/kernel/generic.nix | 9 ++++----- pkgs/os-specific/linux/kernel/manual-config.nix | 9 +++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix index 56d89f67c64a..04f6cfc70ad3 100644 --- a/pkgs/os-specific/linux/kernel/generic.nix +++ b/pkgs/os-specific/linux/kernel/generic.nix @@ -47,7 +47,7 @@ # symbolic name and `patch' is the actual patch. The patch may # optionally be compressed with gzip or bzip2. kernelPatches ? [] -, ignoreConfigErrors ? stdenv.hostPlatform.linux-kernel.name != "pc" +, ignoreConfigErrors ? stdenv.hostPlatform.linux-kernel.name or "" != "pc" , extraMeta ? {} , isZen ? false @@ -55,7 +55,7 @@ , isHardened ? false # easy overrides to stdenv.hostPlatform.linux-kernel members -, autoModules ? stdenv.hostPlatform.linux-kernel.autoModules +, autoModules ? stdenv.hostPlatform.linux-kernel.autoModules or true , preferBuiltin ? stdenv.hostPlatform.linux-kernel.preferBuiltin or false , kernelArch ? stdenv.hostPlatform.linuxArch , kernelTests ? [] @@ -128,11 +128,10 @@ let ++ lib.optionals (lib.versionAtLeast version "4.16") [ bison flex ] ++ lib.optional (lib.versionAtLeast version "5.2") pahole; - platformName = stdenv.hostPlatform.linux-kernel.name; # e.g. "defconfig" - kernelBaseConfig = if defconfig != null then defconfig else stdenv.hostPlatform.linux-kernel.baseConfig; + kernelBaseConfig = if defconfig != null then defconfig else stdenv.hostPlatform.linux-kernel.baseConfig or "defconfig"; # e.g. "bzImage" - kernelTarget = stdenv.hostPlatform.linux-kernel.target; + kernelTarget = stdenv.hostPlatform.linux-kernel.target or "vmlinux"; makeFlags = lib.optionals (stdenv.hostPlatform.linux-kernel ? makeFlags) stdenv.hostPlatform.linux-kernel.makeFlags ++ extraMakeFlags; diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 4a623fda9bec..9908d22c4112 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -87,7 +87,8 @@ let isModular = config.isYes "MODULES"; - kernelConf = stdenv.hostPlatform.linux-kernel; + kernelConf = stdenv.hostPlatform.linux-kernel; + target = kernelConf.target or "vmlinux"; buildDTBs = kernelConf.DTB or false; in @@ -101,7 +102,7 @@ stdenv.mkDerivation ({ depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ perl bc nettools openssl rsync gmp libmpc mpfr zstd python3Minimal ] - ++ optional (kernelConf.target == "uImage") buildPackages.ubootTools + ++ optional (target == "uImage") buildPackages.ubootTools ++ optional (lib.versionOlder version "5.8") libelf ++ optionals (lib.versionAtLeast version "4.16") [ bison flex ] ++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole zlib ] @@ -297,8 +298,8 @@ stdenv.mkDerivation ({ # Some image types need special install targets (e.g. uImage is installed with make uinstall) installTargets = [ (kernelConf.installTarget or ( - /**/ if kernelConf.target == "uImage" then "uinstall" - else if kernelConf.target == "zImage" || kernelConf.target == "Image.gz" then "zinstall" + /**/ if target == "uImage" then "uinstall" + else if target == "zImage" || target == "Image.gz" then "zinstall" else "install")) ]; From e5e02f3214ae381142606cf5defc35888d73f883 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 22 May 2023 09:53:39 +0000 Subject: [PATCH 80/95] linuxManualConfig: always depend on ubootTools Since 41f788b1217 ("linuxManualConfig: use the default make target"), we don't know ahead of time whether the kernel build will attempt to produce a uImage in addition to whatever we're expecting it to build. ubootTools is not a big dependency, so let's just always include it. --- pkgs/os-specific/linux/kernel/manual-config.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 9908d22c4112..d7ea4ac2c498 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -1,5 +1,5 @@ { lib, stdenv, buildPackages, runCommand, nettools, bc, bison, flex, perl, rsync, gmp, libmpc, mpfr, openssl -, libelf, cpio, elfutils, zstd, python3Minimal, zlib, pahole +, libelf, cpio, elfutils, zstd, python3Minimal, zlib, pahole, ubootTools , fetchpatch }: @@ -101,13 +101,13 @@ stdenv.mkDerivation ({ inherit version src; depsBuildBuild = [ buildPackages.stdenv.cc ]; - nativeBuildInputs = [ perl bc nettools openssl rsync gmp libmpc mpfr zstd python3Minimal ] - ++ optional (target == "uImage") buildPackages.ubootTools - ++ optional (lib.versionOlder version "5.8") libelf - ++ optionals (lib.versionAtLeast version "4.16") [ bison flex ] - ++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole zlib ] - ++ optional (lib.versionAtLeast version "5.8") elfutils - ; + nativeBuildInputs = [ + bc gmp libmpc mpfr nettools openssl perl python3Minimal rsync ubootTools + zstd + ] ++ optional (lib.versionOlder version "5.8") libelf + ++ optionals (lib.versionAtLeast version "4.16") [ bison flex ] + ++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole zlib ] + ++ optional (lib.versionAtLeast version "5.8") elfutils; patches = map (p: p.patch) kernelPatches From a4de40fe5ca5483ecc76278a8ea4712788c3a725 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 22 May 2023 21:59:10 +0200 Subject: [PATCH 81/95] python310Packages.requests: 2.29.0 -> 2.31.0 https://github.com/psf/requests/blob/v2.31.0/HISTORY.md https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q Fixes: CVE-2023-32681 --- pkgs/development/python-modules/requests/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 23506a63f1ae..44733b2da0af 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "requests"; - version = "2.29.0"; + version = "2.31.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-8uNKdfR0kBm7Dj7/tmaDYw5P/q91gZ+1G+vvG/Wu8Fk="; + hash = "sha256-lCxadY+Y15Dq7Ropy27vx/+w0c968Fw9J5Flbb1q0eE="; }; propagatedBuildInputs = [ From 7b4c521005a73d5b30f5947467e637e15c5c06a0 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 20 May 2023 20:44:20 -0300 Subject: [PATCH 82/95] audit: 3.1 -> 3.1.1 --- ...h => 000-fix-static-attribute-malloc.diff} | 0 .../audit/001-ignore-flexible-array.patch | 35 ++++++ pkgs/os-specific/linux/audit/default.nix | 104 ++++++++++-------- 3 files changed, 94 insertions(+), 45 deletions(-) rename pkgs/os-specific/linux/audit/{fix-static.patch => 000-fix-static-attribute-malloc.diff} (100%) create mode 100644 pkgs/os-specific/linux/audit/001-ignore-flexible-array.patch diff --git a/pkgs/os-specific/linux/audit/fix-static.patch b/pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff similarity index 100% rename from pkgs/os-specific/linux/audit/fix-static.patch rename to pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff diff --git a/pkgs/os-specific/linux/audit/001-ignore-flexible-array.patch b/pkgs/os-specific/linux/audit/001-ignore-flexible-array.patch new file mode 100644 index 000000000000..e072cc942cfb --- /dev/null +++ b/pkgs/os-specific/linux/audit/001-ignore-flexible-array.patch @@ -0,0 +1,35 @@ +From beed138222421a2eb4212d83cb889404bd7efc49 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Wed, 23 Mar 2022 07:27:05 +0000 +Subject: [PATCH] auditswig.i: avoid setter generation for audit_rule_data::buf + +As it's a flexible array generated code was never safe to use. +With kernel's https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed98ea2128b6fd83bce13716edf8f5fe6c47f574 +change it's a build failure now: + + audit> audit_wrap.c:5010:15: error: invalid use of flexible array member + audit> 5010 | arg1->buf = (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); + audit> | ^ + +Let's avoid setter generation entirely. + +Closes: https://github.com/linux-audit/audit-userspace/issues/252 +--- + bindings/swig/src/auditswig.i | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i +index 21aafca31..9a2c5661d 100644 +--- a/bindings/swig/src/auditswig.i ++++ b/bindings/swig/src/auditswig.i +@@ -39,6 +39,10 @@ signed + #define __attribute(X) /*nothing*/ + typedef unsigned __u32; + typedef unsigned uid_t; ++/* Sidestep SWIG's limitation of handling c99 Flexible arrays by not: ++ * generating setters against them: https://github.com/swig/swig/issues/1699 ++ */ ++%ignore audit_rule_data::buf; + %include "/usr/include/linux/audit.h" + #define __extension__ /*nothing*/ + %include diff --git a/pkgs/os-specific/linux/audit/default.nix b/pkgs/os-specific/linux/audit/default.nix index 34043ce083c6..0fd96892013d 100644 --- a/pkgs/os-specific/linux/audit/default.nix +++ b/pkgs/os-specific/linux/audit/default.nix @@ -1,52 +1,33 @@ -{ - lib, stdenv, buildPackages, fetchurl, fetchpatch, - runCommand, - autoreconfHook, - autoconf, automake, libtool, bash, - # Enabling python support while cross compiling would be possible, but - # the configure script tries executing python to gather info instead of - # relying on python3-config exclusively - enablePython ? stdenv.hostPlatform == stdenv.buildPlatform, python3, swig, - linuxHeaders ? stdenv.cc.libc.linuxHeaders +{ lib +, stdenv +, fetchurl +, fetchpatch +, autoreconfHook +, bash +, buildPackages +, libtool +, linuxHeaders +, python3 +, swig + +# Enabling python support while cross compiling would be possible, but the +# configure script tries executing python to gather info instead of relying on +# python3-config exclusively +, enablePython ? stdenv.hostPlatform == stdenv.buildPlatform, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "audit"; - version = "3.1"; + version = "3.1.1"; src = fetchurl { - url = "https://people.redhat.com/sgrubb/audit/audit-${version}.tar.gz"; - sha256 = "sha256-tc882rsnhsCLHeNZmjsaVH5V96n5wesgePW0TPROg3g="; + url = "https://people.redhat.com/sgrubb/audit/audit-${finalAttrs.version}.tar.gz"; + hash = "sha256-RuRrN2I8zgnm7hNOeNZor8NPThyHDIU+8S5BkweM/oc="; }; - outputs = [ "bin" "dev" "out" "man" ]; - - strictDeps = true; - depsBuildBuild = [ buildPackages.stdenv.cc ]; - nativeBuildInputs = [ autoreconfHook ] - ++ lib.optionals enablePython [ python3 swig ]; - buildInputs = [ bash ]; - - configureFlags = [ - # z/OS plugin is not useful on Linux, - # and pulls in an extra openldap dependency otherwise - "--disable-zos-remote" - (if enablePython then "--with-python" else "--without-python") - "--with-arm" - "--with-aarch64" - ]; - - enableParallelBuilding = true; patches = [ - ./fix-static.patch - - # Fix pending upstream inclusion for linux-headers-5.17 support: - # https://github.com/linux-audit/audit-userspace/pull/253 - (fetchpatch { - name = "ignore-flexible-array.patch"; - url = "https://github.com/linux-audit/audit-userspace/commit/beed138222421a2eb4212d83cb889404bd7efc49.patch"; - sha256 = "1hf02zaxv6x0wmn4ca9fj48y2shks7vfna43i1zz58xw9jq7sza0"; - }) + ./000-fix-static-attribute-malloc.diff + ./001-ignore-flexible-array.patch ]; postPatch = '' @@ -55,11 +36,44 @@ stdenv.mkDerivation rec { --replace "/usr/include/linux/audit.h" \ "${linuxHeaders}/include/linux/audit.h" ''; + + outputs = [ "bin" "dev" "out" "man" ]; + + strictDeps = true; + + depsBuildBuild = [ + buildPackages.stdenv.cc + ]; + + nativeBuildInputs = [ + autoreconfHook + ] + ++ lib.optionals enablePython [ + python3 + swig + ]; + + buildInputs = [ + bash + ]; + + configureFlags = [ + # z/OS plugin is not useful on Linux, and pulls in an extra openldap + # dependency otherwise + "--disable-zos-remote" + "--with-arm" + "--with-aarch64" + (if enablePython then "--with-python" else "--without-python") + ]; + + enableParallelBuilding = true; + meta = { - description = "Audit Library"; homepage = "https://people.redhat.com/sgrubb/audit/"; - license = lib.licenses.gpl2; + description = "Audit Library"; + changelog = "https://github.com/linux-audit/audit-userspace/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ ]; }; -} +}) From febcb284b73060aa1ca6e7d1a2fbaae2f5b9296f Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Tue, 23 May 2023 06:27:46 +1000 Subject: [PATCH 83/95] python3Packages.matplotlib: 3.7.0 -> 3.7.1 --- pkgs/development/python-modules/matplotlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index 4df554f89160..ddc597b90b73 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -76,7 +76,7 @@ let in buildPythonPackage rec { - version = "3.7.0"; + version = "3.7.1"; pname = "matplotlib"; format = "pyproject"; @@ -84,7 +84,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-j279MTQw1+9wo4oydigcsuhkazois7IesifaIOFeaBM="; + hash = "sha256-e3MwXyXqtFQb1+4Llth+U66cnxgjvlZZuAbNhXhv6II="; }; env.XDG_RUNTIME_DIR = "/tmp"; From 2f9b5e126aebb055e4ec50842709ae6cac759086 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 23 May 2023 02:45:01 +0000 Subject: [PATCH 84/95] maturin: 0.14.17 -> 0.15.3 --- pkgs/development/tools/rust/maturin/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 8e4a75cbf9bc..8e130996659d 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "maturin"; - version = "0.14.17"; + version = "0.15.3"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; rev = "v${version}"; - hash = "sha256-Qvk9Pde1xmQ/lqU6KCda+F6UV7b414TDswP5Cwrh4jc="; + hash = "sha256-Gm4iQdjOvHcWu+bqYVk0EN2oirOjiGYimuO075TvBK0="; }; - cargoHash = "sha256-mPpM8jVDA9TbdNR1AdAzVP6sd2glUpDKhyVaaCcQzKE="; + cargoHash = "sha256-uPE4YpoQ4tSe3kspIcbyo4BGEdxWmnJn3Ng47cpju5s="; nativeBuildInputs = [ pkg-config ]; From a946656ee7e58913b7a722ae78b2e66f0722c418 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 May 2023 04:33:45 +0000 Subject: [PATCH 85/95] doxygen: 1.9.6 -> 1.9.7 --- pkgs/development/tools/documentation/doxygen/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix index 29f4fcfd4ae8..d735637cb53d 100644 --- a/pkgs/development/tools/documentation/doxygen/default.nix +++ b/pkgs/development/tools/documentation/doxygen/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "doxygen"; - version = "1.9.6"; + version = "1.9.7"; src = fetchFromGitHub { owner = "doxygen"; repo = "doxygen"; rev = "Release_${lib.replaceStrings [ "." ] [ "_" ] version}"; - sha256 = "sha256-SqboPBqK7gDVTTjGgCUB9oIGBZR55EA7x65a0wumiKw="; + sha256 = "sha256-ezeMQk+Vyi9qNsYwbaRRruaIYGY8stFf71W7GonXqco="; }; nativeBuildInputs = [ From f6d2c6a13168d3ad516d73b9d97315878f4a9b36 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 18 May 2023 02:43:50 +0200 Subject: [PATCH 86/95] curl: 8.0.1 -> 8.1.1 https://daniel.haxx.se/blog/2023/05/17/curl-8-1-0-http2-over-proxy/ https://curl.se/changes.html#8_1_0 https://curl.se/changes.html#8_1_1 https://www.openwall.com/lists/oss-security/2023/05/17/1 https://www.openwall.com/lists/oss-security/2023/05/17/2 https://www.openwall.com/lists/oss-security/2023/05/17/3 https://www.openwall.com/lists/oss-security/2023/05/17/4 Fixes: CVE-2023-28319, CVE-2023-28320, CVE-2023-28321, CVE-2023-28322 --- pkgs/tools/networking/curl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 9bdf18c44fc6..5ff2aef0b833 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -47,14 +47,14 @@ assert !((lib.count (x: x) [ gnutlsSupport opensslSupport wolfsslSupport rustlsS stdenv.mkDerivation (finalAttrs: { pname = "curl"; - version = "8.0.1"; + version = "8.1.1"; src = fetchurl { urls = [ "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.bz2" "https://github.com/curl/curl/releases/download/curl-${finalAttrs.version}/curl-${finalAttrs.version}.tar.bz2" ]; - hash = "sha256-m2selrdI0EuWh4a2vfQHqlx1q1Oj03wcjIHNtzZVXM8="; + hash = "sha256-UdKvcieZE7XUyrH+Hzi5RM9wkEyIvuJGtb1XWETnA1o="; }; patches = [ From e0d13fd0925802c287d097480bc1b17d38644e55 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 27 May 2023 04:20:00 +0000 Subject: [PATCH 87/95] maturin: 0.15.3 -> 1.0.0 https://github.com/PyO3/maturin/releases/tag/v1.0.0 --- pkgs/development/tools/rust/maturin/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 8e130996659d..9b0a08eab899 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -11,18 +11,18 @@ rustPlatform.buildRustPackage rec { pname = "maturin"; - version = "0.15.3"; + version = "1.0.0"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; rev = "v${version}"; - hash = "sha256-Gm4iQdjOvHcWu+bqYVk0EN2oirOjiGYimuO075TvBK0="; + hash = "sha256-Y/eqkA23gzoCmsFeYqZsK52e6s8ElIdKavL4ay9Q0Zs="; }; - cargoHash = "sha256-uPE4YpoQ4tSe3kspIcbyo4BGEdxWmnJn3Ng47cpju5s="; + cargoHash = "sha256-fr7HuMfuErYyPhAdwvj+HluW/K4mSHW/kKcdnWOW1i4="; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; buildInputs = lib.optionals stdenv.isLinux [ dbus ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ]; From 906f2c556a86279825cc7f6e6a1c841a6410db89 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 27 May 2023 04:20:00 +0000 Subject: [PATCH 88/95] maturin: update meta --- pkgs/development/tools/rust/maturin/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 9b0a08eab899..ea639874edd2 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -43,7 +43,8 @@ rustPlatform.buildRustPackage rec { Python and can upload them to PyPI. ''; homepage = "https://github.com/PyO3/maturin"; - license = licenses.asl20; + changelog = "https://github.com/PyO3/maturin/blob/v${version}/Changelog.md"; + license = with licenses; [ asl20 /* or */ mit ]; maintainers = [ ]; }; } From cc081200b5d88ae92953ecb2831ee7524e3cf00a Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sun, 28 May 2023 19:52:23 +0300 Subject: [PATCH 89/95] nghttp3: 0.10.0 -> 0.11.0 --- pkgs/development/libraries/nghttp3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nghttp3/default.nix b/pkgs/development/libraries/nghttp3/default.nix index e7d57d457bde..38e996330e71 100644 --- a/pkgs/development/libraries/nghttp3/default.nix +++ b/pkgs/development/libraries/nghttp3/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "nghttp3"; - version = "0.10.0"; + version = "0.11.0"; src = fetchFromGitHub { owner = "ngtcp2"; repo = pname; rev = "v${version}"; - hash = "sha256-V0g/d1B9uMn7KZU6ShzyPGXOSAYCbz4ZubnhAwz+Qsc="; + hash = "sha256-fZMFSQ8RCVxuoLrisa8lLqjNVe4fIuGqbyKtkC/u02M="; }; outputs = [ "out" "dev" "doc" ]; From b4dee0f0e076a71ea4a241b8e87fb996354b8cac Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sun, 28 May 2023 19:53:40 +0300 Subject: [PATCH 90/95] ngtcp2: 0.14.1 -> 0.15.0 --- pkgs/development/libraries/ngtcp2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ngtcp2/default.nix b/pkgs/development/libraries/ngtcp2/default.nix index af8ef8623d51..e85a7674a263 100644 --- a/pkgs/development/libraries/ngtcp2/default.nix +++ b/pkgs/development/libraries/ngtcp2/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "ngtcp2"; - version = "0.14.1"; + version = "0.15.0"; src = fetchFromGitHub { owner = "ngtcp2"; repo = pname; rev = "v${version}"; - hash = "sha256-VsacRYvjTWVx2ga952s1vs02GElXIW6umgcYr3UCcgE="; + hash = "sha256-FWNWpRuCUyqTIyLZkBFKrd2urjSCqHp20mBAXOcJm14="; }; outputs = [ "out" "dev" "doc" ]; From f28c9875070facd99700b9293335aba7933cbde9 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sun, 28 May 2023 19:55:00 +0300 Subject: [PATCH 91/95] nixos/tests: update nginx-http3 test --- nixos/tests/nginx-http3.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/tests/nginx-http3.nix b/nixos/tests/nginx-http3.nix index f003130b46f5..fc9f31037f98 100644 --- a/nixos/tests/nginx-http3.nix +++ b/nixos/tests/nginx-http3.nix @@ -76,19 +76,19 @@ in server.wait_for_open_port(443) # Check http connections - client.succeed("curl --verbose --http3 https://acme.test | grep 'Hello World!'") + client.succeed("curl --verbose --http3-only https://acme.test | grep 'Hello World!'") # Check downloadings - client.succeed("curl --verbose --http3 https://acme.test/example.txt --output /tmp/example.txt") + client.succeed("curl --verbose --http3-only https://acme.test/example.txt --output /tmp/example.txt") client.succeed("cat /tmp/example.txt | grep 'Check http3 protocol.'") # Check header reading - client.succeed("curl --verbose --http3 --head https://acme.test | grep 'content-type'") - client.succeed("curl --verbose --http3 --head https://acme.test | grep 'HTTP/3 200'") - client.succeed("curl --verbose --http3 --head https://acme.test/error | grep 'HTTP/3 404'") + client.succeed("curl --verbose --http3-only --head https://acme.test | grep 'content-type'") + client.succeed("curl --verbose --http3-only --head https://acme.test | grep 'HTTP/3 200'") + client.succeed("curl --verbose --http3-only --head https://acme.test/error | grep 'HTTP/3 404'") # Check change User-Agent - client.succeed("curl --verbose --http3 --user-agent 'Curl test 3.0' https://acme.test") + client.succeed("curl --verbose --http3-only --user-agent 'Curl test 3.0' https://acme.test") server.succeed("cat /var/log/nginx/access.log | grep 'Curl test 3.0'") server.shutdown() From 853461b6c8d6926110414b7f7d8633d76b530e2d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 29 May 2023 11:53:14 +0100 Subject: [PATCH 92/95] libssh: revert "dev" output split Do not split 'dev' output until lib/cmake/libssh/libssh-config.cmake is fixed to point INTERFACE_INCLUDE_DIRECTORIES to .dev output. Otherwise it breaks `plasma5Packages.kio-extras`: https://hydra.nixos.org/build/221540008/nixlog/3/tail --- pkgs/development/libraries/libssh/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libssh/default.nix b/pkgs/development/libraries/libssh/default.nix index 464aeb817cc7..737ee55d41a6 100644 --- a/pkgs/development/libraries/libssh/default.nix +++ b/pkgs/development/libraries/libssh/default.nix @@ -22,7 +22,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-tg4v9/Nnue7itWNNOmMwPd/t4OahjfyojESodw5+QjQ="; }; - outputs = [ "out" "dev" ]; + # Do not split 'dev' output until lib/cmake/libssh/libssh-config.cmake + # is fixed to point INTERFACE_INCLUDE_DIRECTORIES to .dev output. + # Otherwise it breaks `plasma5Packages.kio-extras`: + # https://hydra.nixos.org/build/221540008/nixlog/3/tail + #outputs = [ "out" "dev" ]; postPatch = '' # Fix headers to use libsodium instead of NaCl From 8062575956e2747dda404809656f5214df594f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 29 May 2023 12:55:13 +0200 Subject: [PATCH 93/95] slurm: fixup build after splitting libyaml.outputs The split was merged as d274408175 from PR #231365 --- pkgs/servers/computing/slurm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/computing/slurm/default.nix b/pkgs/servers/computing/slurm/default.nix index 9334c20943c5..ed9af47a223b 100644 --- a/pkgs/servers/computing/slurm/default.nix +++ b/pkgs/servers/computing/slurm/default.nix @@ -67,7 +67,7 @@ stdenv.mkDerivation rec { "--with-jwt=${libjwt}" "--with-lz4=${lz4.dev}" "--with-munge=${munge}" - "--with-yaml=${libyaml}" + "--with-yaml=${libyaml.dev}" "--with-ofed=${rdma-core}" "--sysconfdir=/etc/slurm" "--with-pmix=${pmix}" From 4e6bb700988d0f7350263981d2be5a8ce68d8f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Tue, 30 May 2023 08:15:24 +0200 Subject: [PATCH 94/95] gnugrep: Fix build on Musl --- pkgs/tools/text/gnugrep/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index a4ee316937af..75c6f6950737 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -16,6 +16,11 @@ stdenv.mkDerivation { hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs="; }; + # Some gnulib tests fail on Musl: https://github.com/NixOS/nixpkgs/pull/228714 + postPatch = if stdenv.hostPlatform.isMusl then '' + sed -i 's:gnulib-tests::g' Makefile.in + '' else null; + nativeCheckInputs = [ perl glibcLocales ]; outputs = [ "out" "info" ]; # the man pages are rather small From 036bb8ff8123eb1e164a5b0eda5589b313cc994b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 30 May 2023 09:34:21 +0200 Subject: [PATCH 95/95] jack2, libjack2: fix jack2.pc after splitting outputs The split was merged in cfe009304 from PR #226315 This fixes qtractor build (and maybe others): https://hydra.nixos.org/build/221582472/nixlog/3/tail --- pkgs/misc/jackaudio/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index 2c106ba77aa3..7c85da21f7f3 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -66,6 +66,11 @@ stdenv.mkDerivation (finalAttrs: { wrapProgram $out/bin/jack_control --set PYTHONPATH $PYTHONPATH ''); + postFixup = '' + substituteInPlace "$dev/lib/pkgconfig/jack.pc" \ + --replace "$out/include" "$dev/include" + ''; + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; meta = with lib; {