From 47dc12e62f91f0280ad221306def45c913cd7677 Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Fri, 9 Feb 2024 14:15:21 +0100 Subject: [PATCH 01/31] signal-desktop (aarch64): 6.44.0 -> 6.46.0 --- .../signal-desktop/signal-desktop-aarch64.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-aarch64.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-aarch64.nix index c1ccec86b366..46c049b9d2f2 100644 --- a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-aarch64.nix +++ b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-aarch64.nix @@ -2,7 +2,7 @@ callPackage ./generic.nix { } rec { pname = "signal-desktop"; dir = "Signal"; - version = "6.44.0"; + version = "6.46.0"; url = "https://github.com/0mniteck/Signal-Desktop-Mobian/raw/${version}/builds/release/signal-desktop_${version}_arm64.deb"; - hash = "sha256-M4Xiy8cDQciMzgGl1/eeKZjEaelVtkk6JXJYBP4ua2s="; + hash = "sha256-rHmG2brzlQtYd3l5EFhjndPF5T7nQWzUhEe7LsEFVpc="; } From 6634b86601bb9b2180643c6c59ca099e5bdcf34c Mon Sep 17 00:00:00 2001 From: maralorn Date: Wed, 14 Feb 2024 01:22:58 +0100 Subject: [PATCH 02/31] nixos: Drop unused variable in systemd/initrd.nix --- nixos/modules/system/boot/systemd/initrd.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 9641921fc795..f83837fbc6d4 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -90,8 +90,6 @@ let inherit (cfg) packages package; }; - fileSystems = filter utils.fsNeededForBoot config.system.build.fileSystems; - kernel-name = config.boot.kernelPackages.kernel.name or "kernel"; modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; }; firmware = config.hardware.firmware; From 66a94493993cc9670230d1dcab3816a9de77c51f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Feb 2024 06:22:11 +0000 Subject: [PATCH 03/31] python311Packages.slackclient: 3.26.2 -> 3.27.0 --- pkgs/development/python-modules/slackclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/slackclient/default.nix b/pkgs/development/python-modules/slackclient/default.nix index 75090e8d243a..3a66c42111b9 100644 --- a/pkgs/development/python-modules/slackclient/default.nix +++ b/pkgs/development/python-modules/slackclient/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "slackclient"; - version = "3.26.2"; + version = "3.27.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "slackapi"; repo = "python-slack-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-pvD86kbNOnuNT6+WTAKziJDUTx3ebJUq029UbSVuxdw="; + hash = "sha256-MA3pn6NQxzXYu/BBpOgfZWnS51dl7oXrAi43jenHhxI="; }; propagatedBuildInputs = [ From 5a5f0a814cb67695ec1536e38b139092d5e5ce4c Mon Sep 17 00:00:00 2001 From: sunder Date: Wed, 14 Feb 2024 12:13:59 +0300 Subject: [PATCH 04/31] errands: init at 45.1.9 --- pkgs/by-name/er/errands/package.nix | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 pkgs/by-name/er/errands/package.nix diff --git a/pkgs/by-name/er/errands/package.nix b/pkgs/by-name/er/errands/package.nix new file mode 100644 index 000000000000..36a988472a91 --- /dev/null +++ b/pkgs/by-name/er/errands/package.nix @@ -0,0 +1,67 @@ +{ lib +, fetchFromGitHub +, python3Packages +, gobject-introspection +, libadwaita +, wrapGAppsHook +, meson +, ninja +, desktop-file-utils +, pkg-config +, appstream +, libsecret +, gtk4 +, gtksourceview5 +}: + +python3Packages.buildPythonApplication rec { + pname = "errands"; + version = "45.1.9"; + + pyproject = false; + + src = fetchFromGitHub { + owner = "mrvladus"; + repo = "Errands"; + rev = "refs/tags/${version}"; + hash = "sha256-q8vmT7XUx3XJjPfbEd/c3HrTENfopl1MqwT0x5OuG0c="; + }; + + nativeBuildInputs = [ + gobject-introspection + wrapGAppsHook + desktop-file-utils + meson + ninja + pkg-config + appstream + gtk4 + ]; + + buildInputs = [ + libadwaita + libsecret + gtksourceview5 + ]; + + propagatedBuildInputs = with python3Packages; [ + pygobject3 + lxml + caldav + pycryptodomex + ]; + + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + + meta = with lib; { + description = "Manage your tasks"; + homepage = "https://github.com/mrvladus/Errands"; + license = licenses.mit; + mainProgram = "errands"; + maintainers = with maintainers; [ sund3RRR ]; + }; +} From be902cb3651cc605623c30d4be1ddbc680d09f38 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Fri, 16 Feb 2024 09:46:07 +0100 Subject: [PATCH 05/31] rPackages.Cyclops: fixed build --- pkgs/development/r-modules/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 26239a8b4e4c..49f4e3a73fe1 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -985,6 +985,10 @@ let preConfigure = "patchShebangs configure"; }); + Cyclops = old.Cyclops.overrideAttrs (attrs: { + preConfigure = "patchShebangs configure"; + }); + RcppParallel = old.RcppParallel.overrideAttrs (attrs: { preConfigure = "patchShebangs configure"; }); From 252a17a97d285e57a5739a96524b895a38f12c1b Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Fri, 16 Feb 2024 10:11:31 +0100 Subject: [PATCH 06/31] rPackages.LOMAR: added dependency --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 26239a8b4e4c..391586c0c5f8 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -357,6 +357,7 @@ let jqr = [ pkgs.jq.dev ]; KFKSDS = [ pkgs.gsl ]; kza = [ pkgs.fftw.dev ]; + LOMAR = [ pkgs.gmp.dev ]; lpsymphony = with pkgs; [ pkg-config gfortran gettext ]; lwgeom = with pkgs; [ proj geos gdal ]; rvg = [ pkgs.libpng.dev ]; From cee6d2ba3b47ee8e59e6eac1fa2769e5953c2aec Mon Sep 17 00:00:00 2001 From: zzzsyyy Date: Sat, 17 Feb 2024 19:55:47 +0800 Subject: [PATCH 07/31] linux_xanmod: 6.1.76 -> 6.6.17 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 3d4af98494a7..06f407ffda58 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -6,8 +6,8 @@ let # NOTE: When updating these, please also take a look at the changes done to # kernel config in the xanmod version commit ltsVariant = { - version = "6.1.76"; - hash = "sha256-0nBdUFRGMWM3IL/q8CYiDEUA/sIrYPMkzsBQen30o2E="; + version = "6.6.17"; + hash = "sha256-WSWI3UByuD2SrcFC6El3ao0DINeG0IgtrvazDiHaIR0="; variant = "lts"; }; From 65706932e752c4e6e188625fc8c06281ec1fd066 Mon Sep 17 00:00:00 2001 From: zzzsyyy Date: Sat, 17 Feb 2024 19:56:40 +0800 Subject: [PATCH 08/31] linux_xanmod_latest: 6.6.15 -> 6.7.5 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 06f407ffda58..b321e0bcd649 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -12,8 +12,8 @@ let }; mainVariant = { - version = "6.6.15"; - hash = "sha256-KHn4Ntm1QStgJRWzwmPYXEbEcuZcF4pWJ964wc6J2Wk="; + version = "6.7.5"; + hash = "sha256-achx+rElMOdPUD0qU2TStrlJXZU71E89HVlM4tKf7WE="; variant = "main"; }; From b8b32a6426fb60c711470b6a281b77f007305ea3 Mon Sep 17 00:00:00 2001 From: Ruin0x11 Date: Mon, 19 Feb 2024 15:59:05 +0000 Subject: [PATCH 09/31] libretro: add easyrpg core --- .../emulators/retroarch/cores.nix | 36 +++++++++++++++++++ .../emulators/retroarch/hashes.json | 11 ++++++ .../emulators/retroarch/update_cores.py | 1 + 3 files changed, 48 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index c981f07114ab..72925c0acb79 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -7,10 +7,14 @@ , cmake , curl , fetchFromGitHub +, fetchpatch , ffmpeg , ffmpeg_4 , fluidsynth +, fmt +, freetype , gettext +, harfbuzz , hexdump , hidapi , icu @@ -19,21 +23,28 @@ , libGL , libGLU , libjpeg +, liblcf , libpcap , libpng +, libsndfile , libvorbis , libxml2 +, libxmp , libzip , makeWrapper +, mpg123 , nasm , openssl +, opusfile , pcre +, pixman , pkg-config , portaudio , python3 , retroarch , sfml , snappy +, speexdsp , udev , which , xorg @@ -400,6 +411,31 @@ in }; }; + easyrpg = mkLibretroCore { + core = "easyrpg"; + extraNativeBuildInputs = [ cmake pkg-config ]; + extraBuildInputs = [ fmt freetype harfbuzz liblcf libpng libsndfile libvorbis libxmp mpg123 opusfile pcre pixman speexdsp ]; + patches = [ + # Fixed compatibility with fmt > 9 + # Remove when version > 0.8 + (fetchpatch { + name = "0001-Fix-building-with-fmtlib-10.patch"; + url = "https://github.com/EasyRPG/Player/commit/ab6286f6d01bada649ea52d1f0881dde7db7e0cf.patch"; + hash = "sha256-GdSdVFEG1OJCdf2ZIzTP+hSrz+ddhTMBvOPjvYQHy54="; + }) + ]; + cmakeFlags = [ + "-DBUILD_SHARED_LIBS=ON" + "-DPLAYER_TARGET_PLATFORM=libretro" + "-DCMAKE_INSTALL_DATADIR=${placeholder "out"}/share" + ]; + makefile = "Makefile"; + meta = { + description = "EasyRPG Player libretro port"; + license = lib.licenses.gpl3Only; + }; + }; + eightyone = mkLibretroCore { core = "81"; repo = "eightyone"; diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 60bbcff311ad..4690bbf6fc8a 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -251,6 +251,17 @@ }, "version": "unstable-2023-12-29" }, + "easyrpg": { + "fetcher": "fetchFromGitHub", + "src": { + "owner": "EasyRPG", + "repo": "Player", + "rev": "f8e41f43b619413f95847536412b56f85307d378", + "hash": "sha256-nvWM4czTv/GxY9raomBEn7dmKBeLtSA9nvjMJxc3Q8s=", + "fetchSubmodules": true + }, + "version": "unstable-2023-04-29" + }, "eightyone": { "fetcher": "fetchFromGitHub", "src": { diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py index 1795c0f70edc..e45f4464d6f6 100755 --- a/pkgs/applications/emulators/retroarch/update_cores.py +++ b/pkgs/applications/emulators/retroarch/update_cores.py @@ -50,6 +50,7 @@ CORES = { "dolphin": {"repo": "dolphin"}, "dosbox": {"repo": "dosbox-libretro"}, "dosbox-pure": {"repo": "dosbox-pure", "owner": "schellingb"}, + "easyrpg": {"repo": "Player", "owner": "EasyRPG", "fetch_submodules": True, "rev": "0.8"}, "eightyone": {"repo": "81-libretro"}, "fbalpha2012": {"repo": "fbalpha2012"}, "fbneo": {"repo": "fbneo"}, From e4ed611f4b9a8f26ccb932bdd2121dd803fccf5c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 Feb 2024 17:28:45 +0100 Subject: [PATCH 10/31] python311Packages.identify: 2.5.34 -> 2.5.35 Diff: https://github.com/pre-commit/identify/compare/refs/tags/v2.5.34...v2.5.35 --- pkgs/development/python-modules/identify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/identify/default.nix b/pkgs/development/python-modules/identify/default.nix index 252a40b7cbe2..ba8b8b67ec93 100644 --- a/pkgs/development/python-modules/identify/default.nix +++ b/pkgs/development/python-modules/identify/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "identify"; - version = "2.5.34"; + version = "2.5.35"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "pre-commit"; repo = "identify"; rev = "refs/tags/v${version}"; - hash = "sha256-q1RVFdDFUkKGaKpcbasXHks+OZhVRZUy3ufuruBZiPA="; + hash = "sha256-kUBAq9ttIdTLApJ0yW8Yk/NIXpmllApQGpR24wm0PHA="; }; nativeBuildInputs = [ From bf5a14fb08a416e488ef110dfd7f2c95ebff50ee Mon Sep 17 00:00:00 2001 From: Ruin0x11 Date: Mon, 19 Feb 2024 18:29:35 +0000 Subject: [PATCH 11/31] libretro: add comments about easyrpg core build process --- pkgs/applications/emulators/retroarch/cores.nix | 5 +++-- pkgs/applications/emulators/retroarch/update_cores.py | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 72925c0acb79..b42966f5a10c 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -416,8 +416,9 @@ in extraNativeBuildInputs = [ cmake pkg-config ]; extraBuildInputs = [ fmt freetype harfbuzz liblcf libpng libsndfile libvorbis libxmp mpg123 opusfile pcre pixman speexdsp ]; patches = [ - # Fixed compatibility with fmt > 9 - # Remove when version > 0.8 + # The following patch is shared with easyrpg-player. + # Update when new versions of liblcf and easyrpg-player are released. + # See pkgs/games/easyrpg-player/default.nix for details. (fetchpatch { name = "0001-Fix-building-with-fmtlib-10.patch"; url = "https://github.com/EasyRPG/Player/commit/ab6286f6d01bada649ea52d1f0881dde7db7e0cf.patch"; diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py index e45f4464d6f6..3b4ee5f77692 100755 --- a/pkgs/applications/emulators/retroarch/update_cores.py +++ b/pkgs/applications/emulators/retroarch/update_cores.py @@ -50,6 +50,10 @@ CORES = { "dolphin": {"repo": "dolphin"}, "dosbox": {"repo": "dosbox-libretro"}, "dosbox-pure": {"repo": "dosbox-pure", "owner": "schellingb"}, + # The EasyRPG core is pinned to 0.8 since it depends on version 0.8 of liblcf, which + # was released in April 2023. + # Update the version when a compatible liblcf is available. + # See pkgs/games/easyrpg-player/default.nix for details. "easyrpg": {"repo": "Player", "owner": "EasyRPG", "fetch_submodules": True, "rev": "0.8"}, "eightyone": {"repo": "81-libretro"}, "fbalpha2012": {"repo": "fbalpha2012"}, From d486a0c9627405f44dd03d788da4c3b5342dc34c Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Fri, 9 Feb 2024 14:15:42 +0100 Subject: [PATCH 12/31] signal-desktop: 6.46.0 -> 6.47.1 --- .../instant-messengers/signal-desktop/signal-desktop.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix index 9a129a9ce628..5886ed586cf5 100644 --- a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix @@ -2,7 +2,7 @@ callPackage ./generic.nix {} rec { pname = "signal-desktop"; dir = "Signal"; - version = "6.46.0"; + version = "6.47.1"; url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb"; - hash = "sha256-6s6wFg2mJRaxEyWkZrCefspAdlcDwbjxXpx5CMNGW94="; + hash = "sha256-WRdn3T18xhWvlELtwlOs/ZoPuEt/yQgs7JP/1MGN5Ps="; } From 06885ad43c2c1e82b8eebdd42a4bfeb6d01f194a Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 19 Feb 2024 22:13:23 +0300 Subject: [PATCH 13/31] mpv: don't advertise smb protocol support that we don't have --- pkgs/applications/video/mpv/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 01a875d667b7..163729d879b9 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -227,6 +227,10 @@ in stdenv'.mkDerivation (finalAttrs: { cp mpv_identify.sh umpv $out/bin/ popd pushd $out/share/applications + + # patch out smb protocol reference, since our ffmpeg can't handle it + substituteInPlace mpv.desktop --replace-fail "smb," "" + sed -e '/Icon=/ ! s|mpv|umpv|g; s|^Exec=.*|Exec=umpv %U|' \ mpv.desktop > umpv.desktop printf "NoDisplay=true\n" >> umpv.desktop From 784d21cf71e327e351ffcd8e77bf6a8a10637797 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:01:16 +0100 Subject: [PATCH 14/31] osu-lazer{,bin}: 2024.131.0 -> 2024.219.0, use dotnet 8 --- pkgs/games/osu-lazer/bin.nix | 8 ++++---- pkgs/games/osu-lazer/default.nix | 8 ++++++-- pkgs/games/osu-lazer/deps.nix | 16 +++++++--------- pkgs/games/osu-lazer/osu.runtimeconfig.json | 4 ++-- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pkgs/games/osu-lazer/bin.nix b/pkgs/games/osu-lazer/bin.nix index 43dafeae5f15..fc8214b36e62 100644 --- a/pkgs/games/osu-lazer/bin.nix +++ b/pkgs/games/osu-lazer/bin.nix @@ -7,22 +7,22 @@ let pname = "osu-lazer-bin"; - version = "2024.131.0"; + version = "2024.219.0"; src = { aarch64-darwin = fetchzip { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; - hash = "sha256-R25TAXU3gUcVKQMo8P+0/vTRzSoFrUdFz11inpch+7A="; + hash = "sha256-U7i3rO7NVbBdOFMYpGrjI7LC//TEon3vdAHzjKeGsuk="; stripRoot = false; }; x86_64-darwin = fetchzip { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; - hash = "sha256-w7BK3pm0XrlzOv0oz+ZUfVRufzUCCfevlRL+RDLtoLU="; + hash = "sha256-HEx1ZxxXnsHUD8Cqzld3RQoPZOfiXEmInlUMZVdDt6E="; stripRoot = false; }; x86_64-linux = fetchurl { url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; - hash = "sha256-aNG6s942iTKyvM1XolMqmMs8XxoRYC/ZddCCJl0OtTE="; + hash = "sha256-EqQJolzai0LrVpYE6yjbEUURNiUgi9Lw+otdmKIyoXo="; }; }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); diff --git a/pkgs/games/osu-lazer/default.nix b/pkgs/games/osu-lazer/default.nix index cb1a11c330b6..a94f70681012 100644 --- a/pkgs/games/osu-lazer/default.nix +++ b/pkgs/games/osu-lazer/default.nix @@ -2,6 +2,7 @@ , stdenvNoCC , buildDotnetModule , fetchFromGitHub +, dotnetCorePackages , makeDesktopItem , copyDesktopItems , ffmpeg @@ -16,18 +17,21 @@ buildDotnetModule rec { pname = "osu-lazer"; - version = "2024.131.0"; + version = "2024.219.0"; src = fetchFromGitHub { owner = "ppy"; repo = "osu"; rev = version; - hash = "sha256-fsXs/AzvEQ141y/DPRvg7a7b0K30IfjigbRj0qh88rs="; + hash = "sha256-xL/dTBcbrxTX1C4E5kfveHzzBNagnEvlAcPPcyYRsQk="; }; projectFile = "osu.Desktop/osu.Desktop.csproj"; nugetDeps = ./deps.nix; + dotnet-sdk = dotnetCorePackages.sdk_8_0; + dotnet-runtime = dotnetCorePackages.runtime_8_0; + nativeBuildInputs = [ copyDesktopItems ]; runtimeDeps = [ diff --git a/pkgs/games/osu-lazer/deps.nix b/pkgs/games/osu-lazer/deps.nix index 669463431970..c4f4b006d1c6 100644 --- a/pkgs/games/osu-lazer/deps.nix +++ b/pkgs/games/osu-lazer/deps.nix @@ -62,7 +62,7 @@ (fetchNuGet { pname = "Humanizer.Core.zh-Hans"; version = "2.14.1"; sha256 = "0zn99311zfn602phxyskfjq9vly0w5712z6fly8r4q0h94qa8c85"; }) (fetchNuGet { pname = "Humanizer.Core.zh-Hant"; version = "2.14.1"; sha256 = "0qxjnbdj645l5sd6y3100yyrq1jy5misswg6xcch06x8jv7zaw1p"; }) (fetchNuGet { pname = "JetBrains.Annotations"; version = "2022.3.1"; sha256 = "0lkhyyz25q82ygnxy26lwy5cl8fvkdc13pcn433xpjj8akzbmgd6"; }) - (fetchNuGet { pname = "JetBrains.ReSharper.GlobalTools"; version = "2022.2.3"; sha256 = "0ck4nkk8wlj2gcgs7j4j6z4yqrnf2f5rs2pgwa8kar026sc29xsl"; }) + (fetchNuGet { pname = "JetBrains.ReSharper.GlobalTools"; version = "2023.3.3"; sha256 = "1cq7lj88r0nwypr157nd99g3wzk00wjinx84vasbga77kfcf4z9n"; }) (fetchNuGet { pname = "managed-midi"; version = "1.10.0"; sha256 = "1rih8iq8k4j6n3206d2j7z4vygp725kzs95c6yc7p1mlhfiiimvq"; }) (fetchNuGet { pname = "Markdig"; version = "0.23.0"; sha256 = "1bwn885w7balwncmr764vidyyp9bixqlq6r3lhsapj8ykrpxxa70"; }) (fetchNuGet { pname = "MessagePack"; version = "2.5.140"; sha256 = "04iqlvcacbb37yf83xryd24n14dw780xx8dmc1zywi3x2nrqpjm9"; }) @@ -125,7 +125,7 @@ (fetchNuGet { pname = "NuGet.Protocol"; version = "5.11.0"; sha256 = "041pva6ykc5h6az7bb87mkg32c95cvxlixgspnd34zbdldr4ypdb"; }) (fetchNuGet { pname = "NuGet.Versioning"; version = "5.11.0"; sha256 = "041351n1rbyqpfxqyxbvjgfrcbbawymbq96givz5pvdbabvyf5vq"; }) (fetchNuGet { pname = "NUnit"; version = "3.14.0"; sha256 = "19p8911lrfds1k9rv47jk1bbn665s0pvghkd06gzbg78j6mzzqqa"; }) - (fetchNuGet { pname = "NVika"; version = "2.2.0"; sha256 = "1lxv5m5nf4hfwfdhcscrl8m0hhjkqxxn555wxwb95x0d5w2czx6x"; }) + (fetchNuGet { pname = "NVika"; version = "3.0.0"; sha256 = "1v0n9li6lgfb2w4kbgxrs89h6k4s0zkcp73lch20w5c89dlkq26f"; }) (fetchNuGet { pname = "OpenTabletDriver"; version = "0.6.4"; sha256 = "14wc2rgnbi2ili6sx9iqnmcbn1zlmbsk49zbiz5cycib6rxkqfdm"; }) (fetchNuGet { pname = "OpenTabletDriver.Configurations"; version = "0.6.4"; sha256 = "0l7vf607i54y1xilr7bmjy9zlxacm00wz42mfbvzjf9rr54sy2pm"; }) (fetchNuGet { pname = "OpenTabletDriver.Native"; version = "0.6.4"; sha256 = "1jsw2kwxxskwppk65i52yrxjjgbfbhicpmz30iaxlm68d5m6gwz2"; }) @@ -137,15 +137,15 @@ (fetchNuGet { pname = "ppy.ManagedBass.Fx"; version = "2022.1216.0"; sha256 = "1vw573mkligpx9qiqasw1683cqaa1kgnxhlnbdcj9c4320b1pwjm"; }) (fetchNuGet { pname = "ppy.ManagedBass.Mix"; version = "2022.1216.0"; sha256 = "185bpvgbnd8y20r7vxb1an4pd1aal9b7b5wvmv3knz0qg8j0chd9"; }) (fetchNuGet { pname = "ppy.ManagedBass.Wasapi"; version = "2022.1216.0"; sha256 = "0h2ncf59sza8whvrwwqi8b6fcrkqrnfgfhd0vnhyw0s98nj74f0z"; }) - (fetchNuGet { pname = "ppy.osu.Framework"; version = "2024.131.0"; sha256 = "0pa80w67nnfp3y25l5a6f6p9x48lj8bw3b24vzi3l8ndgcmnpyxz"; }) + (fetchNuGet { pname = "ppy.osu.Framework"; version = "2024.217.0"; sha256 = "1rq6jpkkqf7wic2z4dp1l8ig7wf9jl9z80yl0dnm15d6prnkasgk"; }) (fetchNuGet { pname = "ppy.osu.Framework.NativeLibs"; version = "2023.1225.0-nativelibs"; sha256 = "008kj91i9486ff2q7fcgb8mmpinskvnmfsqza2m5vafh295y3h7m"; }) (fetchNuGet { pname = "ppy.osu.Framework.SourceGeneration"; version = "2023.720.0"; sha256 = "001vvxyv483ibid25fdknvij77x0y983mp4psx2lbg3x2al7yxax"; }) - (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2024.129.0"; sha256 = "032jpqv86z4sc835063gzbshkdzx3qhnzxlyaggidmbwn6i9fja6"; }) + (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2024.207.0"; sha256 = "0960jg0a860f545phscimv5qw6bzijpc4pyplx126zcm1w1cpmfi"; }) (fetchNuGet { pname = "ppy.osuTK.NS20"; version = "1.0.211"; sha256 = "0j4a9n39pqm0cgdcps47p5n2mqph3h94r7hmf0bs59imif4jxvjy"; }) (fetchNuGet { pname = "ppy.SDL2-CS"; version = "1.0.693-alpha"; sha256 = "15fgd3j9cs3adldiscqm0ffixf68h06wqdz1xy1286z4gczhi954"; }) - (fetchNuGet { pname = "ppy.Veldrid"; version = "4.9.3-g91ce5a6cda"; sha256 = "0m96jkagz1ab3jgmz61d4z7jrxz058nzsamvqz93c90rlw802cvm"; }) - (fetchNuGet { pname = "ppy.Veldrid.MetalBindings"; version = "4.9.3-g91ce5a6cda"; sha256 = "14qcrvhpvj3w9nr8fcki0j53qxc8bfgflivr989salh0srnlv764"; }) - (fetchNuGet { pname = "ppy.Veldrid.OpenGLBindings"; version = "4.9.3-g91ce5a6cda"; sha256 = "1gdwk7s9sdvzrqr2rs9j87nvyl7b47b7m6kkhk1mpz6ryq403nsx"; }) + (fetchNuGet { pname = "ppy.Veldrid"; version = "4.9.5-gc8dfc5ca19"; sha256 = "0w0mimfwdgbywmvq2yv04p65wgi1plhlk1ya012yyxp13vvhfgi8"; }) + (fetchNuGet { pname = "ppy.Veldrid.MetalBindings"; version = "4.9.5-gc8dfc5ca19"; sha256 = "0i6bb79kprrmsfphjq26rgxqfvvf12pxr7dfwcq448dw2xgq6rpy"; }) + (fetchNuGet { pname = "ppy.Veldrid.OpenGLBindings"; version = "4.9.5-gc8dfc5ca19"; sha256 = "06a4kkfidr7yj60xl3k4yfawz4wzwkkjpaki8fmsanif1yhz69l8"; }) (fetchNuGet { pname = "ppy.Veldrid.SPIRV"; version = "1.0.15-gca6cec7843"; sha256 = "09pi4c91ljavilw9kx7kzhcax7ar4zk7zy1qwvqfrqsgxznvyxa1"; }) (fetchNuGet { pname = "Realm"; version = "11.5.0"; sha256 = "0r7j5si3n4ncq8xnnjk1q5jjqbj0s1w3ps124y8pgqd14dzvch6a"; }) (fetchNuGet { pname = "Realm.PlatformHelpers"; version = "11.5.0"; sha256 = "1ggbmlsf04pxnh1k86hs0wxnvcw0ja2xnn6358qmrp826km0w1g9"; }) @@ -307,8 +307,6 @@ (fetchNuGet { pname = "System.Text.Encoding"; version = "4.3.0"; sha256 = "1f04lkir4iladpp51sdgmis9dj4y8v08cka0mbmsy0frc9a4gjqr"; }) (fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "5.0.0"; sha256 = "1bn2pzaaq4wx9ixirr8151vm5hynn3lmrljcgjx9yghmm4k677k0"; }) (fetchNuGet { pname = "System.Text.Encoding.Extensions"; version = "4.3.0"; sha256 = "11q1y8hh5hrp5a3kw25cb6l00v5l5dvirkz8jr3sq00h1xgcgrxy"; }) - (fetchNuGet { pname = "System.Text.Encodings.Web"; version = "7.0.0"; sha256 = "1151hbyrcf8kyg1jz8k9awpbic98lwz9x129rg7zk1wrs6vjlpxl"; }) - (fetchNuGet { pname = "System.Text.Json"; version = "7.0.4"; sha256 = "1khcg2r7i29rpbg4mqxncs6r88s9hbbjzxpj29d13zvd31wypyv9"; }) (fetchNuGet { pname = "System.Text.RegularExpressions"; version = "4.3.0"; sha256 = "1bgq51k7fwld0njylfn7qc5fmwrk2137gdq7djqdsw347paa9c2l"; }) (fetchNuGet { pname = "System.Threading"; version = "4.0.11"; sha256 = "19x946h926bzvbsgj28csn46gak2crv2skpwsx80hbgazmkgb1ls"; }) (fetchNuGet { pname = "System.Threading"; version = "4.3.0"; sha256 = "0rw9wfamvhayp5zh3j7p1yfmx9b5khbf4q50d8k5rk993rskfd34"; }) diff --git a/pkgs/games/osu-lazer/osu.runtimeconfig.json b/pkgs/games/osu-lazer/osu.runtimeconfig.json index 4148c494fbc7..170449ccbc02 100644 --- a/pkgs/games/osu-lazer/osu.runtimeconfig.json +++ b/pkgs/games/osu-lazer/osu.runtimeconfig.json @@ -1,9 +1,9 @@ { "runtimeOptions": { - "tfm": "net6.0", + "tfm": "net8.0", "framework": { "name": "Microsoft.NETCore.App", - "version": "6.0.0" + "version": "8.0.0" } } } From 70f9aaa0f49cb85c555d2206952d8aafc94bb463 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 19 Feb 2024 22:05:13 +0000 Subject: [PATCH 15/31] mps: fix `gcc-13` build failure by dropping `-Werror` Without the change build fails on `master` as https://hydra.nixos.org/build/249125931: ss.c: In function 'StackHot': ss.c:38:13: error: storing the address of local variable 'stackOut' in '*stackOut' [-Werror=dangling-pointer=8] 38 | *stackOut = &stackOut; | ~~~~~~~~~~^~~~~~~~~~~ Blanket `-Werror` tends to break with minor toolchain and dependency changes. It's a reasonable option to test upstream and use downstream only if upstream is quick at addressing builds failures. `gcc-13` is almost a year old. --- pkgs/development/libraries/mps/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/mps/default.nix b/pkgs/development/libraries/mps/default.nix index 3cc6d9ce3510..fd6e5d60bf7b 100644 --- a/pkgs/development/libraries/mps/default.nix +++ b/pkgs/development/libraries/mps/default.nix @@ -16,17 +16,17 @@ stdenv.mkDerivation rec { hash = "sha256-3ql3jWLccgnQHKf23B1en+nJ9rxqmHcWd7aBr93YER0="; }; + postPatch = '' + # Disable -Werror to avoid biuld failure on fresh toolchains like + # gcc-13. + substituteInPlace code/gc.gmk --replace-fail '-Werror ' ' ' + substituteInPlace code/gp.gmk --replace-fail '-Werror ' ' ' + substituteInPlace code/ll.gmk --replace-fail '-Werror ' ' ' + ''; + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ sqlite ]; - # needed for 1.116.0 to build with gcc7 - env.NIX_CFLAGS_COMPILE = toString [ - "-Wno-implicit-fallthrough" - "-Wno-error=clobbered" - "-Wno-error=cast-function-type" - ]; - - meta = { description = "A flexible memory management and garbage collection library"; homepage = "https://www.ravenbrook.com/project/mps"; From 6dbd7ef66d46e73cbf60cde7a6287ec83b0df620 Mon Sep 17 00:00:00 2001 From: qubitnano Date: Mon, 19 Feb 2024 17:38:54 -0500 Subject: [PATCH 16/31] flexoptix-app: 5.16.0 -> 5.20.0 --- pkgs/tools/misc/flexoptix-app/default.nix | 6 +++--- .../misc/flexoptix-app/disable-autoupdate.patch | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch diff --git a/pkgs/tools/misc/flexoptix-app/default.nix b/pkgs/tools/misc/flexoptix-app/default.nix index 1e9b16a84855..6712925d0120 100644 --- a/pkgs/tools/misc/flexoptix-app/default.nix +++ b/pkgs/tools/misc/flexoptix-app/default.nix @@ -1,11 +1,11 @@ { lib, appimageTools, fetchurl, asar }: let pname = "flexoptix-app"; - version = "5.16.0-latest"; + version = "5.20.0-latest"; src = fetchurl { name = "${pname}-${version}.AppImage"; url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; - hash = "sha256-A10r8IUB3zWKWmjen90vLXPF7V/Cgo+DhFn/Hsc1Nhg="; + hash = "sha256-/4vZaVLpSiufjNwwofPi+YBtTJ4aq7eYgFnYFv89LFY="; }; udevRules = fetchurl { @@ -19,7 +19,7 @@ # Get rid of the autoupdater ${asar}/bin/asar extract $out/resources/app.asar app - sed -i 's/async isUpdateAvailable.*/async isUpdateAvailable(updateInfo) { return false;/g' app/node_modules/electron-updater/out/AppUpdater.js + patch -p0 < ${./disable-autoupdate.patch} ${asar}/bin/asar pack app $out/resources/app.asar ''; }); diff --git a/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch b/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch new file mode 100644 index 000000000000..d71133951e72 --- /dev/null +++ b/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch @@ -0,0 +1,16 @@ +--- app/electron/jsComponents/mainWindowEvents.js 2024-02-18 12:53:41.115773007 -0500 ++++ app/electron/jsComponents/mainWindowEvents.js2 2024-02-18 23:22:20.003280203 -0500 +@@ -128,7 +128,12 @@ + + if (app.isPackaged) { + global.mainWindow.webContents.once("did-finish-load", function () { +- autoUpdater.checkForUpdates(); ++ global.mainWindow.loadURL( ++ url.format({ ++ ...global.APPLICATION_URL_OBJECT, ++ slashes: true, ++ }), ++ ); + }); + } else { + global.mainWindow.webContents.openDevTools(); From 259ee39dcd3ba6264e3ff97b0dd486b807a728b6 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 20 Feb 2024 15:30:06 +1300 Subject: [PATCH 17/31] dunst: migrate to pkgs/by-name --- .../misc/dunst/default.nix => by-name/du/dunst/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/misc/dunst/default.nix => by-name/du/dunst/package.nix} (100%) diff --git a/pkgs/applications/misc/dunst/default.nix b/pkgs/by-name/du/dunst/package.nix similarity index 100% rename from pkgs/applications/misc/dunst/default.nix rename to pkgs/by-name/du/dunst/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 552f4a990986..7424010afb81 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31029,8 +31029,6 @@ with pkgs; dsf2flac = callPackage ../applications/audio/dsf2flac { }; - dunst = callPackage ../applications/misc/dunst { }; - dust = callPackage ../by-name/du/dust/package.nix { inherit (darwin.apple_sdk_11_0.frameworks) AppKit; }; From a381dba2b1db04d909c685187027a83852f946fb Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 20 Feb 2024 15:31:57 +1300 Subject: [PATCH 18/31] dunst: switch to finalAttrs pattern over rec expression --- pkgs/by-name/du/dunst/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/du/dunst/package.nix b/pkgs/by-name/du/dunst/package.nix index 47dbaa62c3c1..9ecaaa809ed5 100644 --- a/pkgs/by-name/du/dunst/package.nix +++ b/pkgs/by-name/du/dunst/package.nix @@ -6,14 +6,14 @@ , testers, dunst }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "dunst"; version = "1.9.2"; src = fetchFromGitHub { owner = "dunst-project"; repo = "dunst"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-8IH0WTPSaAundhYh4l7gQR66nyT38H4DstRTm+Xh+Z8="; }; @@ -59,4 +59,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ domenkozar ]; mainProgram = "dunst"; }; -} +}) From cdd0027f6cda709eaade76b6f1d171e30e8866f0 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 20 Feb 2024 15:45:56 +1300 Subject: [PATCH 19/31] dunst: 1.9.2 -> 1.10.0 --- pkgs/by-name/du/dunst/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/du/dunst/package.nix b/pkgs/by-name/du/dunst/package.nix index 9ecaaa809ed5..f89bcd196ab3 100644 --- a/pkgs/by-name/du/dunst/package.nix +++ b/pkgs/by-name/du/dunst/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "dunst"; - version = "1.9.2"; + version = "1.10.0"; src = fetchFromGitHub { owner = "dunst-project"; repo = "dunst"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-8IH0WTPSaAundhYh4l7gQR66nyT38H4DstRTm+Xh+Z8="; + hash = "sha256-6smFUdWqOuYB0btsDgHtIpDBfHhkpIQfjyZ8wtRg1bQ="; }; nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ]; From 4b433780d2a8ba0a3417bed00826f0a26a9c46b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Feb 2024 03:38:30 +0000 Subject: [PATCH 20/31] croc: 9.6.10 -> 9.6.11 --- pkgs/tools/networking/croc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/croc/default.nix b/pkgs/tools/networking/croc/default.nix index 5efbd8651836..2396275571fb 100644 --- a/pkgs/tools/networking/croc/default.nix +++ b/pkgs/tools/networking/croc/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "croc"; - version = "9.6.10"; + version = "9.6.11"; src = fetchFromGitHub { owner = "schollz"; repo = pname; rev = "v${version}"; - sha256 = "sha256-SRSFbqwcMvzXVwwCxjIGnk/TisL3zGP2lQzy14HQrlU="; + sha256 = "sha256-iePSDd/CR+YRRbUUszAU8v1oaf7s4kgX1cjTU+WVmOs="; }; - vendorHash = "sha256-mxEDatG1VIPhnk7RUuobGGbUUi7HmeJvyBJFEEx4NMg="; + vendorHash = "sha256-pUWUYV1Ts/dFXUzufIWt5ETRQVpxIGzxRFq9jviG0Fs="; subPackages = [ "." ]; From 942f8e2b38a4d2f28473549a6a651b0e8ccca886 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 20 Feb 2024 04:44:10 +0100 Subject: [PATCH 21/31] python311Packages.wyoming: 1.5.2 -> 1.5.3 https://github.com/rhasspy/wyoming/releases/tag/1.5.3 --- pkgs/development/python-modules/wyoming/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wyoming/default.nix b/pkgs/development/python-modules/wyoming/default.nix index debc6ad7bba1..e71107931580 100644 --- a/pkgs/development/python-modules/wyoming/default.nix +++ b/pkgs/development/python-modules/wyoming/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "wyoming"; - version = "1.5.2"; + version = "1.5.3"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "wyoming"; rev = "refs/tags/${version}"; - hash = "sha256-2bc5coKL5KlTeL9fdghPmRF66NXfimHOKGtE2yPXgrA="; + hash = "sha256-SOPkvFMjoDQiWVP39+1Cx4fFmPH8wcBhZhaKapdZaeA="; }; nativeBuildInputs = [ From 0df0b1b743f002dd6a7eb9e1a248abd46b21f005 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 20 Feb 2024 05:09:25 +0100 Subject: [PATCH 22/31] wyoming-faster-whisper: relax wyoming constraint The dependency will always be off by a minor version, because the three projects faster-whisper, piper and openwakeword will never have perfectly aligned releases. --- pkgs/tools/audio/wyoming/faster-whisper.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/audio/wyoming/faster-whisper.nix b/pkgs/tools/audio/wyoming/faster-whisper.nix index cd1a9def0189..bbef9e081310 100644 --- a/pkgs/tools/audio/wyoming/faster-whisper.nix +++ b/pkgs/tools/audio/wyoming/faster-whisper.nix @@ -26,6 +26,11 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ setuptools + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "wyoming" ]; propagatedBuildInputs = with python3.pkgs; [ From 3c4ce2f1d3b5b74e49c51673e4d40224d7fd020c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 20 Feb 2024 05:43:08 +0100 Subject: [PATCH 23/31] wyoming-openwakeword: 1.9.0 -> 1.10.0 https://github.com/rhasspy/wyoming-openwakeword/blob/v1.10.0/CHANGELOG.md --- pkgs/tools/audio/wyoming/openwakeword.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/audio/wyoming/openwakeword.nix b/pkgs/tools/audio/wyoming/openwakeword.nix index 4c321a204b49..64c91ce259e8 100644 --- a/pkgs/tools/audio/wyoming/openwakeword.nix +++ b/pkgs/tools/audio/wyoming/openwakeword.nix @@ -5,14 +5,14 @@ python3Packages.buildPythonApplication rec { pname = "wyoming-openwakeword"; - version = "1.9.0"; + version = "1.10.0"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "wyoming-openwakeword"; rev = "refs/tags/v${version}"; - hash = "sha256-NceUFsIKZO6DOXae3QJ7JJGc7QdDHkMh20eLvl12p4U="; + hash = "sha256-5suYJ+Z6ofVAysoCdHi5b5K0JTYaqeFZ32Cm76wC5LU="; }; nativeBuildInputs = with python3Packages; [ From 4099c7fbc705b3f5af5a644b1cfb947230d7521d Mon Sep 17 00:00:00 2001 From: Dominik Schrempf Date: Tue, 20 Feb 2024 06:43:13 +0100 Subject: [PATCH 24/31] teams-for-linux: 1.4.11 -> 1.4.12 this is a bugfix release fixing screen sharing issues on X11 see also PR #288823 --- .../networking/instant-messengers/teams-for-linux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix index 8ecfdb35a7d7..2e9ed7aa78a9 100644 --- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix @@ -19,13 +19,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "teams-for-linux"; - version = "1.4.11"; + version = "1.4.12"; src = fetchFromGitHub { owner = "IsmaelMartinez"; repo = "teams-for-linux"; rev = "v${finalAttrs.version}"; - hash = "sha256-vjxbWOaUanYXalGVDgX+sjsrz5Cn1yGBkBs9B8VGrDQ="; + hash = "sha256-LrFF61D2b9+FWnVkb9MYxBJQxMtejuOmGTEtfSj1No4="; }; offlineCache = fetchYarnDeps { From 2d5464bf082e6304508aed815209dcb032f65c79 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 13 Feb 2024 08:45:05 +0100 Subject: [PATCH 25/31] =?UTF-8?q?ocamlPackages.magic-mime:=201.2.0=20?= =?UTF-8?q?=E2=86=92=201.3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/magic-mime/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/magic-mime/default.nix b/pkgs/development/ocaml-modules/magic-mime/default.nix index a48260ed38d6..a400e073f215 100644 --- a/pkgs/development/ocaml-modules/magic-mime/default.nix +++ b/pkgs/development/ocaml-modules/magic-mime/default.nix @@ -2,15 +2,14 @@ buildDunePackage rec { pname = "magic-mime"; - version = "1.2.0"; + version = "1.3.1"; src = fetchurl { - url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${version}/magic-mime-v${version}.tbz"; - sha256 = "sha256-8SG2dQD43Zfi/J/V0BxzJeTIS8XAI3RCd5+9b6IGlPU="; + url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${version}/magic-mime-${version}.tbz"; + hash = "sha256-4CNNA2Jduh76xY5X44dnLXWl6aYh/0ms/g9gnADxOwg="; }; minimalOCamlVersion = "4.03"; - useDune2 = true; meta = with lib; { description = "Convert file extensions to MIME types"; From c088dd03fe3ee97b9e8cf9eac3affedab6fd3c09 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Tue, 20 Feb 2024 10:25:20 +0530 Subject: [PATCH 26/31] ast-grep: 0.19.0 -> 0.19.1 Diff: https://github.com/ast-grep/ast-grep/compare/0.19.0...0.19.1 Changelog: https://github.com/ast-grep/ast-grep/blob/0.19.1/CHANGELOG.md Signed-off-by: Muhammad Falak R Wani --- pkgs/by-name/as/ast-grep/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/as/ast-grep/package.nix b/pkgs/by-name/as/ast-grep/package.nix index ce728c0b9871..5f1f62ee09f5 100644 --- a/pkgs/by-name/as/ast-grep/package.nix +++ b/pkgs/by-name/as/ast-grep/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "ast-grep"; - version = "0.19.0"; + version = "0.19.1"; src = fetchFromGitHub { owner = "ast-grep"; repo = "ast-grep"; rev = version; - hash = "sha256-ho4o7Ryp6IwBZ66Sag9IC67EfC/opfkicksouHKPURc="; + hash = "sha256-uRAWcEG4+8tkfHe9bmVSWsRp3A35+5PRPdGuXuDm210="; }; - cargoHash = "sha256-EDgtXZhAOd8I9TwzpXsVpUpi8uoxyBBIxWyF7wSazwo="; + cargoHash = "sha256-U7W3Ila75XQDwtcVDEzooLxdbcGZCrUU/Ijcx/xhRaM="; # Work around https://github.com/NixOS/nixpkgs/issues/166205. env = lib.optionalAttrs stdenv.cc.isClang { From 73e915563950dc682aa2f7a47b9abd138a660d06 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 19 Feb 2024 21:35:44 -0500 Subject: [PATCH 27/31] qt6: replace stdenv.is* with stdenv.hostPlatform.is* --- pkgs/development/libraries/qt-6/default.nix | 6 ++--- .../libraries/qt-6/modules/qtbase.nix | 22 +++++++++---------- .../libraries/qt-6/modules/qtconnectivity.nix | 4 ++-- .../libraries/qt-6/modules/qtmultimedia.nix | 10 ++++----- .../qt-6/modules/qtquick3dphysics.nix | 2 +- .../libraries/qt-6/modules/qtserialport.nix | 2 +- .../libraries/qt-6/modules/qtspeech.nix | 4 ++-- .../libraries/qt-6/modules/qttools.nix | 2 +- .../libraries/qt-6/modules/qtwebengine.nix | 18 +++++++-------- .../libraries/qt-6/modules/qtwebview.nix | 4 ++-- pkgs/development/libraries/qt-6/qtModule.nix | 2 +- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix index 3f1cf19c29ab..8acc044894bc 100644 --- a/pkgs/development/libraries/qt-6/default.nix +++ b/pkgs/development/libraries/qt-6/default.nix @@ -32,7 +32,7 @@ let callPackage = self.newScope ({ inherit (self) qtModule; inherit srcs python3; - stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; + stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }); in { @@ -109,7 +109,7 @@ let qtwebengine qtwebsockets qtwebview - ] ++ lib.optionals (!stdenv.isDarwin) [ qtwayland libglvnd ])) { }; + ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ qtwayland libglvnd ])) { }; qt3d = callPackage ./modules/qt3d.nix { }; qt5compat = callPackage ./modules/qt5compat.nix { }; @@ -163,7 +163,7 @@ let MediaAccessibility MediaPlayer MetalKit Network OpenDirectory Quartz ReplayKit SecurityInterface Vision; qtModule = callPackage ({ qtModule }: qtModule.override { - stdenv = if stdenv.isDarwin + stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv { darwinMinVersion = "10.13"; darwinSdkVersion = "11.0"; } else stdenv; }) { }; diff --git a/pkgs/development/libraries/qt-6/modules/qtbase.nix b/pkgs/development/libraries/qt-6/modules/qtbase.nix index 4b541ca6fec2..26fdeceda61f 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-6/modules/qtbase.nix @@ -21,7 +21,7 @@ , double-conversion , util-linux , systemd -, systemdSupport ? stdenv.isLinux +, systemdSupport ? stdenv.hostPlatform.isLinux , libb2 , md4c , mtdev @@ -87,7 +87,7 @@ , dconf , gtk3 # options -, libGLSupported ? stdenv.isLinux +, libGLSupported ? stdenv.hostPlatform.isLinux , libGL , debug ? false , developerBuild ? false @@ -132,7 +132,7 @@ stdenv.mkDerivation rec { unixODBCDrivers.mariadb ] ++ lib.optionals systemdSupport [ systemd - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ util-linux mtdev lksctp-tools @@ -165,7 +165,7 @@ stdenv.mkDerivation rec { xorg.libXtst xorg.xcbutilcursor libepoxy - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AGL AVFoundation AppKit @@ -178,9 +178,9 @@ stdenv.mkDerivation rec { buildInputs = [ at-spi2-core - ] ++ lib.optionals (!stdenv.isDarwin) [ + ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ libinput - ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ + ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ AppKit CoreBluetooth ] @@ -191,7 +191,7 @@ stdenv.mkDerivation rec { ++ lib.optional (postgresql != null) postgresql; nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ] - ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ]; propagatedNativeBuildInputs = [ lndir ]; @@ -204,7 +204,7 @@ stdenv.mkDerivation rec { # https://bugreports.qt.io/browse/QTBUG-97568 postPatch = '' substituteInPlace src/corelib/CMakeLists.txt --replace-fail "/bin/ls" "${coreutils}/bin/ls" - '' + lib.optionalString stdenv.isDarwin '' + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace cmake/QtPublicAppleHelpers.cmake --replace-fail "/usr/bin/xcrun" "${xcbuild}/bin/xcrun" ''; @@ -225,16 +225,16 @@ stdenv.mkDerivation rec { "-DQT_FEATURE_libproxy=ON" "-DQT_FEATURE_system_sqlite=ON" "-DQT_FEATURE_openssl_linked=ON" - ] ++ lib.optionals (!stdenv.isDarwin) [ + ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ "-DQT_FEATURE_sctp=ON" "-DQT_FEATURE_journald=${if systemdSupport then "ON" else "OFF"}" "-DQT_FEATURE_vulkan=ON" - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # error: 'path' is unavailable: introduced in macOS 10.15 "-DQT_FEATURE_cxx17_filesystem=OFF" ] ++ lib.optional (qttranslations != null) "-DINSTALL_TRANSLATIONSDIR=${qttranslations}/translations"; - env.NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [ + env.NIX_LDFLAGS = toString (lib.optionals stdenv.hostPlatform.isDarwin [ # Undefined symbols for architecture arm64: "___gss_c_nt_hostbased_service_oid_desc" "-framework GSS" ]); diff --git a/pkgs/development/libraries/qt-6/modules/qtconnectivity.nix b/pkgs/development/libraries/qt-6/modules/qtconnectivity.nix index 46d8f925beb0..126920dd5051 100644 --- a/pkgs/development/libraries/qt-6/modules/qtconnectivity.nix +++ b/pkgs/development/libraries/qt-6/modules/qtconnectivity.nix @@ -12,11 +12,11 @@ qtModule { pname = "qtconnectivity"; nativeBuildInputs = [ pkg-config ]; - buildInputs = lib.optionals stdenv.isLinux [ bluez ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ bluez ]; propagatedBuildInputs = [ qtbase qtdeclarative - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ IOBluetooth PCSC ]; diff --git a/pkgs/development/libraries/qt-6/modules/qtmultimedia.nix b/pkgs/development/libraries/qt-6/modules/qtmultimedia.nix index f77fdac059ce..5c9a0e58a82c 100644 --- a/pkgs/development/libraries/qt-6/modules/qtmultimedia.nix +++ b/pkgs/development/libraries/qt-6/modules/qtmultimedia.nix @@ -28,15 +28,15 @@ qtModule { pname = "qtmultimedia"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libunwind orc ffmpeg_6 ] - ++ lib.optionals stdenv.isLinux [ libpulseaudio elfutils alsa-lib wayland libXrandr libva ]; + ++ lib.optionals stdenv.hostPlatform.isLinux [ libpulseaudio elfutils alsa-lib wayland libXrandr libva ]; propagatedBuildInputs = [ qtbase qtdeclarative qtsvg qtshadertools qtquick3d ] - ++ lib.optionals stdenv.isLinux [ gstreamer gst-plugins-base gst-plugins-good gst-libav gst-vaapi ] - ++ lib.optionals stdenv.isDarwin [ VideoToolbox ]; + ++ lib.optionals stdenv.hostPlatform.isLinux [ gstreamer gst-plugins-base gst-plugins-good gst-libav gst-vaapi ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ VideoToolbox ]; cmakeFlags = [ "-DENABLE_DYNAMIC_RESOLVE_VAAPI_SYMBOLS=0" ]; - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-include AudioToolbox/AudioToolbox.h"; - NIX_LDFLAGS = lib.optionalString stdenv.isDarwin + NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AudioToolbox"; } diff --git a/pkgs/development/libraries/qt-6/modules/qtquick3dphysics.nix b/pkgs/development/libraries/qt-6/modules/qtquick3dphysics.nix index 05d121cd9b78..92d676f7c8e2 100644 --- a/pkgs/development/libraries/qt-6/modules/qtquick3dphysics.nix +++ b/pkgs/development/libraries/qt-6/modules/qtquick3dphysics.nix @@ -8,6 +8,6 @@ qtModule { pname = "qtquick3dphysics"; propagatedBuildInputs = [ qtbase qtquick3d ]; - env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) + env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "-faligned-allocation"; } diff --git a/pkgs/development/libraries/qt-6/modules/qtserialport.nix b/pkgs/development/libraries/qt-6/modules/qtserialport.nix index 27b9eb9c1915..00f668ef5631 100644 --- a/pkgs/development/libraries/qt-6/modules/qtserialport.nix +++ b/pkgs/development/libraries/qt-6/modules/qtserialport.nix @@ -9,5 +9,5 @@ qtModule { pname = "qtserialport"; nativeBuildInputs = [ pkg-config ]; - propagatedBuildInputs = [ qtbase ] ++ lib.optionals stdenv.isLinux [ udev ]; + propagatedBuildInputs = [ qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ udev ]; } diff --git a/pkgs/development/libraries/qt-6/modules/qtspeech.nix b/pkgs/development/libraries/qt-6/modules/qtspeech.nix index 77c08fa91951..15672de8b980 100644 --- a/pkgs/development/libraries/qt-6/modules/qtspeech.nix +++ b/pkgs/development/libraries/qt-6/modules/qtspeech.nix @@ -13,7 +13,7 @@ qtModule { pname = "qtspeech"; nativeBuildInputs = [ pkg-config ]; - buildInputs = lib.optionals stdenv.isLinux [ flite alsa-lib speechd ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ flite alsa-lib speechd ]; propagatedBuildInputs = [ qtbase qtmultimedia ] - ++ lib.optionals stdenv.isDarwin [ Cocoa ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ]; } diff --git a/pkgs/development/libraries/qt-6/modules/qttools.nix b/pkgs/development/libraries/qt-6/modules/qttools.nix index a1aa1026e57b..f13500d65464 100644 --- a/pkgs/development/libraries/qt-6/modules/qttools.nix +++ b/pkgs/development/libraries/qt-6/modules/qttools.nix @@ -16,7 +16,7 @@ qtModule { llvmPackages.llvm ]; propagatedBuildInputs = [ qtbase qtdeclarative ] - ++ lib.optionals stdenv.isDarwin [ cups ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ cups ]; patches = [ ../patches/qttools-paths.patch ]; diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index 64b5b9738caa..f07aeefa0be0 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -105,9 +105,9 @@ qtModule { which gn nodejs - ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ autoSignDarwinBinariesHook - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ bootstrap_cmds cctools xcbuild @@ -158,14 +158,14 @@ qtModule { --replace "QLibraryInfo::path(QLibraryInfo::TranslationsPath)" "\"$out/translations\"" \ --replace "QLibraryInfo::path(QLibraryInfo::LibraryExecutablesPath)" "\"$out/libexec\"" '' - + lib.optionalString stdenv.isLinux '' + + lib.optionalString stdenv.hostPlatform.isLinux '' sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \ src/3rdparty/chromium/device/udev_linux/udev?_loader.cc sed -i -e '/libpci_loader.*Load/s!"\(libpci\.so\)!"${pciutils}/lib/\1!' \ src/3rdparty/chromium/gpu/config/gpu_info_collector_linux.cc '' - + lib.optionalString stdenv.isDarwin '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace configure.cmake src/gn/CMakeLists.txt \ --replace "AppleClang" "Clang" substituteInPlace cmake/Functions.cmake \ @@ -190,7 +190,7 @@ qtModule { # "-DQT_FEATURE_webengine_native_spellchecker=ON" "-DQT_FEATURE_webengine_sanitizer=ON" "-DQT_FEATURE_webengine_kerberos=ON" - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ "-DQT_FEATURE_webengine_system_libxml=ON" "-DQT_FEATURE_webengine_webrtc_pipewire=ON" @@ -199,7 +199,7 @@ qtModule { "-DQT_FEATURE_webengine_system_icu=ON" ] ++ lib.optionals enableProprietaryCodecs [ "-DQT_FEATURE_webengine_proprietary_codecs=ON" - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.hostPlatform.darwinSdkVersion}" ]; @@ -232,7 +232,7 @@ qtModule { libevent ffmpeg_4 - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ dbus zlib minizip @@ -275,7 +275,7 @@ qtModule { libkrb5 mesa - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AGL AVFoundation Accelerate @@ -302,7 +302,7 @@ qtModule { buildInputs = [ cups - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libpm sandbox ]; diff --git a/pkgs/development/libraries/qt-6/modules/qtwebview.nix b/pkgs/development/libraries/qt-6/modules/qtwebview.nix index e8ebea932f03..dfc2da1df555 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebview.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebview.nix @@ -9,6 +9,6 @@ qtModule { pname = "qtwebview"; propagatedBuildInputs = [ qtdeclarative ] - ++ lib.optionals (!stdenv.isDarwin) [ qtwebengine ] - ++ lib.optionals stdenv.isDarwin [ WebKit ]; + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ qtwebengine ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ WebKit ]; } diff --git a/pkgs/development/libraries/qt-6/qtModule.nix b/pkgs/development/libraries/qt-6/qtModule.nix index 5434be84fa59..eb85f9d606cc 100644 --- a/pkgs/development/libraries/qt-6/qtModule.nix +++ b/pkgs/development/libraries/qt-6/qtModule.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (args // { buildInputs = args.buildInputs or [ ]; nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ] - ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ]; propagatedBuildInputs = (lib.warnIf (args ? qtInputs) "qt6.qtModule's qtInputs argument is deprecated" args.qtInputs or []) ++ (args.propagatedBuildInputs or []); From e1c2599321c02d2085067047f8cb6ef3636430ed Mon Sep 17 00:00:00 2001 From: toastal Date: Thu, 15 Feb 2024 11:27:54 +0700 Subject: [PATCH 28/31] purescm: init at 1.8.2 --- pkgs/by-name/pu/purescm/.gitignore | 1 + pkgs/by-name/pu/purescm/README.rst | 19 ++++++++++ pkgs/by-name/pu/purescm/package-lock.json | 20 ++++++++++ pkgs/by-name/pu/purescm/package.json | 5 +++ pkgs/by-name/pu/purescm/package.nix | 45 +++++++++++++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 pkgs/by-name/pu/purescm/.gitignore create mode 100644 pkgs/by-name/pu/purescm/README.rst create mode 100644 pkgs/by-name/pu/purescm/package-lock.json create mode 100644 pkgs/by-name/pu/purescm/package.json create mode 100644 pkgs/by-name/pu/purescm/package.nix diff --git a/pkgs/by-name/pu/purescm/.gitignore b/pkgs/by-name/pu/purescm/.gitignore new file mode 100644 index 000000000000..c2658d7d1b31 --- /dev/null +++ b/pkgs/by-name/pu/purescm/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/pkgs/by-name/pu/purescm/README.rst b/pkgs/by-name/pu/purescm/README.rst new file mode 100644 index 000000000000..635d4b46d811 --- /dev/null +++ b/pkgs/by-name/pu/purescm/README.rst @@ -0,0 +1,19 @@ +======================================================================== +purescm +======================================================================== + + +Suggested additional ``buildInputs`` +==================================== + +``chez-racket`` + Upstream is using the Racket fork of Chez Scheme to execute the + generated Scheme output. + + +To update this package +====================== + +#. Bump the ``./package.json`` version pin +#. Run ``nix-shell -p nodejs --command "npm i --package-lock-only"`` +#. Update ``npmDeps.hash`` in the ``package.nix`` diff --git a/pkgs/by-name/pu/purescm/package-lock.json b/pkgs/by-name/pu/purescm/package-lock.json new file mode 100644 index 000000000000..979e42ae62fd --- /dev/null +++ b/pkgs/by-name/pu/purescm/package-lock.json @@ -0,0 +1,20 @@ +{ + "name": "purescm", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "purescm": "1.8.2" + } + }, + "node_modules/purescm": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/purescm/-/purescm-1.8.2.tgz", + "integrity": "sha512-r+iaiRagOO2rHxGIke391l+pMlpE85vOVpQA32pdftJTdKeUVGIYy0UAs1nOkQSNxdHMXsNIkrskAwOSiyX3PA==", + "bin": { + "purescm": "index.js" + } + } + } +} diff --git a/pkgs/by-name/pu/purescm/package.json b/pkgs/by-name/pu/purescm/package.json new file mode 100644 index 000000000000..96b51c2d5e1d --- /dev/null +++ b/pkgs/by-name/pu/purescm/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "purescm": "1.8.2" + } +} diff --git a/pkgs/by-name/pu/purescm/package.nix b/pkgs/by-name/pu/purescm/package.nix new file mode 100644 index 000000000000..c03f1339d18a --- /dev/null +++ b/pkgs/by-name/pu/purescm/package.nix @@ -0,0 +1,45 @@ +{ lib +, buildNpmPackage +, fetchNpmDeps +, testers +}: + +let + inherit (lib) fileset; + + packageLock = builtins.fromJSON (builtins.readFile ./package-lock.json); + + pname = "purescm"; + version = packageLock.packages."node_modules/${pname}".version; + + package = buildNpmPackage { + inherit pname version; + + src = ./.; + dontNpmBuild = true; + + npmDeps = fetchNpmDeps { + src = ./.; + hash = "sha256-ljeFcLvIET77Q0OR6O5Ok1fGnaxaKaoywpcy2aHq/6o="; + }; + + installPhase = '' + mkdir -p $out/share/${pname} + cp -r node_modules/ $out/share/${pname} + ln -s $out/share/${pname}/node_modules/.bin $out/bin + ''; + + passthru.tests = { + version = testers.testVersion { inherit package; }; + }; + + meta = { + description = "Chez Scheme back-end for PureScript"; + homepage = "https://github.com/purescm/purescm"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ toastal ]; + mainProgram = "purescm"; + }; + }; +in +package From 457531ccb92f578aaac7e1f14cd6740cd01087a7 Mon Sep 17 00:00:00 2001 From: Patka Date: Tue, 20 Feb 2024 10:04:41 +0100 Subject: [PATCH 29/31] paratest: 7.4.1 -> 7.4.2 release notes: https://github.com/paratestphp/paratest/releases/tag/v7.4.2 --- pkgs/by-name/pa/paratest/composer.lock | 22 +++++++++++----------- pkgs/by-name/pa/paratest/package.nix | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/pa/paratest/composer.lock b/pkgs/by-name/pa/paratest/composer.lock index 2387a8e9176d..9e6e9f62a388 100644 --- a/pkgs/by-name/pa/paratest/composer.lock +++ b/pkgs/by-name/pa/paratest/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c3efe6b6543d5e592e77a809fb1bb84e", + "content-hash": "11632300688e9bcc111cc0e38617b43f", "packages": [ { "name": "fidry/cpu-core-counter", @@ -2628,16 +2628,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.57", + "version": "1.10.58", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e" + "reference": "a23518379ec4defd9e47cbf81019526861623ec2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1627b1d03446904aaa77593f370c5201d2ecc34e", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a23518379ec4defd9e47cbf81019526861623ec2", + "reference": "a23518379ec4defd9e47cbf81019526861623ec2", "shasum": "" }, "require": { @@ -2686,7 +2686,7 @@ "type": "tidelift" } ], - "time": "2024-01-24T11:51:34+00:00" + "time": "2024-02-12T20:02:57+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -2904,16 +2904,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.8.1", + "version": "3.9.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "14f5fff1e64118595db5408e946f3a22c75807f7" + "reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/14f5fff1e64118595db5408e946f3a22c75807f7", - "reference": "14f5fff1e64118595db5408e946f3a22c75807f7", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/d63cee4890a8afaf86a22e51ad4d97c91dd4579b", + "reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b", "shasum": "" }, "require": { @@ -2980,7 +2980,7 @@ "type": "open_collective" } ], - "time": "2024-01-11T20:47:48+00:00" + "time": "2024-02-16T15:06:51+00:00" }, { "name": "symfony/filesystem", diff --git a/pkgs/by-name/pa/paratest/package.nix b/pkgs/by-name/pa/paratest/package.nix index e75c8dd9665f..a3cc3278477f 100644 --- a/pkgs/by-name/pa/paratest/package.nix +++ b/pkgs/by-name/pa/paratest/package.nix @@ -5,17 +5,17 @@ (php.withExtensions ({ enabled, all }: enabled ++ [ all.pcov ])).buildComposerProject (finalAttrs: { pname = "paratest"; - version = "7.4.1"; + version = "7.4.2"; src = fetchFromGitHub { owner = "paratestphp"; repo = "paratest"; rev = "v${finalAttrs.version}"; - hash = "sha256-0cyv2WSiGjyp9vv2J8hxFnuvxAwrig1DmSxKSdBzNGI="; + hash = "sha256-Sd7S51SjI8g2Qz/NAeKKpxpSyBhvlrtJFbazbPJf2N0="; }; composerLock = ./composer.lock; - vendorHash = "sha256-vYcfmVEMGhAvPYTsVAJl7njxgVkL1b8QBr/3/DCxmCE="; + vendorHash = "sha256-O8iEkvXIkkaQxcKfhm0Z4EZOtLolNsTPaPkXekpxkqs="; meta = { changelog = "https://github.com/paratestphp/paratest/releases/tag/v${finalAttrs.version}"; From b39f7c0598aae7a9abbcac27ec7186ab34dcd487 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Feb 2024 10:49:02 +0000 Subject: [PATCH 30/31] jwx: 2.0.19 -> 2.0.20 --- pkgs/tools/security/jwx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/jwx/default.nix b/pkgs/tools/security/jwx/default.nix index 6841cfe573ab..cb418b4a9657 100644 --- a/pkgs/tools/security/jwx/default.nix +++ b/pkgs/tools/security/jwx/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "jwx"; - version = "2.0.19"; + version = "2.0.20"; src = fetchFromGitHub { owner = "lestrrat-go"; repo = pname; rev = "v${version}"; - hash = "sha256-JR2Z1XOcTfocaXHA+q6INcIZFeuMjB+G16fRmYjOhzU="; + hash = "sha256-+of0eYBwdGC9vb0DDqxMIuhXNTCRRv9iGOIVJGobMxc="; }; - vendorHash = "sha256-g97cSHGo0nw7Ker+S/qG0awUf1/UdcSkF55BjMyTfAY="; + vendorHash = "sha256-HHq4B0MYP2gUtV9ywrXVmWN7OpV6NVb49rVMFblOgPc="; sourceRoot = "${src.name}/cmd/jwx"; From 4585e37aef32e32e2f52063cca45c2ffa6e3da91 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 19 Feb 2024 08:42:48 +0100 Subject: [PATCH 31/31] vimPlugins.none-ls-nvim: add plenary-nvim dependency --- pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index c25b5c7d78b1..68ce88387fa9 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -955,6 +955,10 @@ dependencies = with self; [ nui-nvim ]; }; + none-ls-nvim = super.none-ls-nvim.overrideAttrs { + dependencies = [ self.plenary-nvim ]; + }; + null-ls-nvim = super.null-ls-nvim.overrideAttrs { dependencies = with self; [ plenary-nvim ]; };