From 2dfadd6d5fa9500c197ca5a2ba5ab06a5213e288 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 18 Jan 2024 23:16:04 +0100 Subject: [PATCH 01/71] kas: 4.1 -> 4.2 --- pkgs/by-name/ka/kas/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ka/kas/package.nix b/pkgs/by-name/ka/kas/package.nix index d2b062226794..f17b7bfed3b0 100644 --- a/pkgs/by-name/ka/kas/package.nix +++ b/pkgs/by-name/ka/kas/package.nix @@ -2,13 +2,13 @@ python3.pkgs.buildPythonApplication rec { pname = "kas"; - version = "4.1"; + version = "4.2"; src = fetchFromGitHub { owner = "siemens"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-EYz9V45b7fSKoI8w9X0LcSTojErpJHfzxcdE4I4qD2k="; + hash = "sha256-NjNPcCqmjFeydTgNdN8QRrFG5Mys2jL4I8TiznO2rSA="; }; propagatedBuildInputs = with python3.pkgs; [ setuptools kconfiglib jsonschema distro pyyaml ]; From b2902cf903cde636eeadb882945cdabc6d61d434 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 12 Feb 2024 15:41:37 -0500 Subject: [PATCH 02/71] python311Packages.editorconfig: 0.12.3 -> 0.12.4 Diff: https://github.com/editorconfig/editorconfig-core-py/compare/v0.12.3...v0.12.4 --- .../python-modules/editorconfig/default.nix | 32 ++++++++----------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/editorconfig/default.nix b/pkgs/development/python-modules/editorconfig/default.nix index eaca75178474..f55442b2f584 100644 --- a/pkgs/development/python-modules/editorconfig/default.nix +++ b/pkgs/development/python-modules/editorconfig/default.nix @@ -1,35 +1,26 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , cmake }: -let - tests = fetchFromGitHub { - owner = "editorconfig"; - repo = "editorconfig-core-test"; - rev = "e407c1592df0f8e91664835324dea85146f20189"; - hash = "sha256-9WSEkMJOewPqJjB6f7J6Ir0L+U712hkaN+GszjnGw7c="; - }; -in buildPythonPackage rec { pname = "editorconfig"; - version = "0.12.3"; - format = "setuptools"; + version = "0.12.4"; + pyproject = true; src = fetchFromGitHub { owner = "editorconfig"; repo = "editorconfig-core-py"; rev = "v${version}"; - hash = "sha256-ZwoTMgk18+BpPNtXKQUMXGcl2Lp+1RQVyPHgk6gHWh8="; - # workaround until https://github.com/editorconfig/editorconfig-core-py/pull/40 is merged - # fetchSubmodules = true; + hash = "sha256-+m674bLj6xs7MWU+8BMixEwy7/TjyES0lvCLLogTDHQ="; + fetchSubmodules = true; }; - postUnpack = '' - cp -r ${tests}/* source/tests - chmod +w -R source/tests - ''; + nativeBuildInputs = [ + setuptools + ]; nativeCheckInputs = [ cmake @@ -38,9 +29,12 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; checkPhase = '' + runHook preCheck + cmake . - # utf_8_char fails with Python 3 - ctest -E "utf_8_char" . + ctest . + + runHook postCheck ''; pythonImportsCheck = [ "editorconfig" ]; From 6018b404c8d7455cfa9b2d2a578d276008a62024 Mon Sep 17 00:00:00 2001 From: Zaripov Kamil Date: Tue, 13 Feb 2024 15:46:54 +0200 Subject: [PATCH 03/71] minikube: use correct paths for firmware in case of qemu driver --- .../networking/cluster/minikube/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/applications/networking/cluster/minikube/default.nix b/pkgs/applications/networking/cluster/minikube/default.nix index dbd04f026dfa..bd9d0fece1b5 100644 --- a/pkgs/applications/networking/cluster/minikube/default.nix +++ b/pkgs/applications/networking/cluster/minikube/default.nix @@ -7,7 +7,10 @@ , which , libvirt , vmnet +, withQemu ? false +, qemu , makeWrapper +, OVMF }: buildGoModule rec { @@ -24,6 +27,22 @@ buildGoModule rec { rev = "v${version}"; sha256 = "sha256-2EWaMpcr4F1wRzIP1rPg1a/Sjd1x+oo2ee90k4Ie8cU="; }; + postPatch = + ( + lib.optionalString (withQemu && stdenv.isDarwin) '' + substituteInPlace \ + pkg/minikube/registry/drvs/qemu2/qemu2.go \ + --replace "/usr/local/opt/qemu/share/qemu" "${qemu}/share/qemu" \ + --replace "/opt/homebrew/opt/qemu/share/qemu" "${qemu}/share/qemu" + '' + ) + ( + lib.optionalString (withQemu && stdenv.isLinux) '' + substituteInPlace \ + pkg/minikube/registry/drvs/qemu2/qemu2.go \ + --replace "/usr/share/OVMF/OVMF_CODE.fd" "${OVMF.firmware}" \ + --replace "/usr/share/AAVMF/AAVMF_CODE.fd" "${OVMF.firmware}" + '' + ); nativeBuildInputs = [ installShellFiles pkg-config which makeWrapper ]; From 15c93b29ca4d4ee53b3f05e2f59ece74c42233b8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Feb 2024 10:32:35 +0000 Subject: [PATCH 04/71] python311Packages.wagtail-localize: 1.7 -> 1.8 --- pkgs/development/python-modules/wagtail-localize/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wagtail-localize/default.nix b/pkgs/development/python-modules/wagtail-localize/default.nix index d90a71ca2582..54e00438c603 100644 --- a/pkgs/development/python-modules/wagtail-localize/default.nix +++ b/pkgs/development/python-modules/wagtail-localize/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "wagtail-localize"; - version = "1.7"; + version = "1.8"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { repo = pname; owner = "wagtail"; rev = "refs/tags/v${version}"; - hash = "sha256-Q29Nh/4Z3tYuwoodWKDl5FS+lfl9yDXN7RHn/RReCds="; + hash = "sha256-K4TOW4q8vD9vaNJzSEtmQBgO/dOxcWKKUp2FE3JLIbE="; }; nativeBuildInputs = [ From 7850ba7860d75c5b02838c9eb9d8b7e6b1854a92 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Feb 2024 19:26:45 +0000 Subject: [PATCH 05/71] parallel-disk-usage: 0.9.1 -> 0.9.2 --- pkgs/by-name/pa/parallel-disk-usage/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pa/parallel-disk-usage/package.nix b/pkgs/by-name/pa/parallel-disk-usage/package.nix index ba896d3afb11..f3aa96cbed14 100644 --- a/pkgs/by-name/pa/parallel-disk-usage/package.nix +++ b/pkgs/by-name/pa/parallel-disk-usage/package.nix @@ -4,16 +4,16 @@ }: rustPlatform.buildRustPackage rec { pname = "parallel-disk-usage"; - version = "0.9.1"; + version = "0.9.2"; src = fetchFromGitHub { owner = "KSXGitHub"; repo = pname; rev = version; - hash = "sha256-Bo2fBOGuAur3dQtBdcbeDRBgp+bFpi86dZQjSuZpEc8="; + hash = "sha256-nWn6T1vJ4UANuU5EL5Ws5qT+k8Wd3Cm0SOJEgAbsCvo="; }; - cargoHash = "sha256-V7j2dvu7Z3Xq8WGoFxl6DjO8sYU8+ZNC9V6qqdYIuQo="; + cargoHash = "sha256-69DwIDGX4b+l2ay+OH3gjHnCj43VXruzBklOkS6M0DY="; meta = with lib; { description = "Highly parallelized, blazing fast directory tree analyzer"; From 24b96c15c03d92e37b0fa6618ecb31d17d321a0e Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Fri, 29 Dec 2023 16:55:11 +0100 Subject: [PATCH 06/71] duckstation: unstable-2023-09-30 -> 0.1-6283 --- .../duckstation/002-hardcode-vars.diff | 4 +- .../emulators/duckstation/default.nix | 57 ++++++++----------- 2 files changed, 27 insertions(+), 34 deletions(-) diff --git a/pkgs/applications/emulators/duckstation/002-hardcode-vars.diff b/pkgs/applications/emulators/duckstation/002-hardcode-vars.diff index f0b7bb67a0ee..edba33fce7ce 100644 --- a/pkgs/applications/emulators/duckstation/002-hardcode-vars.diff +++ b/pkgs/applications/emulators/duckstation/002-hardcode-vars.diff @@ -1,5 +1,5 @@ diff --git a/src/scmversion/gen_scmversion.sh b/src/scmversion/gen_scmversion.sh -index 9c1dacab..d1f895ee 100755 +index 9122cd8..50ed8f9 100755 --- a/src/scmversion/gen_scmversion.sh +++ b/src/scmversion/gen_scmversion.sh @@ -10,10 +10,10 @@ else @@ -8,7 +8,7 @@ index 9c1dacab..d1f895ee 100755 -HASH=$(git rev-parse HEAD) -BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n') --TAG=$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude previous-latest | tr -d '\r\n') +-TAG=$(git describe --dirty | tr -d '\r\n') -DATE=$(git log -1 --date=iso8601-strict --format=%cd) +HASH="@gitHash@" +BRANCH="@gitBranch@" diff --git a/pkgs/applications/emulators/duckstation/default.nix b/pkgs/applications/emulators/duckstation/default.nix index e7980e20dddd..2d09c0a2c0b4 100644 --- a/pkgs/applications/emulators/duckstation/default.nix +++ b/pkgs/applications/emulators/duckstation/default.nix @@ -9,7 +9,7 @@ , extra-cmake-modules , libXrandr , libbacktrace -, makeDesktopItem +, makeWrapper , ninja , pkg-config , qtbase @@ -20,18 +20,17 @@ , vulkan-loader , wayland , wrapQtAppsHook -, enableWayland ? true }: stdenv.mkDerivation (finalAttrs: { pname = "duckstation"; - version = "unstable-2023-09-30"; + version = "0.1-6283"; src = fetchFromGitHub { owner = "stenzek"; repo = "duckstation"; - rev = "d5608bf12df7a7e03750cb94a08a3d7999034ae2"; - hash = "sha256-ktfZgacjkN6GQb1vLmyTZMr8QmmH12qAvFSIBTjgRSs="; + rev = "1d751d33f1fce0f0d2b9e00b3a4fb4ec76e77f8f"; + hash = "sha256-nrdsywg1Sn/YPLaidquePX45+3AxncxTxm+sGDDhL2c="; }; patches = [ @@ -42,21 +41,19 @@ stdenv.mkDerivation (finalAttrs: { src = ./002-hardcode-vars.diff; gitHash = finalAttrs.src.rev; gitBranch = "master"; - gitTag = "0.1-5889-gd5608bf1"; - gitDate = "2023-09-30T23:20:09+10:00"; + gitTag = "${finalAttrs.version}-g1d751d33"; + gitDate = "2024-01-08T15:49:05+10:00"; }) ]; nativeBuildInputs = [ cmake copyDesktopItems + extra-cmake-modules ninja pkg-config qttools wrapQtAppsHook - ] - ++ lib.optionals enableWayland [ - extra-cmake-modules ]; buildInputs = [ @@ -66,9 +63,6 @@ stdenv.mkDerivation (finalAttrs: { libbacktrace qtbase qtsvg - vulkan-loader - ] - ++ lib.optionals enableWayland [ qtwayland wayland ] @@ -78,21 +72,6 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_TESTS" true) - (lib.cmakeBool "ENABLE_WAYLAND" enableWayland) - ]; - - desktopItems = [ - (makeDesktopItem { - name = "duckstation-qt"; - desktopName = "DuckStation"; - genericName = "PlayStation 1 Emulator"; - icon = "duckstation"; - tryExec = "duckstation-qt"; - exec = "duckstation-qt %f"; - comment = "Fast PlayStation 1 emulator"; - categories = [ "Game" "Emulator" "Qt" ]; - type = "Application"; - }) ]; doCheck = true; @@ -110,14 +89,28 @@ stdenv.mkDerivation (finalAttrs: { cp -r bin $out/share/duckstation ln -s $out/share/duckstation/duckstation-qt $out/bin/ - install -Dm644 bin/resources/images/duck.png $out/share/pixmaps/duckstation.png + install -Dm644 $src/scripts/org.duckstation.DuckStation.desktop $out/share/applications/org.duckstation.DuckStation.desktop + install -Dm644 $src/scripts/org.duckstation.DuckStation.png $out/share/pixmaps/org.duckstation.DuckStation.png runHook postInstall ''; - qtWrapperArgs = [ - "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ vulkan-loader ] ++ cubeb.passthru.backendLibs)}" - ]; + qtWrapperArgs = + let + libPath = lib.makeLibraryPath ([ + vulkan-loader + ] ++ cubeb.passthru.backendLibs); + in [ + "--prefix LD_LIBRARY_PATH : ${libPath}" + ]; + + # https://github.com/stenzek/duckstation/blob/master/scripts/appimage/apprun-hooks/default-to-x11.sh + # Can't avoid the double wrapping, the binary wrapper from qtWrapperArgs doesn't support --run + postFixup = '' + source "${makeWrapper}/nix-support/setup-hook" + wrapProgram $out/bin/duckstation-qt \ + --run 'if [[ -z $I_WANT_A_BROKEN_WAYLAND_UI ]]; then export QT_QPA_PLATFORM=xcb; fi' + ''; meta = { homepage = "https://github.com/stenzek/duckstation"; From b3ccaaba994f304cbc1dd482beb1ee973cc424eb Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Wed, 14 Feb 2024 20:48:21 +0100 Subject: [PATCH 07/71] duckstation: 0.1-6283 -> 0.1-6292 --- pkgs/applications/emulators/duckstation/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/emulators/duckstation/default.nix b/pkgs/applications/emulators/duckstation/default.nix index 2d09c0a2c0b4..7e7bfd494600 100644 --- a/pkgs/applications/emulators/duckstation/default.nix +++ b/pkgs/applications/emulators/duckstation/default.nix @@ -24,13 +24,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "duckstation"; - version = "0.1-6283"; + version = "0.1-6292"; src = fetchFromGitHub { owner = "stenzek"; repo = "duckstation"; - rev = "1d751d33f1fce0f0d2b9e00b3a4fb4ec76e77f8f"; - hash = "sha256-nrdsywg1Sn/YPLaidquePX45+3AxncxTxm+sGDDhL2c="; + rev = "0bc42c38aab49030118f507c9783de047769148b"; + hash = "sha256-8OavixSwEWihFY2fEdsepR1lqWlTH+//xZRKwb7lFCQ="; }; patches = [ @@ -41,8 +41,8 @@ stdenv.mkDerivation (finalAttrs: { src = ./002-hardcode-vars.diff; gitHash = finalAttrs.src.rev; gitBranch = "master"; - gitTag = "${finalAttrs.version}-g1d751d33"; - gitDate = "2024-01-08T15:49:05+10:00"; + gitTag = "${finalAttrs.version}-g0bc42c38"; + gitDate = "2024-02-06T22:47:47+09:00"; }) ]; From f235fcfd5ffa45d9a3e9697473553bc26883710d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 15 Feb 2024 00:12:09 +0000 Subject: [PATCH 08/71] dokuwiki: 2023-04-04a -> 2024-02-06a --- pkgs/servers/web-apps/dokuwiki/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/dokuwiki/default.nix b/pkgs/servers/web-apps/dokuwiki/default.nix index a95a6acdfb7c..00cbbfd0ad24 100644 --- a/pkgs/servers/web-apps/dokuwiki/default.nix +++ b/pkgs/servers/web-apps/dokuwiki/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "dokuwiki"; - version = "2023-04-04a"; + version = "2024-02-06a"; src = fetchFromGitHub { owner = "dokuwiki"; repo = pname; rev = "release-${version}"; - sha256 = "sha256-PVfJfGYa2Drf4ljnnhb7kNpjfQlW4dDt5Xd5h+C8tP4="; + sha256 = "sha256-gAoEUskTTbcpHgDUBSsAv6QQDvPuxQ1jXZ4TTKrjWIU="; }; preload = writeText "preload.php" '' From d5a849cb0fc23af09f1a668e46d20510cf446884 Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Fri, 16 Feb 2024 23:39:16 +0800 Subject: [PATCH 09/71] git-branchless: install man pages This fixes the failure of `git cmd --help` where `cmd` is some git-branchless alias. The error is due to a quirk of git: when supplied with the long form `--help` flag, the git binary eats the flag and instead look for man page of `cmd`. This errors out unless the man page for `cmd` is properly installed. In the case of `git-branchless`, this can be achieved with the command `git-branchless install-man-pages`, as implemented in this patch. --- .../version-management/git-branchless/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/git-branchless/default.nix b/pkgs/applications/version-management/git-branchless/default.nix index 6bcfb0a6cdc7..a8041f2698bb 100644 --- a/pkgs/applications/version-management/git-branchless/default.nix +++ b/pkgs/applications/version-management/git-branchless/default.nix @@ -37,6 +37,10 @@ rustPlatform.buildRustPackage rec { libiconv ]; + postInstall = '' + $out/bin/git-branchless install-man-pages $out/share/man + ''; + preCheck = '' export TEST_GIT=${git}/bin/git export TEST_GIT_EXEC_PATH=$(${git}/bin/git --exec-path) From fd5be7589c391c6ca653b2e5ae3dcf0cf7e5b70d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Feb 2024 15:39:58 +0000 Subject: [PATCH 10/71] qucs-s: 2.1.0 -> 24.1.0 --- pkgs/applications/science/electronics/qucs-s/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/electronics/qucs-s/default.nix b/pkgs/applications/science/electronics/qucs-s/default.nix index 593e9d9187b7..4117638a1fda 100644 --- a/pkgs/applications/science/electronics/qucs-s/default.nix +++ b/pkgs/applications/science/electronics/qucs-s/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation rec { pname = "qucs-s"; - version = "2.1.0"; + version = "24.1.0"; src = fetchFromGitHub { owner = "ra3xdh"; repo = "qucs_s"; rev = version; - sha256 = "sha256-C7TLOuC0CHredDiWFIAFmOlV8ivX0j4bs3b8IB8FsqE="; + sha256 = "sha256-ei9CPlJg+Kfjh7vu5VnT6DNLmmnA8wZ2A1jXnm//Fgo="; }; nativeBuildInputs = [ flex bison wrapQtAppsHook cmake ]; From 802dd1af56ced8fefb2182b9c61c23b567318dd1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Feb 2024 16:07:52 +0000 Subject: [PATCH 11/71] ispc: 1.22.0 -> 1.23.0 --- pkgs/development/compilers/ispc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ispc/default.nix b/pkgs/development/compilers/ispc/default.nix index d8b8c141042b..62e2f5d10fcd 100644 --- a/pkgs/development/compilers/ispc/default.nix +++ b/pkgs/development/compilers/ispc/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "ispc"; - version = "1.22.0"; + version = "1.23.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-NiBwQ7BzNgRdWLvjOi1fQni+vnYwn0nLHxqAVucmb2k="; + sha256 = "sha256-zixPt7YICCG0N8t1pcXEu/sPKCVLQVPCiJsQEqEXl+A="; }; nativeBuildInputs = [ cmake which m4 bison flex python3 llvmPackages.libllvm.dev tbb ] ++ lib.lists.optionals stdenv.isDarwin [ xcode ]; From 728ee604dcbdd5cc0b4f9b1ea6c5478b764b07a5 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 17 Feb 2024 04:20:00 +0000 Subject: [PATCH 12/71] pdfannots: init at 0.4 --- pkgs/by-name/pd/pdfannots/package.nix | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/pd/pdfannots/package.nix diff --git a/pkgs/by-name/pd/pdfannots/package.nix b/pkgs/by-name/pd/pdfannots/package.nix new file mode 100644 index 000000000000..14672b371724 --- /dev/null +++ b/pkgs/by-name/pd/pdfannots/package.nix @@ -0,0 +1,34 @@ +{ lib, python3, fetchFromGitHub }: + +python3.pkgs.buildPythonApplication rec { + pname = "pdfannots"; + version = "0.4"; + pyproject = true; + + src = fetchFromGitHub { + owner = "0xabu"; + repo = "pdfannots"; + rev = "v${version}"; + hash = "sha256-C0Ss6kZvPx0hHnpBKquEolxeuTfjshhSBSIDXcCKtM8="; + }; + + nativeBuildInputs = [ + python3.pkgs.setuptools + ]; + + propagatedBuildInputs = [ + python3.pkgs.pdfminer-six + ]; + + pythonImportsCheck = [ + "pdfannots" + ]; + + meta = with lib; { + description = "Extracts and formats text annotations from a PDF file"; + homepage = "https://github.com/0xabu/pdfannots"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + mainProgram = "pdfannots"; + }; +} From bdb699719e314ee2dba32aee479b90bb7fda8228 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 17 Feb 2024 04:20:00 +0000 Subject: [PATCH 13/71] iredis: 1.14.0 -> 1.14.1 Diff: https://github.com/laixintao/iredis/compare/refs/tags/v1.14.0...v1.14.1 Changelog: https://github.com/laixintao/iredis/raw/refs/tags/v1.14.1/CHANGELOG.md --- pkgs/tools/admin/iredis/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/iredis/default.nix b/pkgs/tools/admin/iredis/default.nix index 95f8a98ed4a4..2c57aa166978 100644 --- a/pkgs/tools/admin/iredis/default.nix +++ b/pkgs/tools/admin/iredis/default.nix @@ -6,16 +6,21 @@ python3.pkgs.buildPythonApplication rec { pname = "iredis"; - version = "1.14.0"; + version = "1.14.1"; pyproject = true; src = fetchFromGitHub { owner = "laixintao"; repo = "iredis"; rev = "refs/tags/v${version}"; - hash = "sha256-5TMO1c29ahAQDbAJZb3u2oY0Z8M+6b8hwbNfqMsuPzM="; + hash = "sha256-ojS2wtxggZPp73n9SjPRAzBlnF1ScK/pNVGvAYKmQ5Y="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'wcwidth = "0.1.9"' 'wcwidth = "*"' + ''; + nativeBuildInputs = with python3.pkgs; [ poetry-core ]; From b6c19b1a530222c9194a7e192789ef3bc876c18e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 17 Feb 2024 04:20:00 +0000 Subject: [PATCH 14/71] gallery-dl: 1.26.7 -> 1.26.8 Changelog: https://github.com/mikf/gallery-dl/blob/v1.26.8/CHANGELOG.md --- pkgs/applications/misc/gallery-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix index 772bd2d7a77b..09c0cdd0d1c4 100644 --- a/pkgs/applications/misc/gallery-dl/default.nix +++ b/pkgs/applications/misc/gallery-dl/default.nix @@ -2,13 +2,13 @@ buildPythonApplication rec { pname = "gallery-dl"; - version = "1.26.7"; + version = "1.26.8"; format = "setuptools"; src = fetchPypi { inherit version; pname = "gallery_dl"; - sha256 = "sha256-+aoXcxJVBp9nXKS+3+CG7XkDMemSgvExMXtnR2FDhYs="; + sha256 = "sha256-tfNmKgWKr2TGQNgvC/qo2+Dvij4LUL0Zy77mfTcci2k="; }; propagatedBuildInputs = [ From 90e333b59657080fdd67d50bf010ba39df357829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 17 Feb 2024 18:06:28 +0100 Subject: [PATCH 15/71] zapzap: 5.1.3 -> 5.2 Changelog: https://github.com/zapzap-linux/zapzap/releases/tag/5.2 --- pkgs/by-name/za/zapzap/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/za/zapzap/package.nix b/pkgs/by-name/za/zapzap/package.nix index 6c3fcb27fc93..e41a099f4f32 100644 --- a/pkgs/by-name/za/zapzap/package.nix +++ b/pkgs/by-name/za/zapzap/package.nix @@ -6,14 +6,14 @@ python3Packages.buildPythonApplication rec { pname = "zapzap"; - version = "5.1.3"; + version = "5.2"; format = "setuptools"; src = fetchFromGitHub { owner = "zapzap-linux"; repo = "zapzap"; rev = version; - hash = "sha256-IxBmtXrRIxUqnhB4OsL+lRIBTISdIqpcbI/uZ31MEBU="; + hash = "sha256-vG8yDW0+scImPWHyVJs2QkiSWbjPLR9Z01zkOWZi/BI="; }; nativeBuildInputs = with python3Packages; [ From 178f9ed8dbbfafa02ee7e73af75448fb1d73967c Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 17 Feb 2024 21:56:11 +0400 Subject: [PATCH 16/71] =?UTF-8?q?python3Packages.aiogram:=203.3.0=20?= =?UTF-8?q?=E2=86=92=203.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/aiogram/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiogram/default.nix b/pkgs/development/python-modules/aiogram/default.nix index e2da72982ca8..727cf4992810 100644 --- a/pkgs/development/python-modules/aiogram/default.nix +++ b/pkgs/development/python-modules/aiogram/default.nix @@ -22,16 +22,16 @@ buildPythonPackage rec { pname = "aiogram"; - version = "3.3.0"; + version = "3.4.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aiogram"; repo = "aiogram"; rev = "refs/tags/v${version}"; - hash = "sha256-TD4pDmM899zBOxllM0iju2u6IhmXxLYWBpjfWhewVFc="; + hash = "sha256-2of4KHdpAATOt0dCqI3AmTJtdeN5SdiWydeGjtagABI="; }; nativeBuildInputs = [ @@ -66,7 +66,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "aiogram" ]; - passthru.updateScript = gitUpdater { }; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; meta = with lib; { description = "Modern and fully asynchronous framework for Telegram Bot API"; From 361c543f9eb7720c03a2f6ee76370e075847efc5 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 18 Feb 2024 01:17:45 +0400 Subject: [PATCH 17/71] ispc: remove -DLLVM_DIS_EXECUTABLE flag --- pkgs/development/compilers/ispc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/compilers/ispc/default.nix b/pkgs/development/compilers/ispc/default.nix index 62e2f5d10fcd..0c710b0736a3 100644 --- a/pkgs/development/compilers/ispc/default.nix +++ b/pkgs/development/compilers/ispc/default.nix @@ -55,7 +55,6 @@ stdenv.mkDerivation rec { "-DFILE_CHECK_EXECUTABLE=${llvmPackages.llvm}/bin/FileCheck" "-DLLVM_AS_EXECUTABLE=${llvmPackages.llvm}/bin/llvm-as" "-DLLVM_CONFIG_EXECUTABLE=${llvmPackages.llvm.dev}/bin/llvm-config" - "-DLLVM_DIS_EXECUTABLE=${llvmPackages.llvm}/bin/llvm-dis" "-DCLANG_EXECUTABLE=${llvmPackages.clang}/bin/clang" "-DCLANGPP_EXECUTABLE=${llvmPackages.clang}/bin/clang++" "-DISPC_INCLUDE_EXAMPLES=OFF" From 675a6c1edfcf37ab55e11f48a2dc9ee4e2bacb25 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Feb 2024 22:22:39 +0000 Subject: [PATCH 18/71] komikku: 1.37.1 -> 1.38.1 --- pkgs/applications/graphics/komikku/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/komikku/default.nix b/pkgs/applications/graphics/komikku/default.nix index 91c70aa02782..4a4b499ca4d0 100644 --- a/pkgs/applications/graphics/komikku/default.nix +++ b/pkgs/applications/graphics/komikku/default.nix @@ -19,7 +19,7 @@ python3.pkgs.buildPythonApplication rec { pname = "komikku"; - version = "1.37.1"; + version = "1.38.1"; format = "other"; @@ -28,7 +28,7 @@ python3.pkgs.buildPythonApplication rec { owner = "valos"; repo = "Komikku"; rev = "v${version}"; - hash = "sha256-pGOut63+ST1Yqe1Fj0c4cI0du1q4JW7WVA4h+muWGJQ="; + hash = "sha256-eVNW8Iuhee9WBbiXP7ijvd0K44/IpwdrdiT4RkBNcxI="; }; nativeBuildInputs = [ From acda0fbc9e670f140c4b48a9674cf8dc7a23dc2e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Feb 2024 23:13:19 +0000 Subject: [PATCH 19/71] mise: 2024.2.15 -> 2024.2.16 --- pkgs/tools/misc/mise/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/mise/default.nix b/pkgs/tools/misc/mise/default.nix index cfafe0d4aebc..b0d48fd6fcfb 100644 --- a/pkgs/tools/misc/mise/default.nix +++ b/pkgs/tools/misc/mise/default.nix @@ -17,16 +17,16 @@ rustPlatform.buildRustPackage rec { pname = "mise"; - version = "2024.2.15"; + version = "2024.2.16"; src = fetchFromGitHub { owner = "jdx"; repo = "mise"; rev = "v${version}"; - hash = "sha256-vBlO4Xxv5XM5KEZmIplSSb/LgdG485hQkb7RSRrOIyM="; + hash = "sha256-SrLgLYe0jeVzLoJZahqVrlYDd2FJ3G1uxrHx2BKjbHM="; }; - cargoHash = "sha256-V+j0Z8voDzVdO2fHFw4boUvlFfCrOId7nkTZsZbCcfg="; + cargoHash = "sha256-G/NR53u+rX9Q7tJVYi1tlXQL+gxK7wfqN3IpkoXzTRk="; nativeBuildInputs = [ installShellFiles pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; From f8fc909deb7194102159856e7758ad2a3b95ff85 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 04:52:05 +0000 Subject: [PATCH 20/71] cirrus-cli: 0.110.4 -> 0.112.0 --- .../tools/continuous-integration/cirrus-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix b/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix index 83346ba9882a..b1098bd32129 100644 --- a/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix +++ b/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "cirrus-cli"; - version = "0.110.4"; + version = "0.112.0"; src = fetchFromGitHub { owner = "cirruslabs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-+RPXzOaOR+LQWS/p19fZKFW3zhzvhhfusB6K5q4Am8Y="; + sha256 = "sha256-3ad/2h9rw1BeMcr1lLEZp4fzJHfwl7y3/tTjmKKAvho="; }; - vendorHash = "sha256-j7C2pKjTX9EVMRV+D8fNQB2RE3YJ7l/vdwrfjo2TQIM="; + vendorHash = "sha256-tHEbHExdbWeZm3+rwRYpRILyPYEYdeVJ91Qr/yNIKV8="; ldflags = [ "-X github.com/cirruslabs/cirrus-cli/internal/version.Version=v${version}" From 418d37e22f2b88186d5ba630d9dd0de556cb114a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 04:57:02 +0000 Subject: [PATCH 21/71] cotp: 1.4.1 -> 1.4.4 --- pkgs/applications/misc/cotp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/cotp/default.nix b/pkgs/applications/misc/cotp/default.nix index 38cef65b20f2..71d1c4a81bd6 100644 --- a/pkgs/applications/misc/cotp/default.nix +++ b/pkgs/applications/misc/cotp/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "cotp"; - version = "1.4.1"; + version = "1.4.4"; src = fetchFromGitHub { owner = "replydev"; repo = "cotp"; rev = "v${version}"; - hash = "sha256-NGasyAhODvV/tYifhlkfZ3cEIBDD/3PaASCDbBK3JsI="; + hash = "sha256-S2658xkaDshQBYfy8mwuuBAKWGF4j+UYtapqPEf1wP4="; }; - cargoHash = "sha256-5olA78kYjeqFMy8ObRkcPOnYjqaTZqVCefmNkTi3VYs="; + cargoHash = "sha256-DGx/LsKzoITA4extStjULiuiHJx0sTlPloE8h8MvnXQ="; buildInputs = lib.optionals stdenv.isLinux [ libxcb ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; From a2234613e8b2bc3a8408337fa45787d150c91efd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 05:10:36 +0000 Subject: [PATCH 22/71] plantuml-server: 1.2024.2 -> 1.2024.3 --- pkgs/tools/misc/plantuml-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/plantuml-server/default.nix b/pkgs/tools/misc/plantuml-server/default.nix index 2ef853e0dee6..e0fa8b00db56 100644 --- a/pkgs/tools/misc/plantuml-server/default.nix +++ b/pkgs/tools/misc/plantuml-server/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchurl, nixosTests }: let - version = "1.2024.2"; + version = "1.2024.3"; in stdenv.mkDerivation rec { pname = "plantuml-server"; inherit version; src = fetchurl { url = "https://github.com/plantuml/plantuml-server/releases/download/v${version}/plantuml-v${version}.war"; - sha256 = "sha256-0OXP61ndJ2PSXJnqn7+vxJgrUqRkYgAmFmGJiaElMmU="; + sha256 = "sha256-tuRtQl6tbjrgew6s6OV4EeY+GUo3DPVJJyuoD2vfnoo="; }; dontUnpack = true; From 8b249d3ea33deee8274befa1e47eb636c0427880 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 05:16:08 +0000 Subject: [PATCH 23/71] runme: 3.0.0 -> 3.0.1 --- pkgs/development/tools/misc/runme/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/runme/default.nix b/pkgs/development/tools/misc/runme/default.nix index c9118df07d5a..39548f7d7d8d 100644 --- a/pkgs/development/tools/misc/runme/default.nix +++ b/pkgs/development/tools/misc/runme/default.nix @@ -12,13 +12,13 @@ buildGoModule rec { pname = "runme"; - version = "3.0.0"; + version = "3.0.1"; src = fetchFromGitHub { owner = "stateful"; repo = "runme"; rev = "v${version}"; - hash = "sha256-y8UjSxYHWf+HnSDN7p6Y6iheTFaYXOCYsOImk/BuvKU="; + hash = "sha256-yGJqHhqQoG/Oa3/IV+sTdeEJurB8GGvoOxZnSeNkgqA="; }; vendorHash = "sha256-QoZzEq1aC7cjY/RVp5Z5HhSuTFf2BSYQnfg0jSaeTJU="; From 3ff4ce2eb8eada65252f458b368dc23c320b9609 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 07:22:17 +0000 Subject: [PATCH 24/71] home-manager: unstable-2024-02-14 -> unstable-2024-02-15 --- pkgs/tools/package-management/home-manager/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/home-manager/default.nix b/pkgs/tools/package-management/home-manager/default.nix index af9c91135ed2..77498f9538a3 100644 --- a/pkgs/tools/package-management/home-manager/default.nix +++ b/pkgs/tools/package-management/home-manager/default.nix @@ -16,14 +16,14 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "home-manager"; - version = "unstable-2024-02-14"; + version = "unstable-2024-02-15"; src = fetchFromGitHub { name = "home-manager-source"; owner = "nix-community"; repo = "home-manager"; - rev = "043ba285c6dc20f36441d48525402bcb9743c498"; - hash = "sha256-qxmBGDzutuJ/tsX4gp+Mr7fjxOZBbeT9ixhS5o4iFOw="; + rev = "3d6791b3897b526c82920a2ab5f61d71985b3cf8"; + hash = "sha256-EH20hJfNnc1/ODdDVat9B7aKm0B95L3YtkIRwKLvQG8="; }; nativeBuildInputs = [ From 33ad74f54929aaa278af8097e59d3e9d633f261a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 07:42:34 +0000 Subject: [PATCH 25/71] cvehound: 1.1.0 -> 1.2.0 --- pkgs/development/tools/analysis/cvehound/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/cvehound/default.nix b/pkgs/development/tools/analysis/cvehound/default.nix index d6b08fb06153..96f9b47d17bc 100644 --- a/pkgs/development/tools/analysis/cvehound/default.nix +++ b/pkgs/development/tools/analysis/cvehound/default.nix @@ -7,13 +7,13 @@ python3.pkgs.buildPythonApplication rec { pname = "cvehound"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { owner = "evdenis"; repo = "cvehound"; rev = "refs/tags/${version}"; - hash = "sha256-4+0Virpsq4mwOIpostS87VYTX8hsumXEL1w8FiOrNtA="; + hash = "sha256-DnrFlDFJT74irvrNs/j7zwO76DYjTOuY0t+mu5c8gpk="; }; makeWrapperArgs = [ From beb3c3b76fd6d8e5dc59aab1213e2031068f4c8b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 08:13:28 +0000 Subject: [PATCH 26/71] python311Packages.oelint-parser: 3.2.0 -> 3.2.1 --- pkgs/development/python-modules/oelint-parser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oelint-parser/default.nix b/pkgs/development/python-modules/oelint-parser/default.nix index 407be029a60b..e8ab9a2802cb 100644 --- a/pkgs/development/python-modules/oelint-parser/default.nix +++ b/pkgs/development/python-modules/oelint-parser/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "oelint-parser"; - version = "3.2.0"; + version = "3.2.1"; format = "setuptools"; src = fetchPypi { inherit version; pname = "oelint_parser"; - hash = "sha256-RmOKrR89bRzewUwK4oebkM8GmfEcwcx8fKFiChnMD5A="; + hash = "sha256-UHBr6O0eV4A2yS04/gtPplp5rI+YfizQhYMUE2AZ41I="; }; buildInputs = [ pip ]; From 9a975eeb39a4169f13f61cf317d1d61fd1a7dd1f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 09:00:45 +0000 Subject: [PATCH 27/71] python311Packages.sagemaker: 2.207.1 -> 2.208.0 --- pkgs/development/python-modules/sagemaker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sagemaker/default.nix b/pkgs/development/python-modules/sagemaker/default.nix index 6d0949a96e3f..e1423c9270e7 100644 --- a/pkgs/development/python-modules/sagemaker/default.nix +++ b/pkgs/development/python-modules/sagemaker/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "sagemaker"; - version = "2.207.1"; + version = "2.208.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "aws"; repo = "sagemaker-python-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-nSFBx2s6vy5Ug2tBiPqNu4Q29LGW2LijoDKlC6m4CL4="; + hash = "sha256-9YcYRwwa5P31jZpDrsewBY+r2kjRmoGM8CkXqAMilvE="; }; nativeBuildInputs = [ From 093ed6ce86553861f7378d03bbf729b7b94ab977 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:03:28 +0100 Subject: [PATCH 28/71] python311Packages.md-toc: 8.2.2 -> 8.2.3 Diff: https://github.com/frnmst/md-toc/compare/8.2.2...8.2.3 Changelog: https://blog.franco.net.eu.org/software/CHANGELOG-md-toc.html --- pkgs/development/python-modules/md-toc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/md-toc/default.nix b/pkgs/development/python-modules/md-toc/default.nix index 18aeac19b3ca..63835970bcae 100644 --- a/pkgs/development/python-modules/md-toc/default.nix +++ b/pkgs/development/python-modules/md-toc/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "md-toc"; - version = "8.2.2"; + version = "8.2.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "frnmst"; repo = pname; rev = version; - hash = "sha256-fL3JlZWTEEinYILNeHw0cuvVza27atLLxjrBZkVLRiU="; + hash = "sha256-nKkKtLEW0pohXiMtjWl2Kzh7SRwZJ/yzhXpDyluLodc="; }; propagatedBuildInputs = [ From 0bf342e43a3f94fc6821459d7ccc5819ccb6133a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:06:53 +0100 Subject: [PATCH 29/71] python311Packages.fpyutils: 3.0.1 -> 4.0.1 Diff: https://github.com/frnmst/fpyutils/compare/refs/tags/3.0.1...4.0.1 Changelog: https://blog.franco.net.eu.org/software/fpyutils-4.0.1/release.html --- pkgs/development/python-modules/fpyutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fpyutils/default.nix b/pkgs/development/python-modules/fpyutils/default.nix index 3ad71f9a2617..a83f60ccd624 100644 --- a/pkgs/development/python-modules/fpyutils/default.nix +++ b/pkgs/development/python-modules/fpyutils/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "fpyutils"; - version = "3.0.1"; + version = "4.0.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "frnmst"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-cmCD8uKPX/7Ak6jAqzCvDqR1FgH09GaLfLTZdBQB+bs="; + hash = "sha256-VVR1zsejO6kHlMjqqlftDKu3/SyDzgPov9f48HYL/Bk="; }; propagatedBuildInputs = [ From 18981e689cccec5dd119a280d83d17eaf98c2dd8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:08:38 +0100 Subject: [PATCH 30/71] python311Packages.fpyutils: refactor --- pkgs/development/python-modules/fpyutils/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fpyutils/default.nix b/pkgs/development/python-modules/fpyutils/default.nix index a83f60ccd624..a81067e1ffb3 100644 --- a/pkgs/development/python-modules/fpyutils/default.nix +++ b/pkgs/development/python-modules/fpyutils/default.nix @@ -5,22 +5,27 @@ , pytestCheckHook , pythonOlder , requests +, setuptools }: buildPythonPackage rec { pname = "fpyutils"; version = "4.0.1"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "frnmst"; - repo = pname; + repo = "fpyutils"; rev = "refs/tags/${version}"; hash = "sha256-VVR1zsejO6kHlMjqqlftDKu3/SyDzgPov9f48HYL/Bk="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ atomicwrites requests From af080c9cdebc7aa48570e574a780aae117b32b05 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:09:17 +0100 Subject: [PATCH 31/71] python311Packages.md-toc: refactor --- pkgs/development/python-modules/md-toc/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/md-toc/default.nix b/pkgs/development/python-modules/md-toc/default.nix index 63835970bcae..7789104db892 100644 --- a/pkgs/development/python-modules/md-toc/default.nix +++ b/pkgs/development/python-modules/md-toc/default.nix @@ -5,22 +5,27 @@ , pyfakefs , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "md-toc"; version = "8.2.3"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "frnmst"; - repo = pname; - rev = version; + repo = "md-toc"; + rev = "refs/tags/${version}"; hash = "sha256-nKkKtLEW0pohXiMtjWl2Kzh7SRwZJ/yzhXpDyluLodc="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ fpyutils ]; From c709432ee1f59f66f5d405cf795b8e8a387e86e6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:11:27 +0100 Subject: [PATCH 32/71] python311Packages.meshtastic: 2.2.21 -> 2.2.22 Diff: https://github.com/meshtastic/Meshtastic-python/compare/refs/tags/2.2.21...2.2.22 Changelog: https://github.com/meshtastic/python/releases/tag/2.2.22 --- pkgs/development/python-modules/meshtastic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/meshtastic/default.nix b/pkgs/development/python-modules/meshtastic/default.nix index 625f87803c2e..bbc125443e3a 100644 --- a/pkgs/development/python-modules/meshtastic/default.nix +++ b/pkgs/development/python-modules/meshtastic/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "meshtastic"; - version = "2.2.21"; + version = "2.2.22"; pyproject = true; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "meshtastic"; repo = "Meshtastic-python"; rev = "refs/tags/${version}"; - hash = "sha256-qmzPtHAw4hzHDOLA8RT1VqAOjI287oxYNVT2t8sspVw="; + hash = "sha256-bAg7Rr17Q+a+S0ZuHcFmmTM0sRcX2w0zRClKdFwix30="; }; nativeBuildInputs = [ From 2ae5b21bebe8f0abafacc893d2e54858647e6248 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 09:22:50 +0000 Subject: [PATCH 33/71] bun: 1.0.26 -> 1.0.27 --- pkgs/development/web/bun/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/web/bun/default.nix b/pkgs/development/web/bun/default.nix index c4779f96f5ea..8a1fc754ebe2 100644 --- a/pkgs/development/web/bun/default.nix +++ b/pkgs/development/web/bun/default.nix @@ -12,7 +12,7 @@ }: stdenvNoCC.mkDerivation rec { - version = "1.0.26"; + version = "1.0.27"; pname = "bun"; src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); @@ -51,19 +51,19 @@ stdenvNoCC.mkDerivation rec { sources = { "aarch64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; - hash = "sha256-UEYA6q83fxD3yQuHsQiO9bQ5gptQSipFGjE5eGUb+1c="; + hash = "sha256-zGc5Y/PNoU1tOHKCH9SiBBWyIxs6gyTNPKwxFhJl3w0="; }; "aarch64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; - hash = "sha256-H+hmbZdRKjljskwNicLeFguo5STZ8fIxk7FHvOenuRc="; + hash = "sha256-IEBCZ7DrWzFs2Z97uRuQ1MsaxGqEz9/+BzTA/Qb4rnI="; }; "x86_64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; - hash = "sha256-mlKspcFpeYXJuINYDvCoDEuNHJDMcDqngPNIBpD39T4="; + hash = "sha256-fiY8cpy8REGOaETScUJpbN0HTJT0gAfjSfGLSDBeUs8="; }; "x86_64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; - hash = "sha256-mWVe8BFGSXKJYnr2QXZah1XYfir5zN5+2wQ4HfgdOyE="; + hash = "sha256-t48K6lueJaNcKPAuahzz2TVomWhv67SlYqeo7EBoqtM="; }; }; updateScript = writeShellScript "update-bun" '' From f65ed09251947892cefd070d6c9f6521d82c4ae6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:24:03 +0100 Subject: [PATCH 34/71] python311Packages.tuf: 3.1.0 -> 3.1.1 Diff: https://github.com/theupdateframework/python-tuf/compare/refs/tags/v3.1.0...v3.1.1 Changelog: https://github.com/theupdateframework/python-tuf/blob/v3.1.1/docs/CHANGELOG.md Advisory: https://github.com/advisories/GHSA-77hh-43cm-v8j6 --- pkgs/development/python-modules/tuf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tuf/default.nix b/pkgs/development/python-modules/tuf/default.nix index b6965a7f42e2..9f4deed575e3 100644 --- a/pkgs/development/python-modules/tuf/default.nix +++ b/pkgs/development/python-modules/tuf/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "tuf"; - version = "3.1.0"; + version = "3.1.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "theupdateframework"; repo = "python-tuf"; rev = "refs/tags/v${version}"; - hash = "sha256-IGF/8RdX7Oxl6gdqPGN1w/6q4zaei+MnYXBZepB4KUA="; + hash = "sha256-HiF/b6aOhDhhQqYx/bjMXHABxmAJY4vkLlTheiL8zEo="; }; postPatch = '' From a6ed66bd115a9fd6161f4967a29c3ef073c3deab Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:28:35 +0100 Subject: [PATCH 35/71] python311Packages.tuf: refactor --- pkgs/development/python-modules/tuf/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/tuf/default.nix b/pkgs/development/python-modules/tuf/default.nix index 9f4deed575e3..2572c4ed8cd7 100644 --- a/pkgs/development/python-modules/tuf/default.nix +++ b/pkgs/development/python-modules/tuf/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "hatchling==" "hatchling>=" + --replace-fail "hatchling==" "hatchling>=" ''; nativeBuildInputs = [ From d1f801c743590ae3cd41cd514e8fbbf63ff07fa6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:35:14 +0100 Subject: [PATCH 36/71] goaccess: 1.8.1 -> 1.9.1 Diff: https://github.com/allinurl/goaccess/compare/v1.8.1...v1.9.1 Changelog: https://github.com/allinurl/goaccess/raw/v1.9.1/ChangeLog --- pkgs/tools/misc/goaccess/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/goaccess/default.nix b/pkgs/tools/misc/goaccess/default.nix index ac13cb69370a..774cc18ad801 100644 --- a/pkgs/tools/misc/goaccess/default.nix +++ b/pkgs/tools/misc/goaccess/default.nix @@ -10,14 +10,14 @@ }: stdenv.mkDerivation rec { - version = "1.8.1"; + version = "1.9.1"; pname = "goaccess"; src = fetchFromGitHub { owner = "allinurl"; repo = pname; rev = "v${version}"; - sha256 = "sha256-GTW7ECSHjFBw8O2NewvMgC+3aheusupDlSBTxZriHHc="; + sha256 = "sha256-vfsMyUnhwsI/tY7d/UpDCyG6DmYzWn9qTi2C0icTPpg="; }; nativeBuildInputs = [ From a02037ec69b5b8a689cd12336339643cddfb2c7e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 10:55:52 +0100 Subject: [PATCH 37/71] grype: 0.74.5 -> 0.74.6 Diff: https://github.com/anchore/grype/compare/refs/tags/v0.74.5...v0.74.6 Changelog: https://github.com/anchore/grype/releases/tag/v0.74.6 --- pkgs/tools/security/grype/default.nix | 34 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix index eceffd9bdecd..dcae1af2bed1 100644 --- a/pkgs/tools/security/grype/default.nix +++ b/pkgs/tools/security/grype/default.nix @@ -1,19 +1,20 @@ { lib , buildGoModule , fetchFromGitHub +, git , installShellFiles , openssl }: buildGoModule rec { pname = "grype"; - version = "0.74.5"; + version = "0.74.6"; src = fetchFromGitHub { owner = "anchore"; - repo = pname; + repo = "grype"; rev = "refs/tags/v${version}"; - hash = "sha256-h68LfKQG5xgFIFkyuK9Z6tw8+xoimnF2d2QgTjwU74U="; + hash = "sha256-2KLVIwiSrs+e0srXkfBdk/RxCIvSq/Lixe83th2KvRA="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -28,17 +29,20 @@ buildGoModule rec { proxyVendor = true; - vendorHash = "sha256-lnOF3Xvjc20aFPOf9of3n+aBHvPrLTTlH7aPPlYA/RA="; + vendorHash = "sha256-wgcbP/VbHOMuc0PxWaOsiYTrr77ztLDVaDMhAD50vuQ="; nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = [ + git openssl ]; - subPackages = [ "cmd/grype" ]; + subPackages = [ + "cmd/grype" + ]; excludedPackages = "test/integration"; @@ -70,23 +74,25 @@ buildGoModule rec { # remove tests that depend on docker substituteInPlace test/cli/cmd_test.go \ - --replace "TestCmd" "SkipCmd" + --replace-fail "TestCmd" "SkipCmd" substituteInPlace grype/pkg/provider_test.go \ - --replace "TestSyftLocationExcludes" "SkipSyftLocationExcludes" + --replace-fail "TestSyftLocationExcludes" "SkipSyftLocationExcludes" substituteInPlace test/cli/cmd_test.go \ - --replace "Test_descriptorNameAndVersionSet" "Skip_descriptorNameAndVersionSet" + --replace-fail "Test_descriptorNameAndVersionSet" "Skip_descriptorNameAndVersionSet" # remove tests that depend on git substituteInPlace test/cli/db_validations_test.go \ - --replace "TestDBValidations" "SkipDBValidations" + --replace-fail "TestDBValidations" "SkipDBValidations" substituteInPlace test/cli/registry_auth_test.go \ - --replace "TestRegistryAuth" "SkipRegistryAuth" + --replace-fail "TestRegistryAuth" "SkipRegistryAuth" substituteInPlace test/cli/sbom_input_test.go \ - --replace "TestSBOMInput_FromStdin" "SkipSBOMInput_FromStdin" \ - --replace "TestSBOMInput_AsArgument" "SkipSBOMInput_AsArgument" + --replace-fail "TestSBOMInput_FromStdin" "SkipSBOMInput_FromStdin" \ + --replace-fail "TestSBOMInput_AsArgument" "SkipSBOMInput_AsArgument" substituteInPlace test/cli/subprocess_test.go \ - --replace "TestSubprocessStdin" "SkipSubprocessStdin" + --replace-fail "TestSubprocessStdin" "SkipSubprocessStdin" substituteInPlace grype/internal/packagemetadata/names_test.go \ - --replace "TestAllNames" "SkipAllNames" + --replace-fail "TestAllNames" "SkipAllNames" + substituteInPlace test/cli/version_cmd_test.go \ + --replace-fail "TestVersionCmdPrintsToStdout" "SkipVersionCmdPrintsToStdout" # segfault rm grype/db/v5/namespace/cpe/namespace_test.go From 42c0ca3b7db7adf4c4ea9259d8fd66480bcbab50 Mon Sep 17 00:00:00 2001 From: Jakob Leifhelm Date: Sun, 18 Feb 2024 11:19:54 +0100 Subject: [PATCH 38/71] cfonts: 1.1.2 -> 1.1.3 --- pkgs/tools/misc/cfonts/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/cfonts/default.nix b/pkgs/tools/misc/cfonts/default.nix index 244360c99d8b..12d9687c59be 100644 --- a/pkgs/tools/misc/cfonts/default.nix +++ b/pkgs/tools/misc/cfonts/default.nix @@ -1,14 +1,14 @@ { lib, rustPlatform, fetchCrate }: rustPlatform.buildRustPackage rec { pname = "cfonts"; - version = "1.1.2"; + version = "1.1.3"; src = fetchCrate { inherit pname version; - hash = "sha256-bnjrbcQ2MMZsM0rWWk+xkA58rSREHWfSvlGDAHKIPAw="; + hash = "sha256-ixxDlHjx5Bi6Wl/kzJ/R7d+jgTDCAti25TV1RlXRPus="; }; - cargoHash = "sha256-8NgEsFglt+JyP5D61mT4Z8SIbPATJskiEpn8tWy+yjk="; + cargoHash = "sha256-NltvO5ACf8TsE9CgC1jAXx04/T/kHSZLxXJ4zhA5DGo="; meta = with lib; { homepage = "https://github.com/dominikwilkowski/cfonts"; From 3d44a4452940782551f09ad3dd4afd2d5e0c22b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 10:22:28 +0000 Subject: [PATCH 39/71] python311Packages.django-pattern-library: 1.1.0 -> 1.2.0 --- .../python-modules/django-pattern-library/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-pattern-library/default.nix b/pkgs/development/python-modules/django-pattern-library/default.nix index b93df07d2ef5..12a229ce9da8 100644 --- a/pkgs/development/python-modules/django-pattern-library/default.nix +++ b/pkgs/development/python-modules/django-pattern-library/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "django-pattern-library"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "torchbox"; repo = "django-pattern-library"; rev = "refs/tags/v${version}"; - hash = "sha256-9uuLYwG0/NYGouncuaN8S+3CBABSxSOkcrP59p5v84U="; + hash = "sha256-hrdJYVioY6y9D29DuKPMZjdWj92GcbHXANWiEHadimI="; }; nativeBuildInputs = [ From 68b10cb8dc9c0bfbc94a7736202bce3c8d0d104e Mon Sep 17 00:00:00 2001 From: DarkOnion0 Date: Sun, 18 Feb 2024 12:35:36 +0100 Subject: [PATCH 40/71] drawio: 22.1.8 -> 23.1.5 https://github.com/jgraph/drawio-desktop/releases/tag/v23.1.5 --- pkgs/applications/graphics/drawio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index af64823bb35c..4fc5908dccdc 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -13,19 +13,19 @@ stdenv.mkDerivation rec { pname = "drawio"; - version = "22.1.18"; + version = "23.1.5"; src = fetchFromGitHub { owner = "jgraph"; repo = "drawio-desktop"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-qOZm7XbF8QOx5rD5EJY0lJhaq2Yhp/nppOA4BIWheyE="; + hash = "sha256-ThmTahuU0o/vr6h/T/zCyEB5/APJlVA6t1TNfZgqTJ0="; }; offlineCache = fetchYarnDeps { yarnLock = src + "/yarn.lock"; - hash = "sha256-TwI3NCIn5NnKXuwW5dBl4q6Ma5rZR7NVNb5hoKbmNLM="; + hash = "sha256-hL89WVYy/EQe6Zppmr17Q9T2o/UjBvydDIgGpr7AA5M="; }; nativeBuildInputs = [ @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { sed -i "/afterSign/d" electron-builder-linux-mac.json '' + '' yarn --offline run electron-builder --dir \ - --config electron-builder-linux-mac.json \ + ${if stdenv.isDarwin then "--config electron-builder-linux-mac.json" else ""} \ -c.electronDist=${if stdenv.isDarwin then "." else "${electron}/libexec/electron"} \ -c.electronVersion=${electron.version} From 684bdfa7127d8f9c53a474d99b0b5e639cfb2377 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 11:36:33 +0000 Subject: [PATCH 41/71] sdrangel: 7.17.3 -> 7.18.0 --- pkgs/applications/radio/sdrangel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix index 4c547cb4b125..459fc1f48963 100644 --- a/pkgs/applications/radio/sdrangel/default.nix +++ b/pkgs/applications/radio/sdrangel/default.nix @@ -52,13 +52,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "sdrangel"; - version = "7.17.3"; + version = "7.18.0"; src = fetchFromGitHub { owner = "f4exb"; repo = "sdrangel"; rev = "v${finalAttrs.version}"; - hash = "sha256-NjahPDHM6qbBXTpDSe8HQPslMO0yTd6/0piNzrFNerM="; + hash = "sha256-5+OUOqQb0ekeAVCOr+MftttqTwcDeiV44Oni6i3rO0w="; }; nativeBuildInputs = [ From c1b6218c96ef20f6a687d7d78f24b023d1a6c829 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 11:36:52 +0000 Subject: [PATCH 42/71] solaar: 1.1.10 -> 1.1.11 --- pkgs/applications/misc/solaar/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/solaar/default.nix b/pkgs/applications/misc/solaar/default.nix index 93a6c069f669..f3cd458510b3 100644 --- a/pkgs/applications/misc/solaar/default.nix +++ b/pkgs/applications/misc/solaar/default.nix @@ -14,13 +14,13 @@ # instead of adding this to `services.udev.packages` on NixOS, python3Packages.buildPythonApplication rec { pname = "solaar"; - version = "1.1.10"; + version = "1.1.11"; src = fetchFromGitHub { owner = "pwr-Solaar"; repo = "Solaar"; rev = "refs/tags/${version}"; - hash = "sha256-cs1kj/spZtMUL9aUtBHINAH7uyjMSn9jRDF/hRPzIbo="; + hash = "sha256-fVWfV7rEu/knysWUrPeokBBlSGnvNlpiptAd1M7ZVd8="; }; outputs = [ "out" "udev" ]; From b31810a7c789c5b6bfd83c25e0bcd19e9b2057af Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 11:41:09 +0000 Subject: [PATCH 43/71] vale: 3.0.7 -> 3.1.0 --- pkgs/tools/text/vale/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/vale/default.nix b/pkgs/tools/text/vale/default.nix index 9ea35d355c72..a04c4289f5c7 100644 --- a/pkgs/tools/text/vale/default.nix +++ b/pkgs/tools/text/vale/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "vale"; - version = "3.0.7"; + version = "3.1.0"; subPackages = [ "cmd/vale" ]; outputs = [ "out" "data" ]; @@ -11,7 +11,7 @@ buildGoModule rec { owner = "errata-ai"; repo = "vale"; rev = "v${version}"; - hash = "sha256-wCCW5yJPbXkwkkDywtIBR7gaJG0nLEHIC4xb1LbPa3w="; + hash = "sha256-BWY/a5XFadyeyjtfBv9vVpT/EPYXoL/DqtUVk9nMkQg="; }; vendorHash = "sha256-uEuzAMsQHTAbKeAPIWu2yoCLhBrQNEYxdmjfzLLWONQ="; From f42b16bb43dbdea6c4bec4eae030e6b9e25e1417 Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sat, 17 Feb 2024 15:28:23 +0100 Subject: [PATCH 44/71] myrescue: init at 0.9.8 --- .../my/myrescue/0001-darwin-build-fixes.patch | 79 +++++++++++++++++++ pkgs/by-name/my/myrescue/package.nix | 39 +++++++++ 2 files changed, 118 insertions(+) create mode 100644 pkgs/by-name/my/myrescue/0001-darwin-build-fixes.patch create mode 100644 pkgs/by-name/my/myrescue/package.nix diff --git a/pkgs/by-name/my/myrescue/0001-darwin-build-fixes.patch b/pkgs/by-name/my/myrescue/0001-darwin-build-fixes.patch new file mode 100644 index 000000000000..6dee89ab8f80 --- /dev/null +++ b/pkgs/by-name/my/myrescue/0001-darwin-build-fixes.patch @@ -0,0 +1,79 @@ +From c8f75fec1e558d1f6d5bbcdd89ac14b10fa370de Mon Sep 17 00:00:00 2001 +From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> +Date: Sun, 18 Feb 2024 09:08:12 +0000 +Subject: [PATCH] darwin build fixes + +--- + compat.h | 9 +++++++++ + myrescue-bitmap2ppm.c | 1 + + myrescue-stat.c | 1 + + myrescue.c | 5 +++++ + 4 files changed, 16 insertions(+) + create mode 100644 src/compat.h + +diff --git a/compat.h b/compat.h +new file mode 100644 +index 0000000..99b7239 +--- /dev/null ++++ b/compat.h +@@ -0,0 +1,9 @@ ++#pragma once ++ ++#ifdef __APPLE__ ++#include ++#include ++_Static_assert(sizeof(off_t) == 8, "off_t must be 8 bytes"); ++#define lseek64 lseek ++#define open64 open ++#endif +diff --git a/myrescue-bitmap2ppm.c b/myrescue-bitmap2ppm.c +index 68ecc29..eb2dd9e 100644 +--- a/myrescue-bitmap2ppm.c ++++ b/myrescue-bitmap2ppm.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include "compat.h" + + int main(int argc, char** argv) + { +diff --git a/myrescue-stat.c b/myrescue-stat.c +index c7a115f..264bd55 100644 +--- a/myrescue-stat.c ++++ b/myrescue-stat.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include "compat.h" + + #define BUFFER_SIZE 4096 + +diff --git a/myrescue.c b/myrescue.c +index 0b119c5..f9b052c 100644 +--- a/myrescue.c ++++ b/myrescue.c +@@ -21,7 +21,11 @@ + #define __USE_LARGEFILE64 1 + #define _LARGEFILE_SOURCE 1 + #define _LARGEFILE64_SOURCE 1 ++#ifdef __linux__ + #define HAVE_USBRESET 1 ++#else ++#define HAVE_USBRESET 0 ++#endif + + #include + #include +@@ -37,6 +41,7 @@ + #include + + #include "permute.h" ++#include "compat.h" + + #define LONG_TIME 3 + #define SLEEP_AFTER_USBRESET 5 +-- +2.43.0 + diff --git a/pkgs/by-name/my/myrescue/package.nix b/pkgs/by-name/my/myrescue/package.nix new file mode 100644 index 000000000000..1f47499c55bb --- /dev/null +++ b/pkgs/by-name/my/myrescue/package.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchurl +, installShellFiles +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "myrescue"; + version = "0.9.8"; + + src = fetchurl { + url = "mirror://sourceforge/project/myrescue/myrescue/myrescue-${finalAttrs.version}/myrescue-${finalAttrs.version}.tar.gz"; + hash = "sha256-tO9gkDpEtmySatzV2Ktw3eq5SybCUGAUmKXiSxnkwdc="; + }; + + nativeBuildInputs = [ installShellFiles ]; + + sourceRoot = "./src"; + + patches = [ + ./0001-darwin-build-fixes.patch + ]; + + installPhase = '' + runHook preInstall + install -Dm755 myrescue -t $out/bin + installManPage ../doc/myrescue.1 + runHook postInstall + ''; + + meta = with lib; { + description = "Hard disk recovery tool that reads undamaged regions first"; + mainProgram = "myrescue"; + homepage = "https://myrescue.sourceforge.net"; + maintainers = with maintainers; [ d3vil0p3r ]; + platforms = platforms.unix; + license = licenses.gpl2Plus; + }; +}) From cd3a9fc59a72a0ab177d671418ab2f60a3ed7b0b Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sat, 17 Feb 2024 18:54:03 +0100 Subject: [PATCH 45/71] pasco: init at 20040505_1 --- pkgs/by-name/pa/pasco/include-string.h.patch | 10 +++++ pkgs/by-name/pa/pasco/package.nix | 43 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 pkgs/by-name/pa/pasco/include-string.h.patch create mode 100644 pkgs/by-name/pa/pasco/package.nix diff --git a/pkgs/by-name/pa/pasco/include-string.h.patch b/pkgs/by-name/pa/pasco/include-string.h.patch new file mode 100644 index 000000000000..b156a0537071 --- /dev/null +++ b/pkgs/by-name/pa/pasco/include-string.h.patch @@ -0,0 +1,10 @@ +--- a/src/pasco.c 2024-02-18 12:43:27.385857649 +0100 ++++ b/src/pasco.c 2024-02-18 12:44:00.286087384 +0100 +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + + // + /* This is the default block size for an activity record */ diff --git a/pkgs/by-name/pa/pasco/package.nix b/pkgs/by-name/pa/pasco/package.nix new file mode 100644 index 000000000000..da9343db3930 --- /dev/null +++ b/pkgs/by-name/pa/pasco/package.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "pasco"; + version = "20040505_1"; + + src = fetchurl { + url = "mirror://sourceforge/project/fast/Pasco/Pasco%20v${finalAttrs.version}/pasco_${finalAttrs.version}.tar.gz"; + hash = "sha256-o7jue+lgVxQQvFZOzJMGd1WihlD7Nb+1WaSutq9vaGg="; + }; + + patches = [ + ./include-string.h.patch + ]; + + makeFlags = [ + "-C src" + ]; + + postPatch = '' + substituteInPlace src/Makefile \ + --replace gcc cc + ''; + + installPhase = '' + runHook preInstall + mkdir -p $out/bin + cp bin/pasco $out/bin + runHook postInstall + ''; + + meta = with lib; { + description = "Examine the contents of Internet Explorer's cache files for forensic purposes"; + mainProgram = "pasco"; + homepage = "https://sourceforge.net/projects/fast/files/Pasco/"; + maintainers = with maintainers; [ d3vil0p3r ]; + platforms = platforms.unix; + license = with licenses; [ bsd3 ]; + }; +}) From 79352621875e3c12953d077046425f1a1d62c6f8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 12:42:12 +0000 Subject: [PATCH 46/71] python311Packages.zigpy-deconz: 0.23.0 -> 0.23.1 --- pkgs/development/python-modules/zigpy-deconz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zigpy-deconz/default.nix b/pkgs/development/python-modules/zigpy-deconz/default.nix index 721905fb17b8..930fcf0a7d2b 100644 --- a/pkgs/development/python-modules/zigpy-deconz/default.nix +++ b/pkgs/development/python-modules/zigpy-deconz/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "zigpy-deconz"; - version = "0.23.0"; + version = "0.23.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-8U/3YzXyrQ6pOklvfuVFAk2r/mpcUM7HokfBJUhtyh4="; + hash = "sha256-10EyT3IGdAtF9OUbfZ5OtP+Ot35O0SfMDtsyw5FQ+/8="; }; postPatch = '' From 1ae02f52a5892b1cbca3b0132afbde43385bf580 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 12:42:17 +0000 Subject: [PATCH 47/71] discordo: unstable-2024-01-25 -> unstable-2024-02-16 --- pkgs/applications/networking/discordo/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/discordo/default.nix b/pkgs/applications/networking/discordo/default.nix index bb426cbc777c..029ad55ae030 100644 --- a/pkgs/applications/networking/discordo/default.nix +++ b/pkgs/applications/networking/discordo/default.nix @@ -3,16 +3,16 @@ buildGoModule rec { pname = "discordo"; - version = "unstable-2024-01-25"; + version = "unstable-2024-02-16"; src = fetchFromGitHub { owner = "ayn2op"; repo = pname; - rev = "301b7c7a792b427595803679e37fe99007de9451"; - hash = "sha256-ufAlwlH++g9L3aaA5soJ6r2oiJZi8Ny/6P530oV+BiY="; + rev = "7476d8b391f23fa576f8f34eef3829c6212c6331"; + hash = "sha256-x1/CXHqfiT0HgIPsiRluifPOJUrulN+fih0aOrj3us0="; }; - vendorHash = "sha256-fy3FI1K57hLAgbw3WfmVNZT9ywCSXwRKSq+ATjG+Qpo="; + vendorHash = "sha256-PW0PPMlNB5aa81tsYWUk9mWfSyafI5A0OxqJTCe0OdI="; CGO_ENABLED = 0; From 7ea8d2b2bef1a1e315dd618bf7edc5c0dff546ca Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 10 Feb 2024 09:08:28 +0100 Subject: [PATCH 48/71] nfs-ganesha: add tools output for mount.9P helper The nfs-ganesha mount.9P helper is a standalone shell script that makes some aspects of mounting a 9P filesystem easier, e.g. instead of: mount -t 9p 192.168.10.2 /mnt -oaname=/home it allows the familiar syntax: mount -t 9P 192.168.10.2:/home /mnt As the mount helper is independent of the server, it's added as separate output. --- pkgs/servers/nfs-ganesha/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/servers/nfs-ganesha/default.nix b/pkgs/servers/nfs-ganesha/default.nix index 5f32437970c9..54f0cdbd4857 100644 --- a/pkgs/servers/nfs-ganesha/default.nix +++ b/pkgs/servers/nfs-ganesha/default.nix @@ -6,6 +6,7 @@ stdenv.mkDerivation rec { pname = "nfs-ganesha"; version = "5.7"; + outputs = [ "out" "tools" ]; src = fetchFromGitHub { owner = "nfs-ganesha"; @@ -43,10 +44,18 @@ stdenv.mkDerivation rec { nfs-utils ]; + postPatch = '' + substituteInPlace src/tools/mount.9P --replace "/bin/mount" "/usr/bin/env mount" + ''; + postFixup = '' patchelf --add-rpath $out/lib $out/bin/ganesha.nfsd ''; + postInstall = '' + install -Dm755 $src/src/tools/mount.9P $tools/bin/mount.9P + ''; + meta = with lib; { description = "NFS server that runs in user space"; homepage = "https://github.com/nfs-ganesha/nfs-ganesha/wiki"; @@ -54,5 +63,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; license = licenses.lgpl3Plus; mainProgram = "ganesha.nfsd"; + outputsToInstall = [ "out" "tools" ]; }; } From 3b5a63418925cb3481ae13dc74a671ac89088a44 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 15:29:18 +0000 Subject: [PATCH 49/71] sigma-cli: 1.0.0 -> 1.0.1 --- pkgs/tools/security/sigma-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/sigma-cli/default.nix b/pkgs/tools/security/sigma-cli/default.nix index 4f12607ff06a..897fdfcb2f29 100644 --- a/pkgs/tools/security/sigma-cli/default.nix +++ b/pkgs/tools/security/sigma-cli/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "sigma-cli"; - version = "1.0.0"; + version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "SigmaHQ"; repo = "sigma-cli"; rev = "refs/tags/v${version}"; - hash = "sha256-TVsWGExs4diHoAhfbUs2q9Dh9xVr8WyDRMRhhAFpB8A="; + hash = "sha256-+6+xTc9XGsPxK3OsiA4dj2ORgC0PQtZsZ5a6STwmfcg="; }; postPatch = '' From e99535b12d39d1873e4ce7147378fb7d8608bbbc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 15:54:42 +0000 Subject: [PATCH 50/71] ad-miner: 1.0.0 -> 1.1.0 --- pkgs/by-name/ad/ad-miner/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/ad-miner/package.nix b/pkgs/by-name/ad/ad-miner/package.nix index 549704be72f6..3f9f39999575 100644 --- a/pkgs/by-name/ad/ad-miner/package.nix +++ b/pkgs/by-name/ad/ad-miner/package.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "ad-miner"; - version = "1.0.0"; + version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Mazars-Tech"; repo = "AD_Miner"; rev = "refs/tags/v${version}"; - hash = "sha256-HM7PR1i7/L3MuUaTBPcDblflCH40NmEYSCTJUB06Fjg="; + hash = "sha256-eAcnGS0HLrTqc/WVKNNwYA89GK233QZj4Gfggt4S8R8="; }; # ALl requirements are pinned From ea37f187ec71f71020dd7de4725e3e2992d6b2eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 17:06:09 +0100 Subject: [PATCH 51/71] ad-miner: fix typo --- pkgs/by-name/ad/ad-miner/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/ad-miner/package.nix b/pkgs/by-name/ad/ad-miner/package.nix index 3f9f39999575..79c01a99ed95 100644 --- a/pkgs/by-name/ad/ad-miner/package.nix +++ b/pkgs/by-name/ad/ad-miner/package.nix @@ -15,7 +15,7 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-eAcnGS0HLrTqc/WVKNNwYA89GK233QZj4Gfggt4S8R8="; }; - # ALl requirements are pinned + # All requirements are pinned pythonRelaxDeps = true; nativeBuildInputs = with python3.pkgs; [ @@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Active Directory audit tool that leverages cypher queries to crunch data from Bloodhound"; homepage = "https://github.com/Mazars-Tech/AD_Miner"; - changelog = "https://github.com/Mazars-Tech/AD_Miner/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/Mazars-Tech/AD_Miner/blob/v${version}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; mainProgram = "AD-miner"; From 1c3ef24eaa9b2122e9fd610bf18c8c35d7417f64 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 16:21:17 +0000 Subject: [PATCH 52/71] beeper: 3.95.26 -> 3.96.30 --- .../networking/instant-messengers/beeper/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/beeper/default.nix b/pkgs/applications/networking/instant-messengers/beeper/default.nix index 11ca66b3aa69..e555aec38724 100644 --- a/pkgs/applications/networking/instant-messengers/beeper/default.nix +++ b/pkgs/applications/networking/instant-messengers/beeper/default.nix @@ -11,11 +11,11 @@ }: let pname = "beeper"; - version = "3.95.26"; + version = "3.96.30"; name = "${pname}-${version}"; src = fetchurl { - url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.95.26-build-240213e5u8pwxjw-x86_64.AppImage"; - hash = "sha256-1jlaY5rkw/dgOboj3iUPEkCVouUTXsbPS9E9xuJn9oU="; + url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.96.30-build-240217e2y4xz3z3-x86_64.AppImage"; + hash = "sha256-j/ACMLHircmt5yKhQIeZnVaJBDBcB2YYA+XOjcdMjxc="; }; appimage = appimageTools.wrapType2 { inherit version pname src; From 3c6d8fdaaf65f36b2f98f8f1d3baca8fbcaa6cff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 17:27:36 +0100 Subject: [PATCH 53/71] gdu: 5.26.0 -> 5.27.0 Diff: https://github.com/dundee/gdu/compare/refs/tags/v5.26.0...v5.27.0 Changelog: https://github.com/dundee/gdu/releases/tag/v5.27.0 --- pkgs/tools/system/gdu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/gdu/default.nix b/pkgs/tools/system/gdu/default.nix index 97150db3e94c..f25d9df3ab04 100644 --- a/pkgs/tools/system/gdu/default.nix +++ b/pkgs/tools/system/gdu/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "gdu"; - version = "5.26.0"; + version = "5.27.0"; src = fetchFromGitHub { owner = "dundee"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-bbSpU6l5rhBo7jp7E66/ti4r9GJjXtaaDY5GKYGtLYM="; + hash = "sha256-hQyvYLegGimYTRz0J/2tmaC6N4LfjB1ivWgN29DwNhA="; }; - vendorHash = "sha256-X1xuQiFSCPH10OK5bPcRN5fqMLxyi6y2mJGE9RQ1aJg="; + vendorHash = "sha256-weNcJjofI7Aoy0Eya0KprXHAn7aTA0rQJYrJ4+t65hI="; nativeBuildInputs = [ installShellFiles From e0a2f43c4bda16a818c1ae7a18914de247cd00e1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 17:28:53 +0100 Subject: [PATCH 54/71] gdu: refactor --- pkgs/tools/system/gdu/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/gdu/default.nix b/pkgs/tools/system/gdu/default.nix index f25d9df3ab04..9e84f2d8edfe 100644 --- a/pkgs/tools/system/gdu/default.nix +++ b/pkgs/tools/system/gdu/default.nix @@ -13,7 +13,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "dundee"; - repo = pname; + repo = "gdu"; rev = "refs/tags/v${version}"; hash = "sha256-hQyvYLegGimYTRz0J/2tmaC6N4LfjB1ivWgN29DwNhA="; }; @@ -27,11 +27,12 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}" + "-X=github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}" ]; postPatch = '' - substituteInPlace cmd/gdu/app/app_test.go --replace "development" "${version}" + substituteInPlace cmd/gdu/app/app_test.go \ + --replace-fail "development" "${version}" ''; postInstall = '' From 7734335b9b1a62620262ae7919f5d9f9d748997e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 17:31:48 +0100 Subject: [PATCH 55/71] python311Packages.pyoverkiz: 1.13.6 -> 1.13.7 Diff: https://github.com/iMicknl/python-overkiz-api/compare/refs/tags/v1.13.6...v1.13.7 Changelog: https://github.com/iMicknl/python-overkiz-api/releases/tag/v1.13.7 --- pkgs/development/python-modules/pyoverkiz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyoverkiz/default.nix b/pkgs/development/python-modules/pyoverkiz/default.nix index 1ba1e4e94a64..86bcf10bcf3d 100644 --- a/pkgs/development/python-modules/pyoverkiz/default.nix +++ b/pkgs/development/python-modules/pyoverkiz/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "pyoverkiz"; - version = "1.13.6"; + version = "1.13.7"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "iMicknl"; repo = "python-overkiz-api"; rev = "refs/tags/v${version}"; - hash = "sha256-3kPM9mc18WsO8RJpCCVMeG58AHLwXI/dmQHCjZ6xLj4="; + hash = "sha256-wH4LCfjnxAwub/BCe27osyJVUZSOMDjjxItv0aEa8Ic="; }; postPatch = '' From df62656187459785860c95c42422a24d4aa88f87 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Feb 2024 17:32:37 +0100 Subject: [PATCH 56/71] python311Packages.tplink-omada-client: 1.3.7 -> 1.3.8 Changelog: https://github.com/MarkGodwin/tplink-omada-api/releases/tag/release%2Fv1.3.8 --- .../python-modules/tplink-omada-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tplink-omada-client/default.nix b/pkgs/development/python-modules/tplink-omada-client/default.nix index 4006c002d52c..96f8f31c532c 100644 --- a/pkgs/development/python-modules/tplink-omada-client/default.nix +++ b/pkgs/development/python-modules/tplink-omada-client/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "tplink-omada-client"; - version = "1.3.7"; + version = "1.3.8"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "tplink_omada_client"; inherit version; - hash = "sha256-iSCrFrcj6csslIkd8yt0wvvOSTCHRiMnsMOeUDcsE4U="; + hash = "sha256-/hWlBuqj8RuoOfY2qmha3kkqXIixwWTPKi7TjciB6Rk="; }; nativeBuildInputs = [ From 2c3ea631119f97577a4cd4e53fac744c9c2f2e9e Mon Sep 17 00:00:00 2001 From: DataHearth Date: Thu, 25 Jan 2024 16:44:02 +0100 Subject: [PATCH 57/71] vscode-extensions.charliermarsh.ruff: 2023.60.0 -> 2024.4.0 New version is available and hash mismatchs on certain arch due to different vsix downloaded by vscode on various CPU architecture. --- .../editors/vscode/extensions/default.nix | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 959fd9ffce62..f12dfe5564f7 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -787,18 +787,36 @@ let }; charliermarsh.ruff = buildVscodeMarketplaceExtension { - mktplcRef = { + mktplcRef = let + sources = { + "x86_64-linux" = { + arch = "linux-x64"; + sha256 = "sha256-2c0tH/MlDOqeyffcV8ZCy4woogBTcf1GCuPPO8JXaWc="; + }; + "x86_64-darwin" = { + arch = "darwin-x64"; + sha256 = "sha256-euvGIlO7931N56R5BWKu3F9nSEoDgf+DXk7Hgl1qSUw="; + }; + "aarch64-linux" = { + arch = "linux-arm64"; + sha256 = "sha256-dGpIHChnfrQbxRZDuoAi4imgStyyPdxdvTQ3lknMYu0="; + }; + "aarch64-darwin" = { + arch = "darwin-arm64"; + sha256 = "sha256-tElX4C0I5AmpxSHMtqOsxSAUImD1tqArB5fnvhw4LFc="; + }; + }; + in { name = "ruff"; publisher = "charliermarsh"; - version = "2023.60.0"; - sha256 = "sha256-qgwud2gzHLHID45VxDlngFMoks5O3pTHQe+Q7bdf8+I="; - }; + version = "2024.4.0"; + } // sources.${stdenv.system} or (throw "Unsupported system ${stdenv.system}"); meta = { license = lib.licenses.mit; - changelog = "https://github.com/astral-sh/ruff-vscode/releases"; - description = "Ruff extension for Visual Studio Code"; + changelog = "https://marketplace.visualstudio.com/items/charliermarsh.ruff/changelog"; + description = "A Visual Studio Code extension with support for the Ruff linter."; downloadPage = "https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff"; - homepage = "https://github.com/astral-sh/ruff-vscode/"; + homepage = "https://github.com/astral-sh/ruff-vscode"; maintainers = [ lib.maintainers.azd325 ]; }; }; From 49301882acee4feb4e448d6462ca69788187895e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 18:09:59 +0000 Subject: [PATCH 58/71] codeium: 1.6.36 -> 1.6.38 --- pkgs/by-name/co/codeium/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/co/codeium/package.nix b/pkgs/by-name/co/codeium/package.nix index 69afe48ac940..72a08361028b 100644 --- a/pkgs/by-name/co/codeium/package.nix +++ b/pkgs/by-name/co/codeium/package.nix @@ -13,10 +13,10 @@ let }.${system} or throwSystem; hash = { - x86_64-linux = "sha256-nyw52kjBC4NCnb/WLkeozjH8A7kL+oRY7ayvGM70I9c="; - aarch64-linux = "sha256-GmTAdiOctV2rNwlospYtQmNbspDvdXlV6j/Q5v+GD/k="; - x86_64-darwin = "sha256-YMUztQRdjIqpFQqnK9gfZhMSKUAJlKWvcYH3Xns26hQ="; - aarch64-darwin = "sha256-cV/ZjmX9DfYyBdrVpbBZxAHfW70FVg+8R0Pxji38lRg="; + x86_64-linux = "sha256-lMlJezLLyN3OMtom/opbihUsrkCuWDGXB8j+o53JMBE="; + aarch64-linux = "sha256-Ccej0Amq/Yo2F2C21rC0E9rzwE4grvyP+q+QajEg1MA="; + x86_64-darwin = "sha256-DFGiYI1hc0GN+A63OWdcCHnwkDQKZ+fhrNozWtlebJs="; + aarch64-darwin = "sha256-iuGmmaCc0YbLUO6G8Uyy/DvNgmfV+TzU4j0VPyACQb4="; }.${system} or throwSystem; bin = "$out/bin/codeium_language_server"; @@ -24,7 +24,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "codeium"; - version = "1.6.36"; + version = "1.6.38"; src = fetchurl { name = "${finalAttrs.pname}-${finalAttrs.version}.gz"; url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz"; From 2991a24e7f61fd2be0b838d796a44120edf8c6e6 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sun, 18 Feb 2024 18:13:00 +0000 Subject: [PATCH 59/71] gotools: 0.16.1 -> 0.17.0 --- pkgs/development/tools/gotools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gotools/default.nix b/pkgs/development/tools/gotools/default.nix index bbd77aedef7f..6315dab0e331 100644 --- a/pkgs/development/tools/gotools/default.nix +++ b/pkgs/development/tools/gotools/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "gotools"; - version = "0.16.1"; + version = "0.17.0"; # using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is to basic to browse src = fetchFromGitHub { owner = "golang"; repo = "tools"; rev = "v${version}"; - hash = "sha256-qFDi+d+2OuI+mMBceZiN+kJ0gPcfgXXRDrDDwqKeDOM="; + hash = "sha256-ViUEt5BbthRehZ5M+bDqtD3F3NmS0inPR9T2+Tq+SOo="; }; postPatch = '' @@ -20,7 +20,7 @@ buildGoModule rec { rm -r cmd/getgo ''; - vendorHash = "sha256-oOBdh4mK3x9HbxD00EDKLjFgd/4NQRlQXrnCigGOwLg="; + vendorHash = "sha256-LRtS7ek9WQMfu4ccTKJSjvXVTDq34s4PMJ67ks7v4hQ="; doCheck = false; From 0481f07d16da8561cc0f06c4ef5735d489dffd06 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sun, 18 Feb 2024 18:15:35 +0000 Subject: [PATCH 60/71] gotools: 0.17.0 -> 0.18.0 --- pkgs/development/tools/gotools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gotools/default.nix b/pkgs/development/tools/gotools/default.nix index 6315dab0e331..0a31db2779b2 100644 --- a/pkgs/development/tools/gotools/default.nix +++ b/pkgs/development/tools/gotools/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "gotools"; - version = "0.17.0"; + version = "0.18.0"; # using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is to basic to browse src = fetchFromGitHub { owner = "golang"; repo = "tools"; rev = "v${version}"; - hash = "sha256-ViUEt5BbthRehZ5M+bDqtD3F3NmS0inPR9T2+Tq+SOo="; + hash = "sha256-sOT98DdLYtPXovpcX020BbLSH99ByJSaVQeM10IcKG4="; }; postPatch = '' @@ -20,7 +20,7 @@ buildGoModule rec { rm -r cmd/getgo ''; - vendorHash = "sha256-LRtS7ek9WQMfu4ccTKJSjvXVTDq34s4PMJ67ks7v4hQ="; + vendorHash = "sha256-gGAEl3yabXy1qbuBJyrpD+TRrKr56cZEOiSaBoBsYc8="; doCheck = false; From 21a671c1acd2225c3d4defcdd6298d83b6b89b40 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sun, 18 Feb 2024 19:09:06 +0100 Subject: [PATCH 61/71] nixosTests.prometheus-exporters.dnsmasq: wait for DNSMasq before testing the exporter When DNSMasq is not yet completly started trying to call the exporter fails. --- nixos/tests/prometheus-exporters.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index 7e74f27174ec..632656ad5795 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -218,6 +218,9 @@ let services.dnsmasq.enable = true; }; exporterTest = '' + wait_for_unit("dnsmasq.service") + wait_for_open_port(53) + wait_for_file("/var/lib/dnsmasq/dnsmasq.leases") wait_for_unit("prometheus-dnsmasq-exporter.service") wait_for_open_port(9153) succeed("curl -sSf http://localhost:9153/metrics | grep 'dnsmasq_leases 0'") From 26efa75ee6ff7dad41f585996da4d749d13b6f64 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 18 Feb 2024 19:37:16 +0100 Subject: [PATCH 62/71] ethq: 0.6.2 -> 0.6.3 --- pkgs/os-specific/linux/ethq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/ethq/default.nix b/pkgs/os-specific/linux/ethq/default.nix index f966e285471e..d103604294a4 100644 --- a/pkgs/os-specific/linux/ethq/default.nix +++ b/pkgs/os-specific/linux/ethq/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "ethq"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "isc-projects"; repo = "ethq"; rev = "refs/tags/v${builtins.replaceStrings ["."] ["_"] version}"; - hash = "sha256-luvvNdH4kERAMy242kLCqlnGmfPjSjvoHa6J2J7BFi4="; + hash = "sha256-dr37KiSnP0S0OjQof242EcbH+y4pCCzu6R9D6fXR9qc="; }; buildInputs = [ ncurses ]; From d0836910add12fad3795523679098eba7f4731ba Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 17 Dec 2023 21:10:56 +0100 Subject: [PATCH 63/71] normcap: 0.4.4 -> 0.5.2 Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.4.4...v0.5.2 --- pkgs/by-name/no/normcap/package.nix | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/no/normcap/package.nix b/pkgs/by-name/no/normcap/package.nix index 8db68e9ae7e2..f007c9f85ecd 100644 --- a/pkgs/by-name/no/normcap/package.nix +++ b/pkgs/by-name/no/normcap/package.nix @@ -25,7 +25,7 @@ in ps.buildPythonApplication rec { pname = "normcap"; - version = "0.4.4"; + version = "0.5.2"; format = "pyproject"; disabled = ps.pythonOlder "3.9"; @@ -34,16 +34,19 @@ ps.buildPythonApplication rec { owner = "dynobo"; repo = "normcap"; rev = "refs/tags/v${version}"; - hash = "sha256-dShtmoqS9TC3PHuwq24OEOhYfBHGhDCma8Du8QCkFuI="; + hash = "sha256-WkC9sdi6fKEHnf2j+p8KjO+MNbHWDYn5HnjeYBZLUj4="; }; - pythonRemoveDeps = [ - "PySide6-Essentials" - ]; + postPatch = '' + # disable coverage testing + substituteInPlace pyproject.toml \ + --replace "addopts = [" "addopts_ = [" + ''; nativeBuildInputs = [ ps.pythonRelaxDepsHook - ps.poetry-core + ps.hatchling + ps.babel ]; propagatedBuildInputs = [ @@ -95,6 +98,13 @@ ps.buildPythonApplication rec { "test_get_copy_func_with_pbcopy" "test_get_copy_func_without_pbcopy" "test_perform_pbcopy" + # NSXPCSharedListener endpointForReply:withListenerName:replyErrorCode: + # while obtaining endpoint 'ClientCallsAuxiliary': Connection interrupted + # since v5.0.0 + "test_introduction_initialize_checkbox_state" + "test_introduction_checkbox_sets_return_code" + "test_introduction_toggle_checkbox_changes_return_code" + "test_show_introduction" ]; disabledTestPaths = [ @@ -105,6 +115,9 @@ ps.buildPythonApplication rec { ] ++ lib.optionals stdenv.isDarwin [ # requires a display "tests/integration/test_normcap.py" + "tests/integration/test_tray_menu.py" + # failure unknown, crashes in first test with `.show()` + "tests/tests_gui/test_loading_indicator.py" ]; meta = with lib; { From 11ec8e40ef34440e6319925897f0a60474e87623 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 17 Feb 2024 01:31:17 +0100 Subject: [PATCH 64/71] normcap: 0.5.2 -> 0.5.4 release: https://github.com/dynobo/normcap/releases/tag/v0.5.4 diff: https://github.com/dynobo/normcap/compare/v0.5.2...v0.5.4 --- pkgs/by-name/no/normcap/package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/no/normcap/package.nix b/pkgs/by-name/no/normcap/package.nix index f007c9f85ecd..aa95580274b8 100644 --- a/pkgs/by-name/no/normcap/package.nix +++ b/pkgs/by-name/no/normcap/package.nix @@ -25,7 +25,7 @@ in ps.buildPythonApplication rec { pname = "normcap"; - version = "0.5.2"; + version = "0.5.4"; format = "pyproject"; disabled = ps.pythonOlder "3.9"; @@ -34,7 +34,7 @@ ps.buildPythonApplication rec { owner = "dynobo"; repo = "normcap"; rev = "refs/tags/v${version}"; - hash = "sha256-WkC9sdi6fKEHnf2j+p8KjO+MNbHWDYn5HnjeYBZLUj4="; + hash = "sha256-bYja05U/JBwSij1J2LxN+c5Syrb4qzWSZY5+HNmC9Zo="; }; postPatch = '' @@ -43,6 +43,14 @@ ps.buildPythonApplication rec { --replace "addopts = [" "addopts_ = [" ''; + pythonRemoveDeps = [ + "pyside6-essentials" + ]; + + pythonRelaxDeps = [ + "shiboken6" + ]; + nativeBuildInputs = [ ps.pythonRelaxDepsHook ps.hatchling @@ -51,6 +59,7 @@ ps.buildPythonApplication rec { propagatedBuildInputs = [ ps.pyside6 + ps.jeepney ]; preFixup = '' From 8b4e08d82280f79e5492061ef9626fa73d3f7d4f Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 17 Feb 2024 01:32:12 +0100 Subject: [PATCH 65/71] normcap: mark broken on darwin --- pkgs/by-name/no/normcap/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/no/normcap/package.nix b/pkgs/by-name/no/normcap/package.nix index aa95580274b8..638f8e40ba04 100644 --- a/pkgs/by-name/no/normcap/package.nix +++ b/pkgs/by-name/no/normcap/package.nix @@ -135,5 +135,6 @@ ps.buildPythonApplication rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ cafkafk pbsds ]; mainProgram = "normcap"; + broken = stdenv.isDarwin; }; } From 25c04ecb3d205055520f9a5a525fe83de75c0e93 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 18 Feb 2024 20:08:19 +0100 Subject: [PATCH 66/71] normcap: disable flaky test --- pkgs/by-name/no/normcap/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/no/normcap/package.nix b/pkgs/by-name/no/normcap/package.nix index 638f8e40ba04..7018cc565780 100644 --- a/pkgs/by-name/no/normcap/package.nix +++ b/pkgs/by-name/no/normcap/package.nix @@ -90,6 +90,7 @@ ps.buildPythonApplication rec { postCheck = lib.optionalString stdenv.isLinux '' # cleanup the virtual x11 display + sleep 0.5 kill $xvfb_pid ''; @@ -102,6 +103,8 @@ ps.buildPythonApplication rec { "test_urls_reachable" # requires xdg "test_synchronized_capture" + # flaky + "test_normcap_ocr_testcases" ] ++ lib.optionals stdenv.isDarwin [ # requires impure pbcopy "test_get_copy_func_with_pbcopy" From 9df44b1c9d6cb1f35484eee4b651eecfc8a947c4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 18 Feb 2024 19:26:26 +0000 Subject: [PATCH 67/71] shadowsocks-rust: 1.18.0 -> 1.18.1 --- pkgs/tools/networking/shadowsocks-rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/shadowsocks-rust/default.nix b/pkgs/tools/networking/shadowsocks-rust/default.nix index d4e619f563f6..38fb6a60169b 100644 --- a/pkgs/tools/networking/shadowsocks-rust/default.nix +++ b/pkgs/tools/networking/shadowsocks-rust/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "shadowsocks-rust"; - version = "1.18.0"; + version = "1.18.1"; src = fetchFromGitHub { rev = "v${version}"; owner = "shadowsocks"; repo = pname; - hash = "sha256-vW1Q3pqVXR3yn2wixhDZE1QsMmUfKswaGZ6JbJAZ5VM="; + hash = "sha256-q7XtYOBruEmjPC4gx+hBO5oRwbxL7wQJenBS8Pl6yRk="; }; - cargoHash = "sha256-cjkt6Ivpn3MpjdiPM/tLm3B+v/+VCJyxiF7x1bob528="; + cargoHash = "sha256-av4xUjoUGt53UoEpWULv15JKVWZq1x0YXvF5XFf4meQ="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; From 8ac914904ebe68d0f6be4ac2bc60165afc46979b Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sat, 17 Feb 2024 19:25:04 +0100 Subject: [PATCH 68/71] pdfid: init at 0.2.8 --- pkgs/by-name/pd/pdfid/package.nix | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/pd/pdfid/package.nix diff --git a/pkgs/by-name/pd/pdfid/package.nix b/pkgs/by-name/pd/pdfid/package.nix new file mode 100644 index 000000000000..62e14fa9d226 --- /dev/null +++ b/pkgs/by-name/pd/pdfid/package.nix @@ -0,0 +1,40 @@ +{ lib +, fetchzip +, python3 +, python3Packages +, makeBinaryWrapper +}: + +python3Packages.buildPythonApplication rec { + pname = "pdfid"; + version = "0.2.8"; + format = "other"; + + src = fetchzip { + url = "https://didierstevens.com/files/software/pdfid_v0_2_8.zip"; + hash = "sha256-ZLyhBMF2KMX0c1oCvuSCjEjHTnm2gFhJtasaTD9Q1BI="; + stripRoot = false; + }; + + nativeBuildInputs = [ + makeBinaryWrapper + ]; + + installPhase = '' + runHook preInstall + mkdir -p $out/{bin,share/pdfid} + cp -a * $out/share/pdfid/ + makeBinaryWrapper ${lib.getExe python3} $out/bin/${meta.mainProgram} \ + --add-flags "$out/share/pdfid/pdfid.py" + runHook postInstall + ''; + + meta = with lib; { + description = "Scan a file to look for certain PDF keywords"; + homepage = "https://blog.didierstevens.com/programs/pdf-tools/"; + license = with licenses; [ free ]; + mainProgram = "pdfid"; + maintainers = with maintainers; [ d3vil0p3r ]; + platforms = platforms.unix; + }; +} From eba79c6df4d8a2e64458be97733c9cd8f3049d65 Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Sun, 18 Feb 2024 21:33:31 +0100 Subject: [PATCH 69/71] lib.evalModules: Fix deprecation doc for args parameter --- lib/modules.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules.nix b/lib/modules.nix index 0c484fa684aa..c51999c2e332 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -81,9 +81,9 @@ let , # `class`: # A nominal type for modules. When set and non-null, this adds a check to # make sure that only compatible modules are imported. - # This would be remove in the future, Prefer _module.args option instead. class ? null - , args ? {} + , # This would be remove in the future, Prefer _module.args option instead. + args ? {} , # This would be remove in the future, Prefer _module.check option instead. check ? true }: From 70adeec24f6686fdbbba17d5d79a290b427367c2 Mon Sep 17 00:00:00 2001 From: sunder Date: Sun, 18 Feb 2024 15:17:41 +0300 Subject: [PATCH 70/71] plots: refactor --- pkgs/applications/misc/plots/default.nix | 56 ++++++++++-------------- 1 file changed, 24 insertions(+), 32 deletions(-) diff --git a/pkgs/applications/misc/plots/default.nix b/pkgs/applications/misc/plots/default.nix index 01a60baa2ab3..4e6b9d24a56b 100644 --- a/pkgs/applications/misc/plots/default.nix +++ b/pkgs/applications/misc/plots/default.nix @@ -1,12 +1,13 @@ -{ fetchFromGitHub +{ lib +, fetchFromGitHub +, python3Packages , gobject-introspection -, lib , libadwaita -, python3 , wrapGAppsHook , lmmath }: -python3.pkgs.buildPythonApplication rec { + +python3Packages.buildPythonApplication rec { pname = "plots"; version = "0.8.5"; @@ -17,36 +18,21 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-GjNpaorxkkhZsqrKq4kO5nqF5+4I4tmSc023AZpY8Sw="; }; - nativeBuildInputs = [ - gobject-introspection - wrapGAppsHook + nativeBuildInputs = [ gobject-introspection wrapGAppsHook ]; + buildInputs = [ libadwaita ]; + + propagatedBuildInputs = with python3Packages; [ + pygobject3 + numpy + lark + jinja2 + freetype-py + pyopengl + pycairo + pyglm ]; - propagatedBuildInputs = [ - libadwaita - (python3.withPackages (p: with p; [ - numpy - pygobject3 - lark - jinja2 - freetype-py - pyopengl - pycairo - pyglm - ])) - ]; - - nativeCheckInputs = [ - (python3.withPackages (p: with p; [ - pytest - ])) - ]; - - dontWrapGApps = true; - - preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; + nativeCheckInputs = with python3Packages; [ pytest ]; postInstall = '' install -D ${lmmath}/share/fonts/opentype/latinmodern-math.otf -t $out/share/fonts/ @@ -62,6 +48,12 @@ python3.pkgs.buildPythonApplication rec { done ''; + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + meta = with lib; { description = "Graph plotting app for GNOME"; longDescription = '' From 157c7313726ffe0469b4e9512e010bbc1038ecbe Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 18 Feb 2024 20:50:20 +0100 Subject: [PATCH 71/71] libgudev: don't add umockdev dep if doCheck=false This avoids an unnecessary input if checks are disabled. The expression already contains a check to support this override. --- pkgs/development/libraries/libgudev/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libgudev/default.nix b/pkgs/development/libraries/libgudev/default.nix index fd21c9e7f85e..68e3e42476e7 100644 --- a/pkgs/development/libraries/libgudev/default.nix +++ b/pkgs/development/libraries/libgudev/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { ./tests-skip-double-test-on-stub-locale-impls.patch ]; - postPatch = '' + postPatch = lib.optionalString finalAttrs.finalPackage.doCheck '' # The relative location of LD_PRELOAD works for Glibc but not for other loaders (e.g. pkgsMusl) substituteInPlace tests/meson.build \ --replace "LD_PRELOAD=libumockdev-preload.so.0" "LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0"