From 86f22aa56a7bc7c65be35026b63ff8a0a45fc727 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 13 Sep 2023 00:10:41 -0300 Subject: [PATCH 01/31] opencl-headers: use cmake build This is makes the build process simpler and exports .cmake and pkg-config(.pc) files --- pkgs/development/libraries/opencl-headers/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/opencl-headers/default.nix b/pkgs/development/libraries/opencl-headers/default.nix index 6bb2b4c235ac..211a8b6b22e9 100644 --- a/pkgs/development/libraries/opencl-headers/default.nix +++ b/pkgs/development/libraries/opencl-headers/default.nix @@ -1,4 +1,7 @@ -{ lib, stdenv, fetchFromGitHub +{ lib +, stdenv +, fetchFromGitHub +, cmake }: stdenv.mkDerivation rec { @@ -12,10 +15,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-BJDaDokyHgmyl+bGqCwG1J7iOvu0E3P3iYZ1/krot8s="; }; - installPhase = '' - mkdir -p $out/include/CL - cp CL/* $out/include/CL - ''; + nativeBuildInputs = [ cmake ]; meta = with lib; { description = "Khronos OpenCL headers version ${version}"; From a8bb784e6d41d5f16e082d537500ce7b6cb7bb23 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Wed, 1 Nov 2023 22:13:11 +0100 Subject: [PATCH 02/31] vadimcn.vscode-lldb.adapter: fix passthru adapter --- .../extensions/vadimcn.vscode-lldb/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix index 3b2ab09d1b53..c6ad1dc42bf5 100644 --- a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix @@ -38,6 +38,19 @@ let "--bin=codelldb" ]; + postFixup = '' + mkdir -p $out/share + # codelldb expects libcodelldb.so to be in the same + # directory as the executable, and can't find it in $out/lib. + # To make codelldb executable as a standalone, + # we put all files in $out/share, and then wrap the binary in $out/bin. + mv $out/bin/* $out/share + cp $out/lib/* $out/share + ln -s ${lldb.lib} $out/lldb + makeWrapper $out/share/codelldb $out/bin/codelldb \ + --set-default LLDB_DEBUGSERVER_PATH "${lldb.out}/bin/lldb-server" + ''; + patches = [ ./adapter-output-shared_object.patch ]; # Tests are linked to liblldb but it is not available here. @@ -112,7 +125,7 @@ in stdenv.mkDerivation { mkdir -p $ext/{adapter,formatters} mv -t $ext vsix-extracted/extension/* - cp -t $ext/adapter ${adapter}/{bin,lib}/* + cp -t $ext/adapter ${adapter}/share/* cp -r ../adapter/scripts $ext/adapter wrapProgram $ext/adapter/codelldb \ --set-default LLDB_DEBUGSERVER_PATH "${lldb.out}/bin/lldb-server" From b99682e31bbecec31019fb762755ee7c656de339 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:03:28 +0100 Subject: [PATCH 03/31] pcsctools: add passthru.updateScript --- pkgs/tools/security/pcsctools/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 7aadeb5c02b8..04030f36f100 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -10,6 +10,7 @@ , wget , coreutils , perlPackages +, nix-update-script }: stdenv.mkDerivation rec { @@ -47,6 +48,8 @@ stdenv.mkDerivation rec { install -Dm444 -t $out/share/pcsc smartcard_list.txt ''; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "Tools used to test a PC/SC driver, card or reader"; homepage = "https://pcsc-tools.apdu.fr/"; From 4fbc0cc53b5c268b305f1da7fe6aee461c3c0f5c Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:16:20 +0100 Subject: [PATCH 04/31] pcsctools: 1.6.2 -> 1.7.0 https://github.com/LudovicRousseau/pcsc-tools/releases/tag/1.7.0 https://github.com/LudovicRousseau/pcsc-tools/compare/1.6.2...1.7.0 --- pkgs/tools/security/pcsctools/default.nix | 47 +++++++++++++++++------ 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 04030f36f100..2c09df299e77 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -1,9 +1,12 @@ { stdenv , lib , fetchFromGitHub +, autoconf-archive , autoreconfHook +, gobject-introspection , makeWrapper , pkg-config +, wrapGAppsHook , systemd , dbus , pcsclite @@ -15,33 +18,55 @@ stdenv.mkDerivation rec { pname = "pcsc-tools"; - version = "1.6.2"; + version = "1.7.0"; src = fetchFromGitHub { owner = "LudovicRousseau"; repo = pname; - rev = version; - sha256 = "sha256-c7md8m1llvz0EQqA0qY4aGb3guGFoj+8uS4hUTzie5o="; + rev = "refs/tags/${version}"; + hash = "sha256-tTeSlS1ncpdIaoJsSVgm3zSCogP6S8zlA9hRFocZ/R4="; }; - postPatch = '' - substituteInPlace ATR_analysis \ - --replace /usr/local/pcsc /etc/pcsc \ - --replace /usr/share/pcsc $out/share/pcsc - ''; + configureFlags = [ + "--datarootdir=${placeholder "out"}/share" + ]; buildInputs = [ dbus perlPackages.perl pcsclite ] ++ lib.optional stdenv.isLinux systemd; - nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; + nativeBuildInputs = [ + autoconf-archive + autoreconfHook + gobject-introspection + makeWrapper + pkg-config + wrapGAppsHook + ]; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; postInstall = '' wrapProgram $out/bin/scriptor \ --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC ]}" + wrapProgram $out/bin/gscriptor \ - --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC GlibObjectIntrospection Glib Gtk3 Pango Cairo CairoGObject ]}" + ''${makeWrapperArgs[@]} \ + --set PERL5LIB "${with perlPackages; makePerlPath [ + ChipcardPCSC + libintl-perl + GlibObjectIntrospection + Glib + Gtk3 + Pango + Cairo + CairoGObject + ]}" + wrapProgram $out/bin/ATR_analysis \ - --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC ]}" + --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC libintl-perl ]}" + wrapProgram $out/bin/pcsc_scan \ --prefix PATH : "$out/bin:${lib.makeBinPath [ coreutils wget ]}" From f6956884974b621b9e02df8d259e57d2ac5c78f2 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sat, 9 Dec 2023 09:40:05 +0100 Subject: [PATCH 05/31] fix --- pkgs/tools/security/pcsctools/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 2c09df299e77..05565128dd05 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/scriptor \ - --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC ]}" + --set PERL5LIB "${with perlPackages; makePerlPath [ ChipcardPCSC libintl-perl ]}" wrapProgram $out/bin/gscriptor \ ''${makeWrapperArgs[@]} \ From 9a618e439f9d9036236bd14c85e5a74204799267 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:17:03 +0100 Subject: [PATCH 06/31] pcsctools: add passthru.tests.version --- pkgs/tools/security/pcsctools/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 05565128dd05..23a5dd20a402 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -13,17 +13,18 @@ , wget , coreutils , perlPackages +, testers , nix-update-script }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "pcsc-tools"; version = "1.7.0"; src = fetchFromGitHub { owner = "LudovicRousseau"; - repo = pname; - rev = "refs/tags/${version}"; + repo = "pcsc-tools"; + rev = "refs/tags/${finalAttrs.version}"; hash = "sha256-tTeSlS1ncpdIaoJsSVgm3zSCogP6S8zlA9hRFocZ/R4="; }; @@ -73,7 +74,13 @@ stdenv.mkDerivation rec { install -Dm444 -t $out/share/pcsc smartcard_list.txt ''; - passthru.updateScript = nix-update-script { }; + passthru = { + tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "pcsc_scan -V"; + }; + updateScript = nix-update-script { }; + }; meta = with lib; { description = "Tools used to test a PC/SC driver, card or reader"; @@ -82,4 +89,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; }; -} +}) From 30008fd748ea919310cc02818da4523046bc6d83 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:17:37 +0100 Subject: [PATCH 07/31] pcsctools: add meta.{changelog,mainProgram} --- pkgs/tools/security/pcsctools/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 23a5dd20a402..5cda960fabf6 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -85,7 +85,9 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Tools used to test a PC/SC driver, card or reader"; homepage = "https://pcsc-tools.apdu.fr/"; + changelog = "https://github.com/LudovicRousseau/pcsc-tools/releases/tag/${finalAttrs.version}"; license = licenses.gpl2Plus; + mainProgram = "pcsc_scan"; maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; }; From ea03092e128ea0ffc2fee178f671aa8acfed5630 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:17:51 +0100 Subject: [PATCH 08/31] pcsctools: add anthonyroussel to maintainers --- pkgs/tools/security/pcsctools/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 5cda960fabf6..106aa54ff848 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -88,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://github.com/LudovicRousseau/pcsc-tools/releases/tag/${finalAttrs.version}"; license = licenses.gpl2Plus; mainProgram = "pcsc_scan"; - maintainers = with maintainers; [ peterhoeg ]; + maintainers = with maintainers; [ peterhoeg anthonyroussel ]; platforms = platforms.linux; }; }) From 5b0700954643a8164e3c316ebba1de3d09a3f9a9 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 7 Dec 2023 20:25:13 +0100 Subject: [PATCH 09/31] pcsc-tools: init from pcsctools * pname and upstream name are pcsc-tools * attribute name is pcsctools To fix this inconsistency, renamed the attribute name to pcsc-tools --- pkgs/tools/security/{pcsctools => pcsc-tools}/default.nix | 0 pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 5 +++-- 3 files changed, 4 insertions(+), 2 deletions(-) rename pkgs/tools/security/{pcsctools => pcsc-tools}/default.nix (100%) diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsc-tools/default.nix similarity index 100% rename from pkgs/tools/security/pcsctools/default.nix rename to pkgs/tools/security/pcsc-tools/default.nix diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 7a7c99a7cb12..68a8babe74aa 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -697,6 +697,7 @@ mapAliases ({ paper-note = throw "paper-note has been removed: abandoned by upstream"; # Added 2023-05-03 parity = openethereum; # Added 2020-08-01 pash = throw "'pash' has been removed: abandoned by upstream. Use 'powershell' instead"; # Added 2023-09-16 + pcsctools = pcsc-tools; # Added 2023-12-07 pdf2xml = throw "'pdf2xml' was removed: abandoned for years."; # Added 2023-10-22 peach = asouldocs; # Added 2022-08-28 pentablet-driver = xp-pen-g430-driver; # Added 2022-06-23 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c72fc1749793..d0c71aebd503 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11974,13 +11974,14 @@ with pkgs; polkitSupport = true; }; - pcsctools = callPackage ../tools/security/pcsctools { }; - pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { }; pcsc-safenet = callPackage ../tools/security/pcsc-safenet { }; pcsc-scm-scl011 = callPackage ../tools/security/pcsc-scm-scl011 { }; + + pcsc-tools = callPackage ../tools/security/pcsc-tools { }; + ifdnfc = callPackage ../tools/security/ifdnfc { }; pdd = python3Packages.callPackage ../tools/misc/pdd { }; From 848b539f97a91650bed4c07f28c25aa56bd68dc6 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sat, 9 Dec 2023 09:39:54 +0100 Subject: [PATCH 10/31] pcsc-tools: enable darwin build --- pkgs/tools/security/pcsc-tools/default.nix | 4 +++- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/pcsc-tools/default.nix b/pkgs/tools/security/pcsc-tools/default.nix index 106aa54ff848..9e63572fd491 100644 --- a/pkgs/tools/security/pcsc-tools/default.nix +++ b/pkgs/tools/security/pcsc-tools/default.nix @@ -10,6 +10,7 @@ , systemd , dbus , pcsclite +, PCSC , wget , coreutils , perlPackages @@ -33,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ dbus perlPackages.perl pcsclite ] + ++ lib.optional stdenv.isDarwin PCSC ++ lib.optional stdenv.isLinux systemd; nativeBuildInputs = [ @@ -89,6 +91,6 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.gpl2Plus; mainProgram = "pcsc_scan"; maintainers = with maintainers; [ peterhoeg anthonyroussel ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d0c71aebd503..6c7f988d7e50 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11980,7 +11980,9 @@ with pkgs; pcsc-scm-scl011 = callPackage ../tools/security/pcsc-scm-scl011 { }; - pcsc-tools = callPackage ../tools/security/pcsc-tools { }; + pcsc-tools = callPackage ../tools/security/pcsc-tools { + inherit (pkgs.darwin.apple_sdk.frameworks) PCSC; + }; ifdnfc = callPackage ../tools/security/ifdnfc { }; From f64eee41df7772429a2987b03a7c3c911d6f0368 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sun, 10 Dec 2023 02:42:33 +0000 Subject: [PATCH 11/31] pre-commit: 3.3.3 -> 3.6.0 --- pkgs/tools/misc/pre-commit/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix index 78042489ff9d..afeb6cdbbba2 100644 --- a/pkgs/tools/misc/pre-commit/default.nix +++ b/pkgs/tools/misc/pre-commit/default.nix @@ -10,6 +10,7 @@ , go , nodejs , perl +, cabal-install , testers , pre-commit }: @@ -17,16 +18,16 @@ with python3Packages; buildPythonApplication rec { pname = "pre-commit"; - version = "3.3.3"; + version = "3.6.0"; format = "setuptools"; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "pre-commit"; repo = "pre-commit"; rev = "v${version}"; - hash = "sha256-6FKf4jLHUt2c7LSxFcq53IsfHOWeUSI+P9To0eh48+o="; + hash = "sha256-OTduVg8uhMdXs2gQ7KaMVOO1zQK4m489W9SU7PWIvcM="; }; patches = [ @@ -58,6 +59,7 @@ buildPythonApplication rec { pytest-xdist pytestCheckHook re-assert + cabal-install ]; # i686-linux: dotnet-sdk not available @@ -156,6 +158,8 @@ buildPythonApplication rec { "test_run_versioned_node_hook" "test_rust_cli_additional_dependencies" "test_swift_language" + "test_run_example_executable" + "test_run_dep" # i don't know why these fail "test_install_existing_hooks_no_overwrite" From b79da0af0d0d4eafb9f09a98fa70cf91c571ad34 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Wed, 13 Dec 2023 08:44:36 +1000 Subject: [PATCH 12/31] karmor: 0.14.3 -> 1.0.0 --- pkgs/applications/networking/cluster/karmor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/karmor/default.nix b/pkgs/applications/networking/cluster/karmor/default.nix index 2dee8f6fb148..998cabdb1088 100644 --- a/pkgs/applications/networking/cluster/karmor/default.nix +++ b/pkgs/applications/networking/cluster/karmor/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "karmor"; - version = "0.14.3"; + version = "1.0.0"; src = fetchFromGitHub { owner = "kubearmor"; repo = "kubearmor-client"; rev = "v${version}"; - hash = "sha256-D0BsjAZ7yhbZ8dJ3U/K2tdKhLTZBmK/HorApSYVb3ww="; + hash = "sha256-TL/K1r76DV9CdKfVpE3Fn7N38lHqEF9Sxtthfew2l3w="; }; - vendorHash = "sha256-vCcdQt8/jkUQVz0SpjWUhiJd7d3ePIF6qLD8NKCc618="; + vendorHash = "sha256-72gFtM+Z65VreeIamoBHXx2EsGCv8aDHmRz2aSQCU7Q="; nativeBuildInputs = [ installShellFiles ]; From 59eb014aaf8a2285b70b4b2344ec40df070fa919 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Wed, 13 Dec 2023 09:42:16 +1000 Subject: [PATCH 13/31] ostinato: 1.2.0 -> 1.3.0 --- pkgs/applications/networking/ostinato/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/ostinato/default.nix b/pkgs/applications/networking/ostinato/default.nix index abc75b8bb73f..b9a5dce35f6f 100644 --- a/pkgs/applications/networking/ostinato/default.nix +++ b/pkgs/applications/networking/ostinato/default.nix @@ -6,13 +6,13 @@ mkDerivation rec { pname = "ostinato"; - version = "1.2.0"; + version = "1.3.0"; src = fetchFromGitHub { owner = "pstavirs"; repo = "ostinato"; rev = "v${version}"; - sha256 = "sha256-yhfhNfkiZulF0FxNT+3CeGqUTXLmwPQntl2TLdCcMTQ="; + sha256 = "sha256-/fPUxGeh5Cc3rb+1mR0chkiFPw5m+O6KtWDvzLn0iYo="; }; ostinatoIcon = fetchurl { From 747933a933961d5a614be0974cd983364cb67892 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 13 Dec 2023 08:49:22 +0000 Subject: [PATCH 14/31] boundary: 0.14.2 -> 0.14.3 --- pkgs/tools/networking/boundary/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/boundary/default.nix b/pkgs/tools/networking/boundary/default.nix index e867f2f8ac8f..3d58e38bbbe9 100644 --- a/pkgs/tools/networking/boundary/default.nix +++ b/pkgs/tools/networking/boundary/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "boundary"; - version = "0.14.2"; + version = "0.14.3"; src = let @@ -15,10 +15,10 @@ stdenv.mkDerivation rec { aarch64-darwin = "darwin_arm64"; }; sha256 = selectSystem { - x86_64-linux = "sha256-UR34PX3GChOTM4ROcvlghXOv4M8CYgiCvQaR/BRRvzs="; - aarch64-linux = "sha256-5q5Zz+/klgwbBvE40aMCw+ulv+g9Yhpcsn31PPCp9S4="; - x86_64-darwin = "sha256-NH1/QKqmaKGL35verE2sRXUwXePJoQk5kiUEIA5Xxn8="; - aarch64-darwin = "sha256-PpZ1dbT57+cdmLTvxo0/HY0lKoa+/N4cSfTNhbE6LLo="; + x86_64-linux = "sha256-iKKpZ/5BrX+b7/r/Q6zQ0Qo51/8v4jekDDWmJ1x4dqQ="; + aarch64-linux = "sha256-JYfgeiBUG4rk1fh89d3wiYkoiy4e41wHIphj1no/TS8="; + x86_64-darwin = "sha256-4dEP7Gx7h1OT6eyQR4fUFed3jUbVxqHmsFzvrSvTLe0="; + aarch64-darwin = "sha256-am/GX2NPOzWT0s+UQ2FYGapa9aOSxmbJ9X80xvnbaiQ="; }; in fetchzip { From f5063d28b71a4429fa636ca96b6119a939c43c80 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 14 Dec 2023 09:53:19 +0100 Subject: [PATCH 15/31] molecule: 6.0.2 -> 6.0.3 --- pkgs/development/python-modules/molecule/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/molecule/default.nix b/pkgs/development/python-modules/molecule/default.nix index e62ee8fb29db..da881f658675 100644 --- a/pkgs/development/python-modules/molecule/default.nix +++ b/pkgs/development/python-modules/molecule/default.nix @@ -19,12 +19,12 @@ buildPythonPackage rec { pname = "molecule"; - version = "6.0.2"; + version = "6.0.3"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-uRk1P3mXRt5gsWonV1YneD45wmj98vKqA3LwFix7VHg="; + hash = "sha256-0qiBBi/MXvHgjB5RJ8BDVNLJUXGVXicL2Cs/v+9y07A="; }; nativeBuildInputs = [ From d84ed563ce18ec7caee2233d775799828452dfa2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 14 Dec 2023 10:15:08 +0000 Subject: [PATCH 16/31] devbox: 0.8.2 -> 0.8.4 --- pkgs/development/tools/devbox/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/devbox/default.nix b/pkgs/development/tools/devbox/default.nix index f6dadecaefa4..683848220c5a 100644 --- a/pkgs/development/tools/devbox/default.nix +++ b/pkgs/development/tools/devbox/default.nix @@ -5,13 +5,13 @@ }: buildGoModule rec { pname = "devbox"; - version = "0.8.2"; + version = "0.8.4"; src = fetchFromGitHub { owner = "jetpack-io"; repo = pname; rev = version; - hash = "sha256-Hh4SfmdR7hujc6Ty+ay8uyl1vkjYuxwa5J5RacqHOAE="; + hash = "sha256-B+7c27xq+JNhP6s9mS5t7AURPV9/HFf5o1jtqyH4x2g="; }; ldflags = [ @@ -23,7 +23,7 @@ buildGoModule rec { # integration tests want file system access doCheck = false; - vendorHash = "sha256-SVChgkPgqhApWDNA1me41zS0hXd1G2oFrL/SsnFiIsg="; + vendorHash = "sha256-4HdBTOTQGMAez5gg1R7+M3EqrP0cv8iNjD7ayZD95aU="; nativeBuildInputs = [ installShellFiles ]; From 94e336c70ffff7e0d641c9b5a2f036eaad5e61dc Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 16 Dec 2023 08:19:01 +1000 Subject: [PATCH 17/31] terragrunt: 0.54.3 -> 0.54.5 --- pkgs/applications/networking/cluster/terragrunt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index 597ec036189b..99169e180f5f 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "terragrunt"; - version = "0.54.3"; + version = "0.54.5"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ZtBWp121+Gvt1BMLUAjtMW7fgVlqRjXXspeHmbEWGOU="; + hash = "sha256-ISN2TWdxBucjG2tn+NuP6Wjqxc47haEE+rjCHIO/E+g="; }; vendorHash = "sha256-OIkrDvNk4XD11j/+BdOkzbw86cYUj0Vz7pZ5/vIZopY="; From 4aedf4e78d225991167f6f4f13a7eeb639c5db3a Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 16 Dec 2023 10:06:53 +1000 Subject: [PATCH 18/31] supabase-cli: 1.123.6 -> 1.125.0 --- pkgs/development/tools/supabase-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/supabase-cli/default.nix b/pkgs/development/tools/supabase-cli/default.nix index 4e502911fb73..977293d552f8 100644 --- a/pkgs/development/tools/supabase-cli/default.nix +++ b/pkgs/development/tools/supabase-cli/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "supabase-cli"; - version = "1.123.6"; + version = "1.125.0"; src = fetchFromGitHub { owner = "supabase"; repo = "cli"; rev = "v${version}"; - hash = "sha256-xDtFSUAETUgSvV5X1PU2hLfQKIxhSkj4D7vSvNRJqTY="; + hash = "sha256-npMzmT3Tfci2E/WoAocKgDYS4K/5U40VHhtAWiX3ePU="; }; - vendorHash = "sha256-PdWGqv0BekvutUAUNFMQuVUEnx9r22FjzBPoIdIRpdI="; + vendorHash = "sha256-sZqvnp5ZJn4/xOM1L9C4W953gMRBOA3fzyhsTTFwZhg="; ldflags = [ "-s" From 3096a4cdae7ded0e122c1e54cc6b0b5bb6219254 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 16 Dec 2023 06:53:29 +0000 Subject: [PATCH 19/31] lefthook: 1.5.3 -> 1.5.5 --- pkgs/by-name/le/lefthook/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/le/lefthook/package.nix b/pkgs/by-name/le/lefthook/package.nix index 877f69ccbf2c..60e3de2c5cc9 100644 --- a/pkgs/by-name/le/lefthook/package.nix +++ b/pkgs/by-name/le/lefthook/package.nix @@ -6,7 +6,7 @@ let pname = "lefthook"; - version = "1.5.3"; + version = "1.5.5"; in buildGoModule rec { inherit pname version; @@ -15,7 +15,7 @@ buildGoModule rec { owner = "evilmartians"; repo = "lefthook"; rev = "v${version}"; - hash = "sha256-pC6kEDOXNcuMfDvXomPZVMWpS/aHR4P4pIhqNkXAGuc="; + hash = "sha256-TNXnXQMlMNXKPxN5GneZr+LyByfQX2TToUebpdD/d+U="; }; vendorHash = "sha256-/VLS7+nPERjIU7V2CzqXH69Z3/y+GKZbAFn+KcRKRuA="; From a3bc72da04736116a5e0f9cfbc80863b7e3627c5 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Fri, 15 Dec 2023 07:20:18 +1000 Subject: [PATCH 20/31] trunk: 0.17.2 -> 0.18.0 --- pkgs/development/tools/trunk/default.nix | 42 ++++++++++++++++++++---- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/trunk/default.nix b/pkgs/development/tools/trunk/default.nix index 2c003913b3bd..c19936b2bf64 100644 --- a/pkgs/development/tools/trunk/default.nix +++ b/pkgs/development/tools/trunk/default.nix @@ -1,26 +1,56 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config -, openssl, libiconv, CoreServices, Security }: +{ lib, +stdenv, +rustPlatform, +fetchFromGitHub, +pkg-config, +openssl, +libiconv, +jq, +moreutils, +CoreServices, +Security +}: rustPlatform.buildRustPackage rec { pname = "trunk"; - version = "0.17.2"; + version = "0.18.0"; src = fetchFromGitHub { owner = "thedodd"; repo = "trunk"; rev = "v${version}"; - sha256 = "sha256-A6h8TmYK5WOcmANk/uM9QO1h767BWASWTwLthtKqrEk="; + hash = "sha256-riebGbDCqkJTkDmvXCuD0ywjSfGfLgxywkHUPlGzCgI="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = if stdenv.isDarwin then [ libiconv CoreServices Security ] else [ openssl ]; - # requires network checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ]; - cargoHash = "sha256-+jz0J1qFK2fZ4OX089pgNtT2vfiOTf39qQjeXmLoFNs="; + cargoHash = "sha256-O2AKIOvAwDpZDzEyc/x5lF0E0UR+Mj/J///1bYRgoX4="; + + # the dependency css-minify contains both README.md and Readme.md, + # which causes a hash mismatch on systems with a case-insensitive filesystem + # this removes the readme files and updates cargo's checksum file accordingly + depsExtraArgs = { + nativeBuildInputs = [ + jq + moreutils + ]; + + postBuild = '' + pushd $name/css-minify + + rm -f README.md Readme.md + jq 'del(.files."README.md") | del(.files."Readme.md")' \ + .cargo-checksum.json -c \ + | sponge .cargo-checksum.json + + popd + ''; + }; meta = with lib; { homepage = "https://github.com/thedodd/trunk"; From af462ed24ff21523d00f6c4ca30bcceb735207fa Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sun, 17 Dec 2023 10:32:15 +1000 Subject: [PATCH 21/31] d2: 0.6.2 -> 0.6.3 --- pkgs/tools/text/d2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/d2/default.nix b/pkgs/tools/text/d2/default.nix index 4e426085374d..77c5de696f12 100644 --- a/pkgs/tools/text/d2/default.nix +++ b/pkgs/tools/text/d2/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "d2"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "terrastruct"; repo = pname; rev = "v${version}"; - hash = "sha256-4kSnwJTS+am9ATlUPsWLGccHXFQqrEcK0GtaqqW7fdQ="; + hash = "sha256-GImv4OJHanj6dKtAJpTaGLrR4AaVTboiYHwRdh/gXaU="; }; - vendorHash = "sha256-BEYww1wsf9nxE48TNvyFkddF0TwQg7e5BoolvvKewYg="; + vendorHash = "sha256-T7eki06fQuGvYIJKvBJsIkFS1fQ9Jbv+ieUSr2vupqg="; excludedPackages = [ "./e2etests" ]; From cd8c8dea8eea648f146ce9863372b964a7d66a39 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Sat, 16 Dec 2023 21:47:49 -0300 Subject: [PATCH 22/31] fluxcd: 2.1.2 -> 2.2.1 Release: https://github.com/fluxcd/flux2/releases/tag/v2.2.1 --- pkgs/applications/networking/cluster/fluxcd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix index 821921d418bf..fbeeb73c7349 100644 --- a/pkgs/applications/networking/cluster/fluxcd/default.nix +++ b/pkgs/applications/networking/cluster/fluxcd/default.nix @@ -7,9 +7,9 @@ }: let - version = "2.1.2"; - sha256 = "1k47wjfyhkfn4v5cpfwfgb8ypcsiaml2cxwbwasis926wda37gzk"; - manifestsSha256 = "1imwvm85p5m9s05vmjvqql2hbkrj4m5cy87212ghybaricklcx6a"; + version = "2.2.1"; + sha256 = "12zhg5j77jhn8v0c5mz6232bcx8dqn4dg32x89kqx8znkygd5a42"; + manifestsSha256 = "1hwcy64i6fg0qq0gzsxba6k7hak0ngqgi627680pk1daykfic7wv"; manifests = fetchzip { url = @@ -29,7 +29,7 @@ in buildGoModule rec { inherit sha256; }; - vendorHash = "sha256-4srEYBI/Qay9F0JxEIT0HyOtF29V9dzdB1ei4tZYJbs="; + vendorHash = "sha256-QElnhoWNp17SdRJJFZ+FpLS1NzGjIXaP0dYefzwBNkI="; postUnpack = '' cp -r ${manifests} source/cmd/flux/manifests From 23b48175f5929d76828e06b7ac0a547c4625e8da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Dec 2023 02:09:43 +0000 Subject: [PATCH 23/31] moon: 1.16.0 -> 1.18.2 --- pkgs/development/tools/build-managers/moon/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/build-managers/moon/default.nix b/pkgs/development/tools/build-managers/moon/default.nix index e45c5acd713e..4c5df51440a3 100644 --- a/pkgs/development/tools/build-managers/moon/default.nix +++ b/pkgs/development/tools/build-managers/moon/default.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage rec { pname = "moon"; - version = "1.16.0"; + version = "1.18.2"; src = fetchFromGitHub { owner = "moonrepo"; repo = pname; rev = "v${version}"; - hash = "sha256-FPhUGFumbO28rPWNDTrUNqMx0ppbotp9z6u8cCEHu/g="; + hash = "sha256-7z5hmwBb8PBrQzXn2fg4MU7/jCOF8Ul4nMza87QNXYk="; }; - cargoHash = "sha256-hak0xMV6MSqM88bNY+2C5B5YlRWlZ+dDYu50pYEDsmI="; + cargoHash = "sha256-1YarqedZ4SUs+Nv0qLeiFo+RCBu4e2Ejf4UI42hs8YQ="; env = { RUSTFLAGS = "-C strip=symbols"; From 5137849ea28a20ee5354832e874fa7cbaf0ff338 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 17 Dec 2023 04:20:00 +0000 Subject: [PATCH 24/31] typescript: 5.3.2 -> 5.3.3 Diff: https://github.com/microsoft/TypeScript/compare/v5.3.2...v5.3.3 Changelog: https://github.com/microsoft/TypeScript/releases/tag/v5.3.3 --- pkgs/development/compilers/typescript/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/typescript/default.nix b/pkgs/development/compilers/typescript/default.nix index ae59f26757c7..50ddbacb2013 100644 --- a/pkgs/development/compilers/typescript/default.nix +++ b/pkgs/development/compilers/typescript/default.nix @@ -1,21 +1,27 @@ -{ lib, buildNpmPackage, fetchFromGitHub}: +{ lib, buildNpmPackage, fetchFromGitHub, testers, typescript }: buildNpmPackage rec { pname = "typescript"; - version = "5.3.2"; + version = "5.3.3"; src = fetchFromGitHub { owner = "microsoft"; repo = "TypeScript"; rev = "v${version}"; - hash = "sha256-lwc2bYC2f8x3Np/LxbN+5x6Apuekp7LmHXNutqL9Z2E="; + hash = "sha256-gZdS4TGbafaOdNc1ZB24uAjMu9g0hef6mEsOr/dPqvY="; }; patches = [ ./disable-dprint-dstBundler.patch ]; - npmDepsHash = "sha256-vD/tax5RjREdsdte3ONahVf9GPOkxPqeP9jmsxjCYkY="; + npmDepsHash = "sha256-gj59jjko13UBPqqy/3z1KgVMFUQPUAIg47UTTaseF+w="; + + passthru.tests = { + version = testers.testVersion { + package = typescript; + }; + }; meta = with lib; { description = "A superset of JavaScript that compiles to clean JavaScript output"; From fd0d84989b245f4430e1e83a8f0f15407500fd4b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Dec 2023 09:06:06 +0000 Subject: [PATCH 25/31] dependabot-cli: 1.39.0 -> 1.41.0 --- pkgs/by-name/de/dependabot-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/de/dependabot-cli/package.nix b/pkgs/by-name/de/dependabot-cli/package.nix index 6997cc16caf0..3cd9b537d515 100644 --- a/pkgs/by-name/de/dependabot-cli/package.nix +++ b/pkgs/by-name/de/dependabot-cli/package.nix @@ -8,7 +8,7 @@ }: let pname = "dependabot-cli"; - version = "1.39.0"; + version = "1.41.0"; in buildGoModule { inherit pname version; @@ -17,10 +17,10 @@ buildGoModule { owner = "dependabot"; repo = "cli"; rev = "v${version}"; - hash = "sha256-QuhgFWF97B72KTX/QKSXNl/4RDAKUMDga7vLYiZw4SM="; + hash = "sha256-CnSDvLcLupWKBp1Wr6E9BScA8VsBlfmmfPwh8cyERZg="; }; - vendorHash = "sha256-mNpNp/zeQGgcljj2VhGl4IN1HG1R8CJSTWKzrgC0z44="; + vendorHash = "sha256-vN5r1OtHT16LeJ6iPmHmXTx9Oo+WALhV4PWqzMiUwSA="; ldflags = [ "-s" From 0f02212275fa08ebe744b0fd62d59aca23ebde1e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Dec 2023 12:10:41 +0000 Subject: [PATCH 26/31] openxr-loader: 1.0.31 -> 1.0.32 --- pkgs/development/libraries/openxr-loader/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/openxr-loader/default.nix b/pkgs/development/libraries/openxr-loader/default.nix index 53bfa41a8e25..32544bc327bc 100644 --- a/pkgs/development/libraries/openxr-loader/default.nix +++ b/pkgs/development/libraries/openxr-loader/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "openxr-loader"; - version = "1.0.31"; + version = "1.0.32"; src = fetchFromGitHub { owner = "KhronosGroup"; repo = "OpenXR-SDK-Source"; rev = "release-${version}"; - sha256 = "sha256-qK8l/v6nLuMAitz7DfVDjJyVjEmkeD2jgJkG5qOMCcQ="; + sha256 = "sha256-Np91NevE0XiFSZ27cpwAUjm0XY2/IuugGDcfG17aV2c="; }; nativeBuildInputs = [ cmake python3 pkg-config ]; From 07e34cfddbdc6804654c26a2493f4e7e13ea6b5d Mon Sep 17 00:00:00 2001 From: emilylange Date: Sun, 17 Dec 2023 19:46:46 +0100 Subject: [PATCH 27/31] miniflux: 2.0.50 -> 2.0.51 https://github.com/miniflux/v2/releases/tag/2.0.51 diff: https://github.com/miniflux/v2/compare/2.0.50...2.0.51 This also removes the user-agent-regression patch, as it is no longer needed (the PR has been merged upstream and is part of this release). --- pkgs/servers/miniflux/default.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/pkgs/servers/miniflux/default.nix b/pkgs/servers/miniflux/default.nix index e71a8fa4c577..c1cc8e7318b9 100644 --- a/pkgs/servers/miniflux/default.nix +++ b/pkgs/servers/miniflux/default.nix @@ -1,8 +1,8 @@ -{ lib, buildGo121Module, fetchFromGitHub, fetchpatch, installShellFiles, nixosTests }: +{ lib, buildGo121Module, fetchFromGitHub, installShellFiles, nixosTests }: let pname = "miniflux"; - version = "2.0.50"; + version = "2.0.51"; in buildGo121Module { inherit pname version; @@ -11,19 +11,10 @@ in buildGo121Module { owner = pname; repo = "v2"; rev = version; - sha256 = "sha256-+oNF/Zwc1Z/cu3SQC/ZTekAW5Qef9RKrdszunLomGII="; + hash = "sha256-gffiZOsHUYTDEjIdKUPyKbsdRKX890aG6GY72LYESkA="; }; - patches = [ - (fetchpatch { - # https://github.com/miniflux/v2/pull/2193, remove after 2.0.50 - name = "miniflux-user-agent-regression.patch"; - url = "https://github.com/miniflux/v2/commit/7a03291442a4e35572c73a2fcfe809fa8e03063e.patch"; - hash = "sha256-tJ1l5rqD0x0xtQs+tDwpFHOY+7k6X02bkwVJo6RAdb8="; - }) - ]; - - vendorHash = "sha256-jLyjQ+w/QS9uA0pGWF2X6dEfOifcI2gC2sgi1STEzpU="; + vendorHash = "sha256-yO4sNOkEDnM9eETE68C++dPnAfcoSMXznf5Nq4/iQmA="; nativeBuildInputs = [ installShellFiles ]; From 233526c09af3f10f29e1951574e46a11a2625d2c Mon Sep 17 00:00:00 2001 From: emilylange Date: Sun, 17 Dec 2023 19:46:47 +0100 Subject: [PATCH 28/31] miniflux: add emilylange as maintainer --- pkgs/servers/miniflux/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/miniflux/default.nix b/pkgs/servers/miniflux/default.nix index c1cc8e7318b9..0851b489ba80 100644 --- a/pkgs/servers/miniflux/default.nix +++ b/pkgs/servers/miniflux/default.nix @@ -35,7 +35,7 @@ in buildGo121Module { description = "Minimalist and opinionated feed reader"; homepage = "https://miniflux.app/"; license = licenses.asl20; - maintainers = with maintainers; [ rvolosatovs benpye ]; + maintainers = with maintainers; [ rvolosatovs benpye emilylange ]; mainProgram = "miniflux"; }; } From a681ff90b7cee38da2eebfb96dd9c48ee1807cc1 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sun, 17 Dec 2023 19:49:32 +0100 Subject: [PATCH 29/31] miniflux: remove `buildGoModule` pin, replace `let in` with `rec` Both nixos-unstable and nixos-23.11 now default to go 1.21 for buildGoModule, rendering the pin redundant. --- pkgs/servers/miniflux/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/miniflux/default.nix b/pkgs/servers/miniflux/default.nix index 0851b489ba80..21c754ed90a9 100644 --- a/pkgs/servers/miniflux/default.nix +++ b/pkgs/servers/miniflux/default.nix @@ -1,16 +1,13 @@ -{ lib, buildGo121Module, fetchFromGitHub, installShellFiles, nixosTests }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }: -let +buildGoModule rec { pname = "miniflux"; version = "2.0.51"; -in buildGo121Module { - inherit pname version; - src = fetchFromGitHub { - owner = pname; + owner = "miniflux"; repo = "v2"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-gffiZOsHUYTDEjIdKUPyKbsdRKX890aG6GY72LYESkA="; }; From be58446c794c7baec615387c7324404af4a0a9dc Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 17 Dec 2023 20:48:26 +0100 Subject: [PATCH 30/31] nvitop: 1.3.1 -> 1.3.2 Diff: https://github.com/XuehaiPan/nvitop/compare/refs/tags/v1.3.1...v1.3.2 Changelog: https://github.com/XuehaiPan/nvitop/releases/tag/v1.3.2 --- pkgs/tools/system/nvitop/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/nvitop/default.nix b/pkgs/tools/system/nvitop/default.nix index 9cfe26de3732..af53911c8862 100644 --- a/pkgs/tools/system/nvitop/default.nix +++ b/pkgs/tools/system/nvitop/default.nix @@ -5,13 +5,13 @@ python3Packages.buildPythonApplication rec { pname = "nvitop"; - version = "1.3.1"; + version = "1.3.2"; src = fetchFromGitHub { owner = "XuehaiPan"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-DPdKdIqFUozTt5Go3+c7oSv9tZSio486QeSlSfIrBZ4="; + hash = "sha256-TunGtNe+lgx/hk8kNtB8yaCdbkiJ3d4JJ8NKB+6urJA="; }; pythonRelaxDeps = [ "nvidia-ml-py" ]; @@ -32,6 +32,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management"; homepage = "https://github.com/XuehaiPan/nvitop"; + changelog = "https://github.com/XuehaiPan/nvitop/releases/tag/v${version}"; license = licenses.gpl3; maintainers = with maintainers; [ GaetanLepage ]; platforms = with platforms; linux; From 94a71e666077d8619f0a3e43cd42fc16fbe5915b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 17 Dec 2023 22:00:09 +0000 Subject: [PATCH 31/31] btrfs-progs: user build's python for man pages generation, not host's Without the change build fails on attributes like `pkgsCross.aarch64-multiplatform.btrfs-progs` as: sphinx-build: cannot execute binary file: Exec format error --- pkgs/tools/filesystems/btrfs-progs/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index ba40e432cad1..dc9f8a0a27d6 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -1,5 +1,6 @@ { lib, stdenv, fetchurl -, pkg-config, python3 +, buildPackages +, pkg-config , zstd , acl, attr, e2fsprogs, libuuid, lzo, udev, zlib , runCommand, btrfs-progs @@ -19,7 +20,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ] ++ [ - (python3.withPackages (ps: with ps; [ + (buildPackages.python3.withPackages (ps: with ps; [ sphinx sphinx-rtd-theme ]))