From d7eb628ee86a8383d5249cc831b2b5095164fd1d Mon Sep 17 00:00:00 2001 From: Robin Mattheussen Date: Fri, 2 Jun 2023 01:02:47 +0200 Subject: [PATCH 01/28] dolphin-emu-primehack: fix name in desktop file --- pkgs/applications/emulators/dolphin-emu/primehack.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/emulators/dolphin-emu/primehack.nix b/pkgs/applications/emulators/dolphin-emu/primehack.nix index 73a4485af260..7c409692d939 100644 --- a/pkgs/applications/emulators/dolphin-emu/primehack.nix +++ b/pkgs/applications/emulators/dolphin-emu/primehack.nix @@ -134,6 +134,7 @@ stdenv.mkDerivation rec { mv $out/share/applications/dolphin-emu.desktop $out/share/applications/dolphin-emu-primehack.desktop mv $out/share/icons/hicolor/256x256/apps/dolphin-emu.png $out/share/icons/hicolor/256x256/apps/dolphin-emu-primehack.png substituteInPlace $out/share/applications/dolphin-emu-primehack.desktop --replace 'dolphin-emu' 'dolphin-emu-primehack' + substituteInPlace $out/share/applications/dolphin-emu-primehack.desktop --replace 'Dolphin Emulator' 'PrimeHack' '' + lib.optionalString stdenv.hostPlatform.isLinux '' install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules ''; From dbed814062cc051172fd4d68fe014e8e16b95a26 Mon Sep 17 00:00:00 2001 From: ocfox Date: Fri, 7 Jul 2023 09:12:30 +0800 Subject: [PATCH 02/28] fishPlugins.tide: 5.5.1 -> 5.6.0 --- pkgs/shells/fish/plugins/tide.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/fish/plugins/tide.nix b/pkgs/shells/fish/plugins/tide.nix index 5c844212006a..94cbfaa6b8f9 100644 --- a/pkgs/shells/fish/plugins/tide.nix +++ b/pkgs/shells/fish/plugins/tide.nix @@ -4,13 +4,13 @@ # Refer to the following comment to get you setup: https://github.com/NixOS/nixpkgs/pull/201646#issuecomment-1320893716 buildFishPlugin rec { pname = "tide"; - version = "5.5.1"; + version = "5.6.0"; src = fetchFromGitHub { owner = "IlanCosman"; repo = "tide"; rev = "v${version}"; - sha256 = "sha256-vi4sYoI366FkIonXDlf/eE2Pyjq7E/kOKBrQS+LtE+M="; + hash = "sha256-cCI1FDpvajt1vVPUd/WvsjX/6BJm6X1yFPjqohmo1rI="; }; #buildFishplugin will only move the .fish files, but tide has a tide configure function @@ -19,7 +19,7 @@ buildFishPlugin rec { ''; meta = with lib; { - description = "The ultimate Fish prompt."; + description = "The ultimate Fish prompt"; homepage = "https://github.com/IlanCosman/tide"; license = licenses.mit; maintainers = [ maintainers.jocelynthode ]; From 7e2c738a2ea9b8f573fc79a96e42a6112eaf2b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 14 Jul 2023 18:42:34 -0700 Subject: [PATCH 03/28] errbot: 6.1.7 -> 6.1.9 Diff: https://github.com/errbotio/errbot/compare/6.1.7...6.1.9 Changelog: https://github.com/errbotio/errbot/blob/6.1.9/CHANGES.rst --- .../networking/errbot/default.nix | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/pkgs/applications/networking/errbot/default.nix b/pkgs/applications/networking/errbot/default.nix index 54d0b862b891..7085ac5f38ba 100644 --- a/pkgs/applications/networking/errbot/default.nix +++ b/pkgs/applications/networking/errbot/default.nix @@ -1,25 +1,26 @@ { lib , fetchFromGitHub -, glibcLocales -, python39 +, python3 }: -let - python3 = python39; -in python3.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "errbot"; - version = "6.1.7"; + version = "6.1.9"; + + format = "setuptools"; src = fetchFromGitHub { owner = "errbotio"; repo = "errbot"; rev = version; - sha256 = "02h44qd3d91zy657hyqsw3gskgxg31848pw6zpb8dhd1x84z5y77"; + hash = "sha256-BmHChLWWnrtg0p4WH8bANwpo+p4RTwjYbXfyPnz6mp8="; }; - LC_ALL = "en_US.utf8"; + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook + ]; - buildInputs = [ glibcLocales ]; + pythonRelaxDeps = true; propagatedBuildInputs = with python3.pkgs; [ ansi @@ -28,7 +29,6 @@ in python3.pkgs.buildPythonApplication rec { deepmerge dulwich flask - hypchat irc jinja2 markdown @@ -38,9 +38,8 @@ in python3.pkgs.buildPythonApplication rec { pygments-markdown-lexer pyopenssl requests - slackclient - sleekxmpp - telegram + slixmpp + python-telegram-bot webtest ]; @@ -49,18 +48,20 @@ in python3.pkgs.buildPythonApplication rec { pytestCheckHook ]; - # Slack backend test has an import issue + # errbot-backend-slackv3 has not been packaged pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ]; disabledTests = [ - "backup" - "broken_plugin" - "plugin_cycle" + # require networking + "test_backup" + "test_broken_plugin" + "test_plugin_cycle" ]; pythonImportsCheck = [ "errbot" ]; meta = with lib; { + changelog = "https://github.com/errbotio/errbot/blob/${version}/CHANGES.rst"; description = "Chatbot designed to be simple to extend with plugins written in Python"; homepage = "http://errbot.io/"; maintainers = with maintainers; [ globin ]; From eccc4d3403cb4450db1941e99ec63c34c07763c4 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sun, 16 Jul 2023 12:37:19 -0700 Subject: [PATCH 04/28] tpm2-tss: remove space from patch name --- pkgs/development/libraries/tpm2-tss/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/tpm2-tss/default.nix b/pkgs/development/libraries/tpm2-tss/default.nix index 9d7cb73cc539..ab115c3dff3f 100644 --- a/pkgs/development/libraries/tpm2-tss/default.nix +++ b/pkgs/development/libraries/tpm2-tss/default.nix @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { # TCTI loader relies on dlopen(), this patch prefixes all calls with the output directory ./no-dynamic-loader-path.patch (fetchurl { - name = "skip-test-fapi-fix-provisioning-with template-if-no-certificate-available.patch"; + name = "skip-test-fapi-fix-provisioning-with-template-if-no-certificate-available.patch"; url = "https://github.com/tpm2-software/tpm2-tss/commit/218c0da8d9f675766b1de502a52e23a3aa52648e.patch"; sha256 = "sha256-dnl9ZAknCdmvix2TdQvF0fHoYeWp+jfCTg8Uc7h0voA="; }) From f81d0d15fb6c9002a56754aa5a8e4d189728e0c5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Jul 2023 18:54:30 +0200 Subject: [PATCH 05/28] bfs: 2.6.3 -> 3.0.1 https://github.com/tavianator/bfs/releases/tag/3.0.1 --- pkgs/tools/system/bfs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/bfs/default.nix b/pkgs/tools/system/bfs/default.nix index 5a11a1740b27..7df1cbd6bd07 100644 --- a/pkgs/tools/system/bfs/default.nix +++ b/pkgs/tools/system/bfs/default.nix @@ -2,20 +2,20 @@ stdenv.mkDerivation rec { pname = "bfs"; - version = "2.6.3"; + version = "3.0.1"; src = fetchFromGitHub { repo = "bfs"; owner = "tavianator"; rev = version; - sha256 = "sha256-XsbD5WYa05tldwBylr6CLwARo61/g4IN686pkCpGGM4="; + sha256 = "sha256-/CiQUK6nmu3MtkG5PMQPn05qIO/M0Oy/LdBI/8oFdqA="; }; buildInputs = [ oniguruma ] ++ lib.optionals stdenv.isLinux [ libcap acl ]; # Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098 preConfigure = lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile --replace "-flto -DNDEBUG" "-DNDEBUG" + substituteInPlace Makefile --replace "-flto" "" ''; makeFlags = [ "PREFIX=$(out)" ]; From 4932b98c465202de792b5bb7a0750a9ff5514f37 Mon Sep 17 00:00:00 2001 From: Varun Madiath Date: Mon, 17 Jul 2023 20:30:21 -0400 Subject: [PATCH 06/28] crowdsec: Correct versioning flags in build --- pkgs/tools/security/crowdsec/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/crowdsec/default.nix b/pkgs/tools/security/crowdsec/default.nix index 5ef11a7b60eb..10a8291a54d4 100644 --- a/pkgs/tools/security/crowdsec/default.nix +++ b/pkgs/tools/security/crowdsec/default.nix @@ -23,8 +23,12 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v${version}" - "-X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=1970-01-01_00:00:00" + "-X github.com/crowdsecurity/go-cs-lib/pkg/version.Version=v${version}" + "-X github.com/crowdsecurity/go-cs-lib/pkg/version.BuildDate=1970-01-01_00:00:00" + "-X github.com/crowdsecurity/go-cs-lib/pkg/version.Tag=${src.rev}" + "-X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga" + "-X github.com/crowdsecurity/crowdsec/pkg/csconfig.defaultConfigDir=/etc/crowdsec" + "-X github.com/crowdsecurity/crowdsec/pkg/csconfig.defaultDataDir=/var/lib/crowdsec/data" ]; postBuild = "mv $GOPATH/bin/{crowdsec-cli,cscli}"; From dbcf59a84dce9752d99372967cb1b34c37cf8658 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Mon, 14 Aug 2023 17:06:59 +0200 Subject: [PATCH 07/28] gtkgreet: add support for svg icons --- pkgs/applications/display-managers/greetd/gtkgreet.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/display-managers/greetd/gtkgreet.nix b/pkgs/applications/display-managers/greetd/gtkgreet.nix index 39beea377e1e..cc78e8758489 100644 --- a/pkgs/applications/display-managers/greetd/gtkgreet.nix +++ b/pkgs/applications/display-managers/greetd/gtkgreet.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromSourcehut +, wrapGAppsHook , pkg-config , cmake , meson @@ -8,6 +9,7 @@ , gtk3 , gtk-layer-shell , json_c +, librsvg , scdoc }: @@ -27,6 +29,7 @@ stdenv.mkDerivation rec { meson ninja cmake + wrapGAppsHook ]; buildInputs = [ @@ -34,6 +37,7 @@ stdenv.mkDerivation rec { gtk-layer-shell json_c scdoc + librsvg ]; mesonFlags = [ From 12891a7e73887c00b49bce91143534f9a73fc25e Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Tue, 15 Aug 2023 21:57:51 +0200 Subject: [PATCH 08/28] gtklock: add support for svg icons --- pkgs/tools/wayland/gtklock/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/wayland/gtklock/default.nix b/pkgs/tools/wayland/gtklock/default.nix index c5146532e442..0b583ad8743e 100644 --- a/pkgs/tools/wayland/gtklock/default.nix +++ b/pkgs/tools/wayland/gtklock/default.nix @@ -1,12 +1,14 @@ { lib , stdenv , fetchFromGitHub +, wrapGAppsHook , pam , scdoc , gtk3 , pkg-config , gtk-layer-shell , glib +, librsvg , wayland , wayland-scanner }: @@ -22,13 +24,12 @@ stdenv.mkDerivation rec { sha256 = "sha256-Jh+BmtKGaLgAcTXc44ydV83dp/W4wzByehUWyeyBoFI="; }; - strictDeps = true; - nativeBuildInputs = [ scdoc pkg-config wayland-scanner glib + wrapGAppsHook ]; buildInputs = [ @@ -36,6 +37,7 @@ stdenv.mkDerivation rec { gtk3 pam gtk-layer-shell + librsvg ]; installFlags = [ From 59285ada550952b1a9e5eadfa08f099a433089fe Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sun, 13 Aug 2023 23:13:51 +0200 Subject: [PATCH 09/28] dolphin-emu: 5.0-19368 -> 5.0-19870 --- .../emulators/dolphin-emu/default.nix | 31 ++++++++++++++----- .../dolphin-emu/find-minizip-ng.patch | 13 ++++++++ 2 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 pkgs/applications/emulators/dolphin-emu/find-minizip-ng.patch diff --git a/pkgs/applications/emulators/dolphin-emu/default.nix b/pkgs/applications/emulators/dolphin-emu/default.nix index ba7fc2cfb8f7..6e3f93701c0b 100644 --- a/pkgs/applications/emulators/dolphin-emu/default.nix +++ b/pkgs/applications/emulators/dolphin-emu/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cmake , pkg-config , wrapQtAppsHook @@ -12,6 +13,7 @@ , enet , ffmpeg , fmt_8 +, gtest , hidapi , libevdev , libGL @@ -22,6 +24,7 @@ , libXdmcp , libXext , libXrandr +, lzo , mbedtls_2 , mgba , miniupnpc @@ -29,12 +32,13 @@ , openal , pugixml , qtbase +, qtsvg , sfml -, soundtouch , udev , vulkan-loader , xxHash , xz +, zlib-ng # Used in passthru , common-updater-scripts @@ -55,16 +59,25 @@ stdenv.mkDerivation rec { pname = "dolphin-emu"; - version = "5.0-19368"; + version = "5.0-19870"; src = fetchFromGitHub { owner = "dolphin-emu"; repo = "dolphin"; - rev = "dadbeb4bae7e7fa23af2b46e0add4143094dc107"; - sha256 = "sha256-XLtFn2liONPizvrKyySZx0mY7qC2fpwhAWaRZLlEzh8="; + rev = "032c77b462a220016f23c5079e71bb23e0ad2adf"; + sha256 = "sha256-TgRattksYsMGcbfu4T5mCFO9BkkHRX0NswFxGwZWjEw="; fetchSubmodules = true; }; + patches = [ + (fetchpatch { + url = "https://github.com/dolphin-emu/dolphin/commit/c43c9101c07376297abbbbc40ef9a1965a1681cd.diff"; + sha256 = "sha256-yHlyG86ta76YKrJsyefvFh521dNbQOqiPOpRUVxKuZM="; + }) + # Remove when merged https://github.com/dolphin-emu/dolphin/pull/12070 + ./find-minizip-ng.patch + ]; + nativeBuildInputs = [ stdenv.cc cmake @@ -87,22 +100,25 @@ stdenv.mkDerivation rec { enet ffmpeg fmt_8 + gtest hidapi libiconv libpulseaudio libspng libusb1 libXdmcp + lzo mbedtls_2 miniupnpc minizip-ng openal pugixml qtbase + qtsvg sfml - soundtouch xxHash - xz + xz # LibLZMA + zlib-ng ] ++ lib.optionals stdenv.isLinux [ alsa-lib bluez @@ -110,7 +126,7 @@ stdenv.mkDerivation rec { libGL libXext libXrandr - # FIXME: Remove comment on next mgba version + # FIXME: Vendored version is newer than mgba's stable release, remove the comment on next mgba's version #mgba # Derivation doesn't support Darwin udev vulkan-loader @@ -118,7 +134,6 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DDISTRIBUTOR=NixOS" - "-DUSE_SHARED_ENET=ON" "-DDOLPHIN_WC_REVISION=${src.rev}" "-DDOLPHIN_WC_DESCRIBE=${version}" "-DDOLPHIN_WC_BRANCH=master" diff --git a/pkgs/applications/emulators/dolphin-emu/find-minizip-ng.patch b/pkgs/applications/emulators/dolphin-emu/find-minizip-ng.patch new file mode 100644 index 000000000000..b5c64d6e713d --- /dev/null +++ b/pkgs/applications/emulators/dolphin-emu/find-minizip-ng.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ee44d04458..2fa6bd8a10 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -678,7 +678,7 @@ dolphin_find_optional_system_library_pkgconfig(ZSTD libzstd>=1.4.0 zstd::zstd Ex + + dolphin_find_optional_system_library_pkgconfig(ZLIB zlib-ng ZLIB::ZLIB Externals/zlib-ng) + +-dolphin_find_optional_system_library_pkgconfig(MINIZIP minizip>=3.0.0 minizip::minizip Externals/minizip) ++dolphin_find_optional_system_library_pkgconfig(MINIZIP minizip-ng>=3.0.0 minizip::minizip Externals/minizip) + + dolphin_find_optional_system_library(LZO Externals/LZO) + From ac08996721fc184b1f91613105dfbd062ac0e8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=9D=82=E9=9B=85?= <23130178+ShadowRZ@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:37:08 +0800 Subject: [PATCH 10/28] gradience: add glib-networking to buildInputs The Gradience supports downloading community presets which are located at GitHub using HTTPS: https://github.com/GradienceTeam/Gradience/blob/af81166e2bca21b35948356753ea08ce5ba44ed0/gradience/backend/globals.py#L31-L34 However glib-networking is required for TLS support. This patch adds this missing dependency to fix downloading Gradience presets. --- pkgs/applications/misc/gradience/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/misc/gradience/default.nix b/pkgs/applications/misc/gradience/default.nix index 762408097108..fcb7d10c0162 100644 --- a/pkgs/applications/misc/gradience/default.nix +++ b/pkgs/applications/misc/gradience/default.nix @@ -6,6 +6,7 @@ , ninja , pkg-config , glib +, glib-networking , desktop-file-utils , gettext , librsvg @@ -50,6 +51,7 @@ python3Packages.buildPythonApplication rec { ]; buildInputs = [ + glib-networking libadwaita libportal libportal-gtk4 From 307c7f49379eae127b1e036f73d638cbd5018502 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 22 Aug 2023 11:17:43 +0200 Subject: [PATCH 11/28] ft2-clone: Apply patch to fix Darwin building --- pkgs/applications/audio/ft2-clone/default.nix | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/audio/ft2-clone/default.nix b/pkgs/applications/audio/ft2-clone/default.nix index 6c63a584fc8d..06a8c5daf9d2 100644 --- a/pkgs/applications/audio/ft2-clone/default.nix +++ b/pkgs/applications/audio/ft2-clone/default.nix @@ -1,5 +1,6 @@ { lib, stdenv , fetchFromGitHub +, fetchpatch , cmake , nixosTests , alsa-lib @@ -22,10 +23,20 @@ stdenv.mkDerivation rec { sha256 = "sha256-tm0yTh46UKnsjH9hv3cMW0YL2x3OTRL+14x4c7w124U="; }; - # Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh) - postPatch = lib.optionalString stdenv.isDarwin '' - sed -i -e 's@__LINUX_ALSA__@__MACOSX_CORE__@' -e 's@asound@@' CMakeLists.txt - ''; + patches = [ + # Adapt CMake script to be Darwin-compatible + # https://github.com/8bitbubsy/ft2-clone/pull/30 + (fetchpatch { + name = "0001-ft2-clone-Make-CMake-script-macOS-compatible.patch"; + url = "https://github.com/8bitbubsy/ft2-clone/pull/30/commits/0033a567abf7ddbdb2bc59c7f730d22f986010aa.patch"; + hash = "sha256-fhA+T6RI+Qmhr7mbG9lEA7esWskgK8+DkWzol0J2lUo="; + }) + (fetchpatch { + name = "0002-ft2-clone-Fix-__MACOSX_CORE__-typo.patch"; + url = "https://github.com/8bitbubsy/ft2-clone/pull/30/commits/fe50aff9233130150a6631875611c7db67a2d705.patch"; + hash = "sha256-X4AVuJ0iRlpH1N/YzjdVk5+yv7eiDNoZkk0mhOizgOg="; + }) + ]; nativeBuildInputs = [ cmake ]; buildInputs = [ SDL2 ] @@ -38,13 +49,6 @@ stdenv.mkDerivation rec { Cocoa ]; - NIX_LDFLAGS = lib.optionalString stdenv.isDarwin [ - "-framework CoreAudio" - "-framework CoreMIDI" - "-framework CoreServices" - "-framework Cocoa" - ]; - passthru.tests = { ft2-clone-starts = nixosTests.ft2-clone; }; From bc42935fe312aeda06b407ba02d15876f8c874e5 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Mon, 10 Jul 2023 02:49:25 -0700 Subject: [PATCH 12/28] bespokesynth: 1.1.0 -> unstable-2023-08-17 Co-authored-by: Christoph Neidahl Co-authored-by: Tobias Bora --- .../audio/bespokesynth/default.nix | 34 ++++++++++--------- pkgs/top-level/all-packages.nix | 4 +-- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/pkgs/applications/audio/bespokesynth/default.nix b/pkgs/applications/audio/bespokesynth/default.nix index ad19192ce70c..92d7297ec844 100644 --- a/pkgs/applications/audio/bespokesynth/default.nix +++ b/pkgs/applications/audio/bespokesynth/default.nix @@ -36,6 +36,7 @@ , CoreServices , CoreAudioKit , IOBluetooth +, MetalKit # It is not allowed to distribute binaries with the VST2 SDK plugin without a license # (the author of Bespoke has such a licence but not Nix). VST3 should work out of the box. # Read more in https://github.com/NixOS/nixpkgs/issues/145607 @@ -58,20 +59,16 @@ let in stdenv.mkDerivation rec { pname = "bespokesynth"; - version = "1.1.0"; + version = "unstable-2023-08-17"; src = fetchFromGitHub { owner = "BespokeSynth"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-PN0Q6/gI1PeMaF/8EZFGJdLR8JVHQZfWunAhOIQxkHw="; + rev = "c6b1410afefc8b0b9aeb4aa11ad5c32651879c9f"; + hash = "sha256-MLHlHSszD2jEN4/f2jC4vjAidr3gVOSK606qs5bq+Sc="; fetchSubmodules = true; }; - postPatch = '' - sed '1i#include ' -i Source/TitleBar.h # gcc12 - ''; - cmakeBuildType = "Release"; cmakeFlags = lib.optionals enableVST2 [ "-DBESPOKE_VST2_SDK_LOCATION=${vst-sdk}/VST2_SDK" ]; @@ -79,7 +76,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ python3 makeWrapper cmake pkg-config ninja ]; buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ - # List obtained in https://github.com/BespokeSynth/BespokeSynth/blob/main/azure-pipelines.yml + # List obtained from https://github.com/BespokeSynth/BespokeSynth/blob/main/azure-pipelines.yml libX11 libXrandr libXinerama @@ -110,6 +107,7 @@ stdenv.mkDerivation rec { CoreServices CoreAudioKit IOBluetooth + MetalKit ]; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [ @@ -133,23 +131,27 @@ stdenv.mkDerivation rec { --prefix PATH : '${lib.makeBinPath [ gnome.zenity (python3.withPackages (ps: with ps; [ jedi ])) - ]}' \ - --prefix LD_LIBRARY_PATH : '${lib.makeLibraryPath [ - libXrandr - libXinerama - libXcursor - libXScrnSaver ]}' ''; + env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isLinux "-rpath ${lib.makeLibraryPath ([ + libX11 + libXrandr + libXinerama + libXext + libXcursor + libXScrnSaver + ])}"; + dontPatchELF = true; # needed or nix will try to optimize the binary by removing "useless" rpath + meta = with lib; { description = "Software modular synth with controllers support, scripting and VST"; - homepage = "https://github.com/awwbees/BespokeSynth"; + homepage = "https://www.bespokesynth.com/"; license = with licenses; [ gpl3Plus ] ++ lib.optional enableVST2 unfree; - maintainers = with maintainers; [ astro tobiasBora OPNA2608 ]; + maintainers = with maintainers; [ astro tobiasBora OPNA2608 PowerUser64 ]; mainProgram = "BespokeSynth"; platforms = platforms.all; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 139c8be63087..3b2a4b9ba591 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30035,8 +30035,8 @@ with pkgs; berry = callPackage ../applications/window-managers/berry { }; - bespokesynth = callPackage ../applications/audio/bespokesynth { - inherit (darwin.apple_sdk.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth; + bespokesynth = darwin.apple_sdk_11_0.callPackage ../applications/audio/bespokesynth { + inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth MetalKit; }; bespokesynth-with-vst2 = bespokesynth.override { From 32e0283e7e726caf26464df6b66eb79583b5458c Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 18 Jul 2023 09:35:15 +0200 Subject: [PATCH 13/28] miriway: unstable-2023-04-25 -> unstable-2023-07-07 --- pkgs/applications/window-managers/miriway/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/miriway/default.nix b/pkgs/applications/window-managers/miriway/default.nix index cb8d5a3941ce..a82164fbcd89 100644 --- a/pkgs/applications/window-managers/miriway/default.nix +++ b/pkgs/applications/window-managers/miriway/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "miriway"; - version = "unstable-2023-04-25"; + version = "unstable-2023-07-07"; src = fetchFromGitHub { owner = "Miriway"; repo = "Miriway"; - rev = "55ef5bd188e2b86dfbd1b9b360d832d4cd454eb7"; - hash = "sha256-kooyL5up+SBHmnv/eEnsg0ujJlHBqbE+n/YHqmpXscI="; + rev = "b3b6fbc391c9303499cb86badaf52334faf60d1b"; + hash = "sha256-37T9xdaRoJcv3D7x/jgegDz/fKXWG3QKsbPhbon2UBw="; }; strictDeps = true; From eb9139e9d7354f2d78763da78e4f921d04872488 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 28 Jul 2023 11:38:23 +0200 Subject: [PATCH 14/28] miriway: unstable-2023-07-07 -> unstable-2023-07-27 --- pkgs/applications/window-managers/miriway/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/miriway/default.nix b/pkgs/applications/window-managers/miriway/default.nix index a82164fbcd89..05c4720a4ecc 100644 --- a/pkgs/applications/window-managers/miriway/default.nix +++ b/pkgs/applications/window-managers/miriway/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "miriway"; - version = "unstable-2023-07-07"; + version = "unstable-2023-07-27"; src = fetchFromGitHub { owner = "Miriway"; repo = "Miriway"; - rev = "b3b6fbc391c9303499cb86badaf52334faf60d1b"; - hash = "sha256-37T9xdaRoJcv3D7x/jgegDz/fKXWG3QKsbPhbon2UBw="; + rev = "bfa3bdea552a9b36ba5828e667e847d05a7310fc"; + hash = "sha256-gMQqiR7zhwUJ/zw61XuBXz1/F7EuQIM1A23ZQ5T38Z8="; }; strictDeps = true; From e095938c264cbf9d4df737a2535d6e642293097e Mon Sep 17 00:00:00 2001 From: huantian Date: Fri, 1 Sep 2023 12:46:12 -0700 Subject: [PATCH 15/28] cinny, cinny-desktop: build from source --- .../cinny-desktop/default.nix | 69 +++++++++++++------ .../instant-messengers/cinny/default.nix | 26 ++++--- pkgs/top-level/all-packages.nix | 6 +- 3 files changed, 68 insertions(+), 33 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/cinny-desktop/default.nix b/pkgs/applications/networking/instant-messengers/cinny-desktop/default.nix index 511b6bccb997..2dbe74d3b34e 100644 --- a/pkgs/applications/networking/instant-messengers/cinny-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/cinny-desktop/default.nix @@ -1,45 +1,74 @@ -{ stdenv -, lib -, dpkg -, fetchurl -, autoPatchelfHook -, glib-networking -, openssl -, webkitgtk +{ lib +, fetchFromGitHub +, rustPlatform +, cinny +, copyDesktopItems , wrapGAppsHook +, pkg-config +, openssl +, dbus +, glib +, glib-networking +, webkitgtk +, makeDesktopItem }: -stdenv.mkDerivation rec { +rustPlatform.buildRustPackage rec { pname = "cinny-desktop"; version = "2.2.6"; - src = fetchurl { - url = "https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/Cinny_desktop-x86_64.deb"; - sha256 = "sha256-Bh7qBlHh2bQ6y2HnI4TtxMU6N3t04tr1Juoul2KMrqs="; + src = fetchFromGitHub { + owner = "cinnyapp"; + repo = "cinny-desktop"; + rev = "v${version}"; + hash = "sha256-RW6LeItIAHJk1e7qMa1MLIGb3jHvJ/KM8E9l1qR48w8="; }; + sourceRoot = "${src.name}/src-tauri"; + + cargoHash = "sha256-Iab/icQ9hFVh/o6egZVPa2zeKgO5WxzkluhRckcayvw="; + + postPatch = '' + substituteInPlace tauri.conf.json \ + --replace '"distDir": "../cinny/dist",' '"distDir": "${cinny}",' + ''; + + postInstall = '' + install -DT icons/128x128@2x.png $out/share/icons/hicolor/256x256@2/apps/cinny.png + install -DT icons/128x128.png $out/share/icons/hicolor/128x128/apps/cinny.png + install -DT icons/32x32.png $out/share/icons/hicolor/32x32/apps/cinny.png + ''; + nativeBuildInputs = [ - autoPatchelfHook - dpkg + copyDesktopItems + wrapGAppsHook + pkg-config ]; buildInputs = [ - glib-networking openssl + dbus + glib + glib-networking webkitgtk - wrapGAppsHook ]; - unpackCmd = "dpkg-deb -x $curSrc source"; - - installPhase = "mv usr $out"; + desktopItems = [ + (makeDesktopItem { + name = "cinny"; + exec = "cinny"; + icon = "cinny"; + desktopName = "Cinny"; + comment = meta.description; + categories = [ "Network" "InstantMessaging" ]; + }) + ]; meta = with lib; { description = "Yet another matrix client for desktop"; homepage = "https://github.com/cinnyapp/cinny-desktop"; maintainers = [ maintainers.aveltras ]; license = licenses.agpl3Only; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; platforms = platforms.linux; mainProgram = "cinny"; }; diff --git a/pkgs/applications/networking/instant-messengers/cinny/default.nix b/pkgs/applications/networking/instant-messengers/cinny/default.nix index d8f7e72b9d1d..336d045b6c16 100644 --- a/pkgs/applications/networking/instant-messengers/cinny/default.nix +++ b/pkgs/applications/networking/instant-messengers/cinny/default.nix @@ -1,22 +1,30 @@ -{ lib, stdenv, fetchurl, writeText, jq, conf ? {} }: +{ lib, buildNpmPackage, fetchFromGitHub, writeText, jq, conf ? { } }: let configOverrides = writeText "cinny-config-overrides.json" (builtins.toJSON conf); -in stdenv.mkDerivation rec { +in +buildNpmPackage rec { pname = "cinny"; version = "2.2.6"; - src = fetchurl { - url = "https://github.com/ajbura/cinny/releases/download/v${version}/cinny-v${version}.tar.gz"; - hash = "sha256-AvYM8++PqKmm7CJN5hmg9GSC72IoHX+rRxuT3GflvjU="; + src = fetchFromGitHub { + owner = "cinnyapp"; + repo = "cinny"; + rev = "v${version}"; + hash = "sha256-Da/gbq9piKvkIMiamoafcRrqxF7128GXoswk2C43An8="; }; + npmDepsHash = "sha256-3wgB/dQmLtwxbRsk+OUcyfx98vpCvhvseEOCrJIFohY="; + + nativeBuildInputs = [ + jq + ]; + installPhase = '' runHook preInstall - mkdir -p $out/ - cp -R . $out/ - ${jq}/bin/jq -s '.[0] * .[1]' "config.json" "${configOverrides}" > "$out/config.json" + cp -r dist $out + jq -s '.[0] * .[1]' "config.json" "${configOverrides}" > "$out/config.json" runHook postInstall ''; @@ -25,7 +33,7 @@ in stdenv.mkDerivation rec { description = "Yet another Matrix client for the web"; homepage = "https://cinny.in/"; maintainers = with maintainers; [ abbe ]; - license = licenses.mit; + license = licenses.agpl3Only; platforms = platforms.all; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 045d91f673b3..73335341b8a5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4612,11 +4612,9 @@ with pkgs; cht-sh = callPackage ../tools/misc/cht.sh { }; - cinny = callPackage ../applications/networking/instant-messengers/cinny { stdenv = stdenvNoCC; }; + cinny = callPackage ../applications/networking/instant-messengers/cinny { }; - cinny-desktop = callPackage ../applications/networking/instant-messengers/cinny-desktop { - openssl = openssl_1_1; - }; + cinny-desktop = callPackage ../applications/networking/instant-messengers/cinny-desktop { }; ckbcomp = callPackage ../tools/X11/ckbcomp { }; From 9872083570f2f6c35302284896b4235fa043500d Mon Sep 17 00:00:00 2001 From: heyimnova Date: Wed, 6 Sep 2023 14:45:18 +0100 Subject: [PATCH 16/28] grapejuice: 7.14.4 -> 7.20.11 --- pkgs/games/grapejuice/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/grapejuice/default.nix b/pkgs/games/grapejuice/default.nix index abc882b300b8..c8d1956eb9a5 100644 --- a/pkgs/games/grapejuice/default.nix +++ b/pkgs/games/grapejuice/default.nix @@ -20,13 +20,13 @@ python3Packages.buildPythonApplication rec { pname = "grapejuice"; - version = "7.14.4"; + version = "7.20.11"; src = fetchFromGitLab { owner = "BrinkerVII"; repo = "grapejuice"; rev = "v${version}"; - hash = "sha256-CWTnofJXx9T/hGXx3rdephXHjpiVRdFEJQ1u2v6n7yo="; + hash = "sha256-sDw67Xseeak1v5x0daznfdeNQahDTj21AVvXmuZlsgg="; }; nativeBuildInputs = [ From 6d95b1aebba5a1c6452406d6c3c75c84ac9e37ea Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Wed, 6 Sep 2023 13:58:14 +0200 Subject: [PATCH 17/28] workflows/backport: Fix link and reword --- .github/workflows/backport.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 81fc5306fea1..131a52b0560b 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -31,5 +31,5 @@ jobs: pull_description: |- Bot-based backport to `${target_branch}`, triggered by a label in #${pull_number}. - * [ ] Before merging, ensure that this backport complies with the [Criteria for Backporting](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#criteria-for-backporting-changes). - * Even as a non-commiter, if you find that it does not comply, leave a comment. + * [ ] Before merging, ensure that this backport is [acceptable for the release](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#changes-acceptable-for-releases). + * Even as a non-commiter, if you find that it is not acceptable, leave a comment. From 433f935d1036aefe3b18e19c901986d6299f91bd Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Wed, 6 Sep 2023 13:58:45 +0200 Subject: [PATCH 18/28] CONTRIBUTING.md: Reword changes acceptable for backport It wasn't entirely clear if the list was acceptable or not from the wording. --- CONTRIBUTING.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 616fd4c22013..e30a4bb0f95e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -483,17 +483,17 @@ The oldest supported release (`YYMM`) can be found using nix-instantiate --eval -A lib.trivial.oldestSupportedRelease ``` -The release branches should generally not receive any breaking changes, both for the Nix expressions and derivations. -So these changes are acceptable to backport: -- New packages, modules and functions -- Security fixes -- Package version updates - - Patch versions with fixes - - Minor versions with new functionality, but no breaking changes +The release branches should generally only receive backwards-compatible changes, both for the Nix expressions and derivations. +Here are some examples of backwards-compatible changes that are okay to backport: +- ✔️ New packages, modules and functions +- ✔️ Security fixes +- ✔️ Package version updates + - ✔️ Patch versions with fixes + - ✔️ Minor versions with new functionality, but no breaking changes In addition, major package version updates with breaking changes are also acceptable for: -- Services that would fail without up-to-date client software, such as `spotify`, `steam`, and `discord` -- Security critical applications, such as `firefox` and `chromium` +- ✔️ Services that would fail without up-to-date client software, such as `spotify`, `steam`, and `discord` +- ✔️ Security critical applications, such as `firefox` and `chromium` ### Changes causing mass rebuilds [mass-rebuild]: #changes-causing-mass-rebuilds From 18bdafe2fca2d0f7db4d9b46beccf197384f10bb Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 6 Sep 2023 15:30:28 -0400 Subject: [PATCH 19/28] biome: 1.0.0 -> 1.1.0 Diff: https://github.com/biomejs/biome/compare/cli/v1.0.0...cli/v1.1.0 Changelog: https://github.com/biomejs/biome/blob/cli/v1.1.0/CHANGELOG.md --- pkgs/development/tools/biome/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/biome/default.nix b/pkgs/development/tools/biome/default.nix index f853669bcc38..f782c6b236fd 100644 --- a/pkgs/development/tools/biome/default.nix +++ b/pkgs/development/tools/biome/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "biome"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "biomejs"; repo = "biome"; rev = "cli/v${version}"; - hash = "sha256-oX/LyC6JN0NUc/xi4G9lzKgF9yOlooAt69Gw+eLJxbE="; + hash = "sha256-4gfbM+wMK2lF37vso0EccHiIXJ4ZUQ7X6C/6JSx2gkc="; }; - cargoHash = "sha256-4P57fmp5CpGn1wYkQos7PO3YFChup8LrrLExv9S76gs="; + cargoHash = "sha256-Ima10leJd994FtFgZk0TIZy7zGLwwgvSvAQ1PXb4ius="; nativeBuildInputs = [ pkg-config From c47f423a9d5eee1a97b1869102d8f4eed50a0a69 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Thu, 24 Aug 2023 00:59:36 -0700 Subject: [PATCH 20/28] nixos/systemd-initrd: disable tpm-crb if on armv7l-linux In addition to the existing riscv64 exception, also disable adding the tpm-crb module to the initrd if the host platform is armv7. --- nixos/modules/system/boot/systemd/initrd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 1b9584cb57bb..5d9fca7a605e 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -351,7 +351,7 @@ in { "autofs4" # systemd-cryptenroll ] ++ lib.optional cfg.enableTpm2 "tpm-tis" - ++ lib.optional (cfg.enableTpm2 && pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb"; + ++ lib.optional (cfg.enableTpm2 && !(pkgs.stdenv.hostPlatform.isRiscV64 || pkgs.stdenv.hostPlatform.isArmv7)) "tpm-crb"; boot.initrd.systemd = { initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages; From c4fbec266132c11648d26da0783b2f88ad00801d Mon Sep 17 00:00:00 2001 From: TobiasB91 Date: Mon, 4 Sep 2023 17:12:54 +0200 Subject: [PATCH 21/28] fusuma: 1.3.0 -> 3.1.0 --- pkgs/tools/inputmethods/fusuma/Gemfile.lock | 2 +- pkgs/tools/inputmethods/fusuma/gemset.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/inputmethods/fusuma/Gemfile.lock b/pkgs/tools/inputmethods/fusuma/Gemfile.lock index 1ca313c6cd54..86cbfcfc5d88 100644 --- a/pkgs/tools/inputmethods/fusuma/Gemfile.lock +++ b/pkgs/tools/inputmethods/fusuma/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - fusuma (1.3.0) + fusuma (3.1.0) PLATFORMS ruby diff --git a/pkgs/tools/inputmethods/fusuma/gemset.nix b/pkgs/tools/inputmethods/fusuma/gemset.nix index 87e0ae14da8c..bcb624aa5841 100644 --- a/pkgs/tools/inputmethods/fusuma/gemset.nix +++ b/pkgs/tools/inputmethods/fusuma/gemset.nix @@ -4,9 +4,9 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "150jc8jyqj3w4k13lf1ihqmm2sld1yawp4jwnf43jixnc9rmzx6f"; + sha256 = "163an1yv8lasbdmdjsj2a4byq1rljg7vf5z86ip33xpb9l133xmm"; type = "gem"; }; - version = "1.3.0"; + version = "3.1.0"; }; } From c31f399f1ca04e5240ea14090713df230bf89375 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Wed, 6 Sep 2023 19:11:45 -0400 Subject: [PATCH 22/28] _7zz: fix build with clang 13+ 7zz uses `-Weverything` and `-Werror`, which results in normally disabled warnings breaking the build with newer versions of clang. --- pkgs/tools/archivers/7zz/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/archivers/7zz/default.nix b/pkgs/tools/archivers/7zz/default.nix index 6df03f1d83d2..48b072b0cf4b 100644 --- a/pkgs/tools/archivers/7zz/default.nix +++ b/pkgs/tools/archivers/7zz/default.nix @@ -69,6 +69,16 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ "-Wno-conversion" "-Wno-unused-macros" + ] ++ lib.optionals stdenv.cc.isClang [ + "-Wno-declaration-after-statement" + (lib.optionals (lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "13") [ + "-Wno-reserved-identifier" + "-Wno-unused-but-set-variable" + ]) + (lib.optionals (lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "16") [ + "-Wno-unsafe-buffer-usage" + "-Wno-cast-function-type-strict" + ]) ]); inherit makefile; From a24a60e5950ad38b60bdaef7d47dc0127349896b Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 7 Sep 2023 01:30:29 +0200 Subject: [PATCH 23/28] fldigi: 4.1.27 -> 4.2.00 --- pkgs/applications/radio/fldigi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/fldigi/default.nix b/pkgs/applications/radio/fldigi/default.nix index 713782944091..f0882935029d 100644 --- a/pkgs/applications/radio/fldigi/default.nix +++ b/pkgs/applications/radio/fldigi/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "fldigi"; - version = "4.1.27"; + version = "4.2.00"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz"; - sha256 = "sha256-siLBJTp+Dvk7GlNYHO8kZlD3St3TvojaW76tkcNNFfA="; + hash = "sha256-F09C6R3mEgYVhS7/MqEBFzfqGKbyrAem5/+QDlwI+9k="; }; nativeBuildInputs = [ pkg-config ]; From 98d45b13c7e6e70e9dc9d8c6d79a873c379913ca Mon Sep 17 00:00:00 2001 From: kashw2 Date: Thu, 7 Sep 2023 09:51:03 +1000 Subject: [PATCH 24/28] xe: 0.11 -> 1.0 --- pkgs/tools/system/xe/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/xe/default.nix b/pkgs/tools/system/xe/default.nix index 2464f624a28e..f31cdaab4c5a 100644 --- a/pkgs/tools/system/xe/default.nix +++ b/pkgs/tools/system/xe/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "xe"; - version = "0.11"; + version = "1.0"; src = fetchFromGitHub { owner = "chneukirchen"; repo = "xe"; rev = "v${version}"; - sha256 = "04jr8f6jcijr0bsmn8ajm0aj35qh9my3xjsaq64h8lwg5bpyn29x"; + sha256 = "sha256-yek6flBhgjSeN3M695BglUfcbnUGp3skzWT2W/BxW8Y="; }; makeFlags = [ "PREFIX=$(out)" ]; From 1ce066f6f9b7d2eaf4e68a463ebe3deeed69da9d Mon Sep 17 00:00:00 2001 From: Matt Moriarity Date: Wed, 6 Sep 2023 16:45:06 -0600 Subject: [PATCH 25/28] elixir-ls: 0.15.1 -> 0.16.0 --- pkgs/development/beam-modules/elixir-ls/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/beam-modules/elixir-ls/default.nix b/pkgs/development/beam-modules/elixir-ls/default.nix index 6426091d8d43..949331f2fe48 100644 --- a/pkgs/development/beam-modules/elixir-ls/default.nix +++ b/pkgs/development/beam-modules/elixir-ls/default.nix @@ -4,12 +4,12 @@ let pname = "elixir-ls"; - version = "0.15.1"; + version = "0.16.0"; src = fetchFromGitHub { owner = "elixir-lsp"; repo = "elixir-ls"; rev = "v${version}"; - hash = "sha256-bWR5wKOVE9qPQyFjiaBumsWwG7vv9pFCVvXO4N8a3HA="; + hash = "sha256-tEKwM5o3uXJ0cLY5USnQJ+HOGTSv6NDJvq+F/iqFEWs="; fetchSubmodules = true; }; in @@ -21,7 +21,7 @@ mixRelease { mixFodDeps = fetchMixDeps { pname = "mix-deps-${pname}"; inherit src version elixir; - hash = "sha256-7AE6RUD7DLo5uTxPMiUDm9MIBYcrNatrIuILK9jinNk="; + hash = "sha256-jpjqMIQ9fS4nkkKWZ80Mx5vULm5bvnNHy52ZQcR0y8c="; }; # elixir-ls is an umbrella app From 037a0529fd0088e6de5e41a2fb2548985987701e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 6 Sep 2023 21:51:29 +0000 Subject: [PATCH 26/28] gptcommit: 0.5.11 -> 0.5.13 --- pkgs/development/tools/gptcommit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gptcommit/default.nix b/pkgs/development/tools/gptcommit/default.nix index 28f4648cd3aa..853e76a864fb 100644 --- a/pkgs/development/tools/gptcommit/default.nix +++ b/pkgs/development/tools/gptcommit/default.nix @@ -10,7 +10,7 @@ let pname = "gptcommit"; - version = "0.5.11"; + version = "0.5.13"; in rustPlatform.buildRustPackage { inherit pname version; @@ -19,10 +19,10 @@ rustPlatform.buildRustPackage { owner = "zurawiki"; repo = pname; rev = "v${version}"; - sha256 = "sha256-UUiqIwvZHV+WhzRc05sW/R3V+6ovL8+WoDOzz4chCq0="; + sha256 = "sha256-O0dqLN2wDXRIVcb9whlzK0BJOm/qhTH+nLpCwSUObng="; }; - cargoSha256 = "sha256-YoNC1kaYItpnn9tzRh61Hn58XbA/LPWokqdbPDD3sq4="; + cargoSha256 = "sha256-JwwQaThefWhJVRJ/a0WfdKJqr/NHgll6D6Y2QaeqWsc="; nativeBuildInputs = [ pkg-config ]; From 93fb39463835b979c13d53fd2480f7e98a4ea654 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Sep 2023 04:21:43 +0300 Subject: [PATCH 27/28] freshBootstrapTools.bootstrapTools: fix eval on darwin ``` error: undefined variable 'system' at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/darwin/make-bootstrap-tools.nix:213:32: 212| 213| bootstrapTools = derivation { | ^ 214| inherit system; ``` fixes eval of `freshBootstrapTools.bootstrapTools` in darwin repl --- pkgs/stdenv/darwin/make-bootstrap-tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/darwin/make-bootstrap-tools.nix b/pkgs/stdenv/darwin/make-bootstrap-tools.nix index 94c61e396b65..46ba25f8603b 100644 --- a/pkgs/stdenv/darwin/make-bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/make-bootstrap-tools.nix @@ -211,7 +211,7 @@ in rec { }; bootstrapTools = derivation { - inherit system; + inherit (localSystem) system; name = "bootstrap-tools"; builder = "${bootstrapFiles.tools}/bin/bash"; From 6a8f3b09e01295f14823e71cce1ede6b36d75143 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Thu, 7 Sep 2023 10:52:25 +1000 Subject: [PATCH 28/28] fgallery: 1.8.2 -> 1.9.1 --- pkgs/tools/graphics/fgallery/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/graphics/fgallery/default.nix b/pkgs/tools/graphics/fgallery/default.nix index 66f8d8d84100..7af5c6129f25 100644 --- a/pkgs/tools/graphics/fgallery/default.nix +++ b/pkgs/tools/graphics/fgallery/default.nix @@ -10,16 +10,21 @@ stdenv.mkDerivation rec { pname = "fgallery"; - version = "1.8.2"; + version = "1.9.1"; src = fetchurl { url = "https://www.thregr.org/~wavexx/software/fgallery/releases/fgallery-${version}.zip"; - sha256 = "18wlvqbxcng8pawimbc8f2422s8fnk840hfr6946lzsxr0ijakvf"; + hash = "sha256-FvF0wkRe3wTPUG9/GEBxkaxvZ1B4wEd9kI9rURHKxn0="; }; nativeBuildInputs = [ makeWrapper unzip ]; buildInputs = (with perlPackages; [ perl ImageExifTool CpanelJSONXS ]); + postPatch = '' + substituteInPlace Makefile \ + --replace "/usr" $out + ''; + installPhase = '' mkdir -p "$out/bin" mkdir -p "$out/share/fgallery"