From ab060f9db9bc39218cf4bed7ec42ca5df4fab7a6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 7 Nov 2022 17:45:41 +0000 Subject: [PATCH 01/82] bupstash: 0.11.0 -> 0.12.0 --- pkgs/tools/backup/bupstash/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/backup/bupstash/default.nix b/pkgs/tools/backup/bupstash/default.nix index 9cb22902fd84..ab5ae59977de 100644 --- a/pkgs/tools/backup/bupstash/default.nix +++ b/pkgs/tools/backup/bupstash/default.nix @@ -1,16 +1,16 @@ { stdenv, lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }: rustPlatform.buildRustPackage rec { pname = "bupstash"; - version = "0.11.0"; + version = "0.12.0"; src = fetchFromGitHub { owner = "andrewchambers"; repo = pname; rev = "v${version}"; - sha256 = "sha256-9yWQQ8uzDkN3Pi2OiEn+oEazc3nH53dF2GswBCu8d3c="; + sha256 = "sha256-Ekjxna3u+71s1q7jjXp7PxYUQIfbp2E+jAqKGuszU6g="; }; - cargoSha256 = "sha256-JAclSUFuQk768cgDEvG1rxux2xBGHl1d/NAoxw161YU="; + cargoSha256 = "sha256-hkGmE7WseEjMxmmPyR8C4osbdbpIt8qG9sfVGuC4d84="; nativeBuildInputs = [ ronn pkg-config installShellFiles ]; buildInputs = [ libsodium ]; From 51e6f868385792422682131427228c74d1757760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 4 Dec 2022 22:20:54 +0100 Subject: [PATCH 02/82] remmina: add kwallet plugin support --- .../networking/remote/remmina/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/remote/remmina/default.nix b/pkgs/applications/networking/remote/remmina/default.nix index 6bf837236f44..ce64ec0d65ef 100644 --- a/pkgs/applications/networking/remote/remmina/default.nix +++ b/pkgs/applications/networking/remote/remmina/default.nix @@ -7,12 +7,11 @@ , openssl, gsettings-desktop-schemas, json-glib, libsodium, webkitgtk_4_1, harfbuzz # The themes here are soft dependencies; only icons are missing without them. , gnome +, withKf5Wallet ? true, libsForQt5 , withLibsecret ? true , withVte ? true }: -with lib; - stdenv.mkDerivation rec { pname = "remmina"; version = "1.4.28"; @@ -25,6 +24,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ]; + buildInputs = [ gsettings-desktop-schemas glib gtk3 gettext libxkbfile libX11 @@ -36,13 +36,15 @@ stdenv.mkDerivation rec { libepoxy at-spi2-core openssl gnome.adwaita-icon-theme json-glib libsodium webkitgtk_4_1 harfbuzz python3 - ] ++ optionals withLibsecret [ libsecret ] - ++ optionals withVte [ vte ]; + ] ++ lib.optionals withLibsecret [ libsecret ] + ++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ] + ++ lib.optionals withVte [ vte ]; cmakeFlags = [ "-DWITH_VTE=${if withVte then "ON" else "OFF"}" "-DWITH_TELEPATHY=OFF" "-DWITH_AVAHI=OFF" + "-DWITH_KF5WALLET=${if withKf5Wallet then "ON" else "OFF"}" "-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}" "-DFREERDP_LIBRARY=${freerdp}/lib/libfreerdp2.so" "-DFREERDP_CLIENT_LIBRARY=${freerdp}/lib/libfreerdp-client2.so" @@ -50,13 +52,15 @@ stdenv.mkDerivation rec { "-DWINPR_INCLUDE_DIR=${freerdp}/include/winpr2" ]; + dontWrapQtApps = true; + preFixup = '' gappsWrapperArgs+=( --prefix LD_LIBRARY_PATH : "${libX11.out}/lib" ) ''; - meta = { + meta = with lib; { license = licenses.gpl2Plus; homepage = "https://gitlab.com/Remmina/Remmina"; description = "Remote desktop client written in GTK"; From e2c79b3e4a2d9e9ef4072417be10a8faf888d081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 6 Dec 2022 02:13:03 +0100 Subject: [PATCH 03/82] python310Packages.openrazer: 3.3.0 -> 3.5.1 Diff: https://github.com/openrazer/openrazer/compare/v3.3.0...v3.5.1 --- .../python-modules/openrazer/common.nix | 6 ++++-- .../python-modules/openrazer/daemon.nix | 21 +++++++++++-------- .../python-modules/openrazer/pylib.nix | 5 ++++- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/openrazer/common.nix b/pkgs/development/python-modules/openrazer/common.nix index 2f413a46d6c9..4d0fa4ed18b9 100644 --- a/pkgs/development/python-modules/openrazer/common.nix +++ b/pkgs/development/python-modules/openrazer/common.nix @@ -1,13 +1,15 @@ { lib , fetchFromGitHub }: rec { - version = "3.3.0"; + version = "3.5.1"; + src = fetchFromGitHub { owner = "openrazer"; repo = "openrazer"; rev = "v${version}"; - sha256 = "1lw2cpj2xzwcsn5igrqj3f6m2v5n6zp1xa9vv3j9f9r2fbb48jcl"; + sha256 = "sha256-6YU2tl17LpDZe9pQ1a+B2SGIhqGdwME3Db6umVz7RLc="; }; + meta = with lib; { homepage = "https://openrazer.github.io/"; license = licenses.gpl2Only; diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 4c551bc7150f..31fbdc462682 100644 --- a/pkgs/development/python-modules/openrazer/daemon.nix +++ b/pkgs/development/python-modules/openrazer/daemon.nix @@ -16,13 +16,21 @@ let common = import ./common.nix { inherit lib fetchFromGitHub; }; in -buildPythonPackage (common // rec { +buildPythonPackage (common // { pname = "openrazer_daemon"; disabled = !isPy3k; outputs = [ "out" "man" ]; + prePatch = '' + cd daemon + ''; + + postPatch = '' + substituteInPlace openrazer_daemon/daemon.py --replace "plugdev" "openrazer" + ''; + nativeBuildInputs = [ makeWrapper wrapGAppsHook ]; propagatedBuildInputs = [ @@ -35,18 +43,13 @@ buildPythonPackage (common // rec { setproctitle ]; - prePatch = '' - cd daemon - ''; - - postPatch = '' - substituteInPlace openrazer_daemon/daemon.py --replace "plugdev" "openrazer" - ''; - postBuild = '' DESTDIR="$out" PREFIX="" make install manpages ''; + # no tests run + doCheck = false; + meta = common.meta // { description = "An entirely open source user-space daemon that allows you to manage your Razer peripherals on GNU/Linux"; }; diff --git a/pkgs/development/python-modules/openrazer/pylib.nix b/pkgs/development/python-modules/openrazer/pylib.nix index fb83d64c5020..257fb589ba7b 100644 --- a/pkgs/development/python-modules/openrazer/pylib.nix +++ b/pkgs/development/python-modules/openrazer/pylib.nix @@ -9,7 +9,7 @@ let common = import ./common.nix { inherit lib fetchFromGitHub; }; in -buildPythonPackage (common // rec { +buildPythonPackage (common // { pname = "openrazer"; sourceRoot = "source/pylib"; @@ -20,6 +20,9 @@ buildPythonPackage (common // rec { openrazer-daemon ]; + # no tests run + doCheck = false; + meta = common.meta // { description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux"; }; From 91dde6fc89a9fb2baee53df5a389a92189983f75 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:43:08 -0800 Subject: [PATCH 04/82] python310Packages.numcodecs: remove explicit gcc8 --- pkgs/development/python-modules/numcodecs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/numcodecs/default.nix b/pkgs/development/python-modules/numcodecs/default.nix index 3137fa7acd37..bb550bea782c 100644 --- a/pkgs/development/python-modules/numcodecs/default.nix +++ b/pkgs/development/python-modules/numcodecs/default.nix @@ -9,7 +9,6 @@ , msgpack , pytestCheckHook , python -, gcc8 }: buildPythonPackage rec { @@ -25,7 +24,6 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools-scm cython - gcc8 ]; propagatedBuildInputs = [ From be1533317c8100f6ed7b1c68f257c1f5d9e02ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 4 Dec 2022 22:14:08 +0100 Subject: [PATCH 05/82] intel-media-driver: 22.6.3 -> 22.6.4 --- .../libraries/intel-media-driver/32bit.patch | 49 ------------------- .../libraries/intel-media-driver/default.nix | 8 ++- 2 files changed, 3 insertions(+), 54 deletions(-) delete mode 100644 pkgs/development/libraries/intel-media-driver/32bit.patch diff --git a/pkgs/development/libraries/intel-media-driver/32bit.patch b/pkgs/development/libraries/intel-media-driver/32bit.patch deleted file mode 100644 index f444d5697c1e..000000000000 --- a/pkgs/development/libraries/intel-media-driver/32bit.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/media_driver/linux/common/ddi/media_libva_util.cpp b/media_driver/linux/common/ddi/media_libva_util.cpp -index 25b4cb0b5..49254c2f0 100755 ---- a/media_driver/linux/common/ddi/media_libva_util.cpp -+++ b/media_driver/linux/common/ddi/media_libva_util.cpp -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include "inttypes.h" - - #include "media_libva_util.h" - #include "mos_utilities.h" -@@ -91,7 +92,7 @@ void DdiMediaUtil_MediaPrintFps() - int64_t diff = (tv2.tv_sec - tv1.tv_sec)*1000000 + tv2.tv_usec - tv1.tv_usec; - float fps = frameCountFps / (diff / 1000000.0); - DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11lu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); -- sprintf(temp,"FPS:%6.4f, Interval:%11lu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); -+ sprintf(temp,"FPS:%6.4f, Interval:%" PRIu64"\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); - - MOS_ZeroMemory(fpsFileName,LENGTH_OF_FPS_FILE_NAME); - sprintf(fpsFileName, FPS_FILE_NAME); -diff --git a/media_softlet/linux/common/ddi/media_libva_util_next.cpp b/media_softlet/linux/common/ddi/media_libva_util_next.cpp -index 66fab63de..38b1fae28 100644 ---- a/media_softlet/linux/common/ddi/media_libva_util_next.cpp -+++ b/media_softlet/linux/common/ddi/media_libva_util_next.cpp -@@ -24,6 +24,7 @@ - //! \brief libva util next implementaion. - //! - #include -+#include "inttypes.h" - #include "media_libva_util_next.h" - #include "mos_utilities.h" - #include "mos_os.h" -@@ -2196,7 +2197,7 @@ void MediaLibvaUtilNext::MediaPrintFps() - int64_t diff = (tv2.tv_sec - m_tv1.tv_sec)*1000000 + tv2.tv_usec - m_tv1.tv_usec; - float fps = m_frameCountFps / (diff / 1000000.0); - DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11lu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); -- sprintf(temp,"FPS:%6.4f, Interval:%11lu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); -+ sprintf(temp,"FPS:%6.4f, Interval:%" PRIu64"\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000)); - - MOS_ZeroMemory(fpsFileName,LENGTH_OF_FPS_FILE_NAME); - sprintf(fpsFileName, FPS_FILE_NAME); -@@ -2213,4 +2214,4 @@ void MediaLibvaUtilNext::MediaPrintFps() - pthread_mutex_unlock(&m_fpsMutex); - return; - } --#endif -\ No newline at end of file -+#endif diff --git a/pkgs/development/libraries/intel-media-driver/default.nix b/pkgs/development/libraries/intel-media-driver/default.nix index b7340333bc8d..7b948943345e 100644 --- a/pkgs/development/libraries/intel-media-driver/default.nix +++ b/pkgs/development/libraries/intel-media-driver/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { pname = "intel-media-driver"; - version = "22.6.3"; + version = "22.6.4"; outputs = [ "out" "dev" ]; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { owner = "intel"; repo = "media-driver"; rev = "intel-media-${version}"; - sha256 = "sha256-lQg+L64DW2ZIBeJRimNkba7EL+SM4jSnX9PWIx4j2AY="; + sha256 = "sha256-0Il51cWqgJwtsnsltHey5Sp+7RYUpqo4GtTRzrzw09A="; }; patches = [ @@ -33,9 +33,6 @@ stdenv.mkDerivation rec { url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/master/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; sha256 = "sha256-f4M0CPtAVf5l2ZwfgTaoPw7sPuAP/Uxhm5JSHEGhKT0="; }) - # fix compilation on 32bit - # https://github.com/intel/media-driver/pull/1557 - ./32bit.patch ]; cmakeFlags = [ @@ -43,6 +40,7 @@ stdenv.mkDerivation rec { "-DLIBVA_DRIVERS_PATH=${placeholder "out"}/lib/dri" # Works only on hosts with suitable CPUs. "-DMEDIA_RUN_TEST_SUITE=OFF" + "-DMEDIA_BUILD_FATAL_WARNINGS=OFF" ]; NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.system == "i686-linux") "-D_FILE_OFFSET_BITS=64"; From bd2a5f009a87fcfd33797b31407b4dfe2aee269b Mon Sep 17 00:00:00 2001 From: Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> Date: Thu, 13 Jan 2022 12:04:08 +0800 Subject: [PATCH 06/82] losslesscut-bin: refactor the build expression * appimage.nix -> build-from-appimage.nix to avoid confusion * .appimage -> x86_64-appimage to allow packaging binaries for architectures * Pass chromium flag --disable-seccomp-filter-sandbox to the executable * Use hostPlatform instead of stdenvNoCC.hostPlatform * Remove unnessesary intermediate variables --- .../video/losslesscut-bin/appimage.nix | 44 -------------- .../losslesscut-bin/build-from-appimage.nix | 58 +++++++++++++++++++ .../video/losslesscut-bin/build-from-dmg.nix | 36 ++++++++++++ .../losslesscut-bin/build-from-windows.nix | 37 ++++++++++++ .../video/losslesscut-bin/default.nix | 56 ++++++++++++------ .../video/losslesscut-bin/dmg.nix | 31 ---------- .../video/losslesscut-bin/windows.nix | 46 --------------- 7 files changed, 170 insertions(+), 138 deletions(-) delete mode 100644 pkgs/applications/video/losslesscut-bin/appimage.nix create mode 100644 pkgs/applications/video/losslesscut-bin/build-from-appimage.nix create mode 100644 pkgs/applications/video/losslesscut-bin/build-from-dmg.nix create mode 100644 pkgs/applications/video/losslesscut-bin/build-from-windows.nix delete mode 100644 pkgs/applications/video/losslesscut-bin/dmg.nix delete mode 100644 pkgs/applications/video/losslesscut-bin/windows.nix diff --git a/pkgs/applications/video/losslesscut-bin/appimage.nix b/pkgs/applications/video/losslesscut-bin/appimage.nix deleted file mode 100644 index 8e84406c60eb..000000000000 --- a/pkgs/applications/video/losslesscut-bin/appimage.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ appimageTools, lib, fetchurl, version, sha256 }: - -let - pname = "losslesscut"; - nameRepo = "lossless-cut"; - nameCamel = "LosslessCut"; - name = "${pname}-${version}"; - nameSource = "${nameCamel}-linux-x86_64.AppImage"; - nameExecutable = "losslesscut"; - owner = "mifi"; - src = fetchurl { - url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}"; - name = nameSource; - inherit sha256; - }; - extracted = appimageTools.extractType2 { - inherit name src; - }; -in appimageTools.wrapType2 { - inherit name src; - - profile = '' - export LC_ALL=C.UTF-8 - ''; - - extraPkgs = ps: appimageTools.defaultFhsEnvArgs.multiPkgs ps; - - extraInstallCommands = '' - mv $out/bin/{${name},${nameExecutable}} - ( - mkdir -p $out/share - cd ${extracted}/usr - find share -mindepth 1 -type d -exec mkdir -p $out/{} \; - find share -mindepth 1 -type f,l -exec ln -s $PWD/{} $out/{} \; - ) - ln -s ${extracted}/${nameExecutable}.png $out/share/icons/${nameExecutable}.png - mkdir $out/share/applications - cp ${extracted}/${nameExecutable}.desktop $out/share/applications - substituteInPlace $out/share/applications/${nameExecutable}.desktop \ - --replace AppRun ${nameExecutable} - ''; - - meta.platforms = with lib.platforms; [ "x86_64-linux" ]; -} diff --git a/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix new file mode 100644 index 000000000000..d75adb88f359 --- /dev/null +++ b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix @@ -0,0 +1,58 @@ +{ lib +, appimageTools +, fetchurl +, makeWrapper +, gtk3 +, gsettings-desktop-schemas +, pname +, version +, hash +, metaCommon ? { } +}: + +let + pname = "losslesscut"; + + src = fetchurl { + url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-linux-x86_64.AppImage"; + inherit hash; + }; + + extracted = appimageTools.extractType2 { + inherit pname version src; + }; +in +(appimageTools.wrapType2 { + inherit pname version src; + + profile = '' + export LC_ALL=C.UTF-8 + ''; + + extraPkgs = ps: appimageTools.defaultFhsEnvArgs.multiPkgs ps; + + extraInstallCommands = '' + mv $out/bin/{${pname}-${version},losslesscut} + ( + mkdir -p $out/share + cd ${extracted}/usr + find share -mindepth 1 -type d -exec mkdir -p $out/{} \; + find share -mindepth 1 -type f,l -exec ln -s $PWD/{} $out/{} \; + ) + ln -s ${extracted}/losslesscut.png $out/share/icons/losslesscut.png + mkdir $out/share/applications + cp ${extracted}/losslesscut.desktop $out/share/applications + substituteInPlace $out/share/applications/losslesscut.desktop \ + --replace AppRun losslesscut + source "${makeWrapper}/nix-support/setup-hook" + wrapProgram "$out/bin/losslesscut" \ + --add-flags "--disable-seccomp-filter-sandbox" + ''; + + meta = metaCommon // { + platforms = [ "x86_64-linux" ]; + mainProgram = "losslesscut"; + }; +}) // { + inherit pname version; +} diff --git a/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix b/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix new file mode 100644 index 000000000000..dac04e779e2b --- /dev/null +++ b/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix @@ -0,0 +1,36 @@ +{ lib +, stdenvNoCC +, fetchurl +, undmg +, pname +, version +, hash +, metaCommon ? { } +}: + +let + pname = "losslesscut"; + src = fetchurl { + url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-mac-x64.dmg"; + inherit hash; + }; +in +stdenvNoCC.mkDerivation { + inherit pname version src; + + nativeBuildInputs = [ undmg ]; + + sourceRoot = "LosslessCut.app"; + + installPhase = '' + mkdir -p "$out/Applications/LosslessCut.app" + cp -R . "$out/Applications/LosslessCut.app" + mkdir -p "$out/bin" + ln -s "$out/Applications/LosslessCut.app/Contents/MacOS/LosslessCut" "$out/bin/losslesscut" + ''; + + meta = metaCommon // (with lib; { + platforms = platforms.darwin; + mainProgram = "losslesscut"; + }); +} diff --git a/pkgs/applications/video/losslesscut-bin/build-from-windows.nix b/pkgs/applications/video/losslesscut-bin/build-from-windows.nix new file mode 100644 index 000000000000..ddaf87380644 --- /dev/null +++ b/pkgs/applications/video/losslesscut-bin/build-from-windows.nix @@ -0,0 +1,37 @@ +{ lib +, stdenvNoCC +, fetchurl +, p7zip +, pname +, version +, hash +, metaCommon ? { } +}: + +stdenvNoCC.mkDerivation { + inherit pname version; + + src = fetchurl { + url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-win-x64.7z"; + inherit hash; + }; + + nativeBuildInputs = [ p7zip ]; + + unpackPhase = '' + 7z x $src -oLosslessCut-win-x64 + ''; + + sourceRoot = "LosslessCut-win-x64"; + + installPhase = '' + mkdir -p $out/bin $out/libexec + (cd .. && mv LosslessCut-win-x64 $out/libexec) + ln -s "$out/libexec/LosslessCut-win-x64/LosslessCut.exe" "$out/bin/LosslessCut.exe" + ''; + + meta = metaCommon // (with lib; { + platforms = platforms.windows; + mainProgram = "LosslessCut.exe"; + }); +} diff --git a/pkgs/applications/video/losslesscut-bin/default.nix b/pkgs/applications/video/losslesscut-bin/default.nix index 77dd6e0c35fa..7d5f8fe1ddea 100644 --- a/pkgs/applications/video/losslesscut-bin/default.nix +++ b/pkgs/applications/video/losslesscut-bin/default.nix @@ -1,24 +1,46 @@ -{ callPackage, stdenvNoCC, lib }: +{ lib +, callPackage +, buildPackages +, hostPlatform +}: + let + pname = "losslesscut"; version = "3.46.2"; - appimage = callPackage ./appimage.nix { inherit version; sha256 = "sha256-p+HscYsChR90JHdYjurY4OOHgveGXbJomz1klBCsF2Q="; }; - dmg = callPackage ./dmg.nix { inherit version; sha256 = "sha256-350MHWwyjCdvIv6W6lX6Hr6PLDiAwO/e+KW0yKi/Yoc="; }; - windows = callPackage ./windows.nix { inherit version; sha256 = "sha256-48ifhvIWSPmmnBnW8tP7NeWPIWJYWNqGP925O50CAwQ="; }; -in ( - if stdenvNoCC.isDarwin then dmg - else if stdenvNoCC.isCygwin then windows - else appimage -).overrideAttrs -(oldAttrs: { - meta = with lib; { + metaCommon = with lib; { description = "The swiss army knife of lossless video/audio editing"; homepage = "https://mifi.no/losslesscut/"; license = licenses.gpl2Only; maintainers = with maintainers; [ ShamrockLee ]; - } // oldAttrs.meta // { - platforms = - appimage.meta.platforms - ++ dmg.meta.platforms - ++ windows.meta.platforms; }; -}) + x86_64-appimage = callPackage ./build-from-appimage.nix { + inherit pname version metaCommon; + hash = "sha256-p+HscYsChR90JHdYjurY4OOHgveGXbJomz1klBCsF2Q="; + inherit (buildPackages) makeWrapper; + }; + x86_64-dmg = callPackage ./build-from-dmg.nix { + inherit pname version metaCommon; + hash = "sha256-350MHWwyjCdvIv6W6lX6Hr6PLDiAwO/e+KW0yKi/Yoc="; + }; + x86_64-windows = callPackage ./build-from-windows.nix { + inherit pname version metaCommon; + hash = "sha256-48ifhvIWSPmmnBnW8tP7NeWPIWJYWNqGP925O50CAwQ="; + }; +in +( + if hostPlatform.isDarwin then x86_64-dmg + else if hostPlatform.isCygwin then x86_64-windows + else x86_64-appimage +).overrideAttrs + (oldAttrs: { + passthru = (oldAttrs.passthru or { }) // { + inherit x86_64-appimage x86_64-dmg x86_64-windows; + }; + meta = oldAttrs.meta // { + platforms = lib.unique ( + x86_64-appimage.meta.platforms + ++ x86_64-dmg.meta.platforms + ++ x86_64-windows.meta.platforms + ); + }; + }) diff --git a/pkgs/applications/video/losslesscut-bin/dmg.nix b/pkgs/applications/video/losslesscut-bin/dmg.nix deleted file mode 100644 index e334c0a58b9a..000000000000 --- a/pkgs/applications/video/losslesscut-bin/dmg.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ stdenvNoCC, lib, fetchurl, undmg, version , sha256 }: - -let - pname = "losslesscut"; - nameRepo = "lossless-cut"; - nameCamel = "LosslessCut"; - nameSource = "${nameCamel}-mac-x64.dmg"; - nameApp = nameCamel + ".app"; - owner = "mifi"; - src = fetchurl { - url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}"; - name = nameSource; - inherit sha256; - }; -in stdenvNoCC.mkDerivation { - inherit pname version src; - - nativeBuildInputs = [ undmg ]; - - unpackPhase = '' - undmg ${src} - ''; - sourceRoot = nameApp; - - installPhase = '' - mkdir -p $out/Applications/${nameApp} - cp -R . $out/Applications/${nameApp} - ''; - - meta.platforms = lib.platforms.darwin; -} diff --git a/pkgs/applications/video/losslesscut-bin/windows.nix b/pkgs/applications/video/losslesscut-bin/windows.nix deleted file mode 100644 index 89ccbca48323..000000000000 --- a/pkgs/applications/video/losslesscut-bin/windows.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ stdenvNoCC -, lib -, fetchurl -, p7zip -, version -, sha256 -, useMklink ? false -, customSymlinkCommand ? null -}: -let - pname = "losslesscut"; - nameRepo = "lossless-cut"; - nameCamel = "LosslessCut"; - nameSourceBase = "${nameCamel}-win-x64"; - nameSource = "${nameSourceBase}.7z"; - nameExecutable = "${nameCamel}.exe"; - owner = "mifi"; - getSymlinkCommand = if (customSymlinkCommand != null) then customSymlinkCommand - else if useMklink then (targetPath: linkPath: "mklink ${targetPath} ${linkPath}") - else (targetPath: linkPath: "ln -s ${targetPath} ${linkPath}"); -in stdenvNoCC.mkDerivation { - inherit pname version sha256; - - src = fetchurl { - name = nameSource; - url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}"; - inherit sha256; - }; - - nativeBuildInputs = [ p7zip ]; - - unpackPhase = '' - 7z x $src -o${nameSourceBase} - ''; - - sourceRoot = nameSourceBase; - - installPhase = '' - mkdir -p $out/bin $out/libexec - cd .. - mv ${nameSourceBase} $out/libexec - - '' + (getSymlinkCommand "${nameSourceBase}/${nameExecutable}" "$out/bin/${nameExecutable}"); - - meta.platforms = lib.platforms.windows; -} From f7860c59a374653b84d8403be06735cd3c6dc5f0 Mon Sep 17 00:00:00 2001 From: Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> Date: Mon, 5 Dec 2022 05:15:53 +0800 Subject: [PATCH 07/82] losslesscut-bin: 3.46.2 -> 3.48.2 and add aarch64-darwin support --- .../video/losslesscut-bin/build-from-dmg.nix | 5 +++-- .../video/losslesscut-bin/default.nix | 20 +++++++++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix b/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix index dac04e779e2b..b9913867b198 100644 --- a/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix +++ b/pkgs/applications/video/losslesscut-bin/build-from-dmg.nix @@ -5,13 +5,14 @@ , pname , version , hash +, isAarch64 , metaCommon ? { } }: let pname = "losslesscut"; src = fetchurl { - url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-mac-x64.dmg"; + url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-mac-${if isAarch64 then "arm64" else "x64"}.dmg"; inherit hash; }; in @@ -30,7 +31,7 @@ stdenvNoCC.mkDerivation { ''; meta = metaCommon // (with lib; { - platforms = platforms.darwin; + platforms = singleton (if isAarch64 then "aarch64-darwin" else "x86_64-darwin"); mainProgram = "losslesscut"; }); } diff --git a/pkgs/applications/video/losslesscut-bin/default.nix b/pkgs/applications/video/losslesscut-bin/default.nix index 7d5f8fe1ddea..267393ad0548 100644 --- a/pkgs/applications/video/losslesscut-bin/default.nix +++ b/pkgs/applications/video/losslesscut-bin/default.nix @@ -6,7 +6,7 @@ let pname = "losslesscut"; - version = "3.46.2"; + version = "3.48.2"; metaCommon = with lib; { description = "The swiss army knife of lossless video/audio editing"; homepage = "https://mifi.no/losslesscut/"; @@ -15,31 +15,39 @@ let }; x86_64-appimage = callPackage ./build-from-appimage.nix { inherit pname version metaCommon; - hash = "sha256-p+HscYsChR90JHdYjurY4OOHgveGXbJomz1klBCsF2Q="; + hash = "sha256-5T5+eBVbyOI89YA9NMLWweHagD09RB3P03HFvaDAOZ8="; inherit (buildPackages) makeWrapper; }; x86_64-dmg = callPackage ./build-from-dmg.nix { inherit pname version metaCommon; - hash = "sha256-350MHWwyjCdvIv6W6lX6Hr6PLDiAwO/e+KW0yKi/Yoc="; + hash = "sha256-PzjE0oJOuPG0S+mA7pgNU3MRgaE2jAPxWEN9J4PfqMQ="; + isAarch64 = false; + }; + aarch64-dmg = callPackage ./build-from-dmg.nix { + inherit pname version metaCommon; + hash = "sha256-927CSczgFJcbBJm2cYXucFRidkGAtcowoLMlm2GTafc="; + isAarch64 = true; }; x86_64-windows = callPackage ./build-from-windows.nix { inherit pname version metaCommon; - hash = "sha256-48ifhvIWSPmmnBnW8tP7NeWPIWJYWNqGP925O50CAwQ="; + hash = "sha256-+isxkGKxW7H+IjuA5G4yXuvDmX+4UlsD8sXwoHxgLM8="; }; in ( - if hostPlatform.isDarwin then x86_64-dmg + if hostPlatform.system == "aarch64-darwin" then aarch64-dmg + else if hostPlatform.isDarwin then x86_64-dmg else if hostPlatform.isCygwin then x86_64-windows else x86_64-appimage ).overrideAttrs (oldAttrs: { passthru = (oldAttrs.passthru or { }) // { - inherit x86_64-appimage x86_64-dmg x86_64-windows; + inherit x86_64-appimage x86_64-dmg aarch64-dmg x86_64-windows; }; meta = oldAttrs.meta // { platforms = lib.unique ( x86_64-appimage.meta.platforms ++ x86_64-dmg.meta.platforms + ++ aarch64-dmg.meta.platforms ++ x86_64-windows.meta.platforms ); }; From 89b5dddf990fd7fe99528a972ff037002e8e3046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 10 Dec 2022 03:40:39 +0100 Subject: [PATCH 08/82] nixos/avahi: revert closing firewall port by default --- .../manual/from_md/release-notes/rl-2305.section.xml | 10 ---------- nixos/doc/manual/release-notes/rl-2305.section.md | 2 -- nixos/modules/services/networking/avahi-daemon.nix | 5 +++-- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml index cc330e2f8870..944ea12f7df6 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml @@ -87,16 +87,6 @@ true, or configure your firewall. - - - The - services.avahi.openFirewall - module option default value has been changed from - true to false. You will - need to explicitely set this option to - true, or configure your firewall. - - The diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 886db43c68eb..2dd632fa7b92 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -31,8 +31,6 @@ In addition to numerous new and upgraded packages, this release has the followin - The [services.snapserver.openFirewall](#opt-services.snapserver.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. -- The [services.avahi.openFirewall](#opt-services.avahi.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. - - The [services.tmate-ssh-server.openFirewall](#opt-services.tmate-ssh-server.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. - The [services.unifi-video.openFirewall](#opt-services.unifi-video.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 0875d8a85140..3933ed5a2315 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -103,16 +103,17 @@ in openFirewall = mkOption { type = types.bool; - default = false; + default = true; description = lib.mdDoc '' Whether to open the firewall for UDP port 5353. + Disabling this setting also disables discovering of network devices. ''; }; allowPointToPoint = mkOption { type = types.bool; default = false; - description= lib.mdDoc '' + description = lib.mdDoc '' Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large latencies with such links and opens a potential security hole by allowing mDNS access from Internet connections. From 3836639c13c483ec85fedd292d5363401be7266f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 10 Dec 2022 03:41:07 +0100 Subject: [PATCH 09/82] avahi: remove not required ? null from inputs --- pkgs/development/libraries/avahi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix index fe9ce9a42dcb..d57b6a75cbaa 100644 --- a/pkgs/development/libraries/avahi/default.nix +++ b/pkgs/development/libraries/avahi/default.nix @@ -13,8 +13,8 @@ , libevent , nixosTests , gtk3Support ? false -, gtk3 ? null -, qt5 ? null +, gtk3 +, qt5 , qt5Support ? false , withLibdnssdCompat ? false , python ? null From bdca4eb87ed855a6629a9ed4bcec7a5290d1d013 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Tue, 8 Nov 2022 05:18:27 +0000 Subject: [PATCH 10/82] wtwitch: init at 2.6.0 In addition to wtwitch, we have also setup the manpage, bash and zsh completion, and set a default LANG value, since this is needed, but not guaranteed on systems like darwin. Fixes #184685 --- pkgs/tools/video/wtwitch/default.nix | 73 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 75 insertions(+) create mode 100644 pkgs/tools/video/wtwitch/default.nix diff --git a/pkgs/tools/video/wtwitch/default.nix b/pkgs/tools/video/wtwitch/default.nix new file mode 100644 index 000000000000..0967653464c2 --- /dev/null +++ b/pkgs/tools/video/wtwitch/default.nix @@ -0,0 +1,73 @@ +{ bash +, coreutils-prefixed +, curl +, fetchFromGitHub +, gnused +, gnugrep +, installShellFiles +, jq +, lib +, makeWrapper +, mplayer +, mpv +, ncurses +, procps +, scdoc +, stdenv +, streamlink +, sudo +, vlc +}: + +stdenv.mkDerivation rec { + pname = "wtwitch"; + version = "2.6.0"; + + src = fetchFromGitHub { + owner = "krathalan"; + repo = pname; + rev = version; + hash = "sha256-KkuXZOquihY3IRVp4FM+AdN3kYi0MqmrXFuNmydTpio="; + }; + + # hardcode SCRIPT_NAME because #150841 + postPatch = '' + substituteInPlace src/wtwitch --replace 'readonly SCRIPT_NAME="''${0##*/}"' 'readonly SCRIPT_NAME="wtwitch"' + ''; + + buildPhase = '' + scdoc < src/wtwitch.1.scd > wtwitch.1 + ''; + + nativeBuildInputs = [ scdoc installShellFiles makeWrapper ]; + + installPhase = '' + installManPage wtwitch.1 + installShellCompletion --cmd wtwitch \ + --bash src/wtwitch-completion.bash \ + --zsh src/_wtwitch + install -Dm755 src/wtwitch $out/bin/wtwitch + wrapProgram $out/bin/wtwitch \ + --set-default LANG en_US.UTF-8 \ + --prefix PATH : ${lib.makeBinPath (lib.optionals stdenv.isLinux [ vlc ] ++ [ + bash + coreutils-prefixed + curl + gnused + gnugrep + jq + mplayer + mpv + procps + streamlink + ])} + ''; + + meta = with lib; { + description = "Terminal user interface for Twitch"; + homepage = "https://github.com/krathalan/wtwitch"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ urandom ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29973ea019f5..b52a82aac4e2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1499,6 +1499,8 @@ with pkgs; wine = wineWowPackages.staging; }; + wtwitch = callPackage ../tools/video/wtwitch {}; + wwcd = callPackage ../tools/misc/wwcd { }; writedisk = callPackage ../tools/misc/writedisk { }; From d2e710716a75a4e48ab86333f2c1766b07421c86 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Mon, 12 Dec 2022 08:43:44 +0000 Subject: [PATCH 11/82] kubernetes-controller-tools: set version controller-gen likes to embed its internal version in generated files. As such, while the generated code is compile time equivalent to official releases, there is some thrashing if some users use nix and others us upstream artefacts. This change patches the version package and runtime value via ldflags. --- .../kubernetes-controller-tools/default.nix | 8 +++++++ .../kubernetes-controller-tools/version.patch | 23 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/tools/kubernetes-controller-tools/version.patch diff --git a/pkgs/development/tools/kubernetes-controller-tools/default.nix b/pkgs/development/tools/kubernetes-controller-tools/default.nix index 6c1f1b7cfbee..aa3980510ddb 100644 --- a/pkgs/development/tools/kubernetes-controller-tools/default.nix +++ b/pkgs/development/tools/kubernetes-controller-tools/default.nix @@ -11,8 +11,16 @@ buildGoModule rec { sha256 = "sha256-244o+QZ0BGVe8t8AWf1wU6VHgYyzkATpr5ZTbZezk10="; }; + patches = [ ./version.patch ]; + vendorSha256 = "sha256-sVdSKu6TDGIDV2o+kuCvGCItbFe9MwlM2Qjiz8n2rZU="; + ldflags = [ + "-s" + "-w" + "-X sigs.k8s.io/controller-tools/pkg/version.version=v${version}" + ]; + doCheck = false; subPackages = [ diff --git a/pkgs/development/tools/kubernetes-controller-tools/version.patch b/pkgs/development/tools/kubernetes-controller-tools/version.patch new file mode 100644 index 000000000000..b86c3d69c3a9 --- /dev/null +++ b/pkgs/development/tools/kubernetes-controller-tools/version.patch @@ -0,0 +1,23 @@ +diff --git a/pkg/version/version.go b/pkg/version/version.go +index 09c8efcf..b9ec798a 100644 +--- a/pkg/version/version.go ++++ b/pkg/version/version.go +@@ -20,14 +20,12 @@ import ( + "runtime/debug" + ) + ++var version string ++ + // Version returns the version of the main module + func Version() string { +- info, ok := debug.ReadBuildInfo() +- if !ok || info == nil || info.Main.Version == "" { +- // binary has not been built with module support or doesn't contain a version. +- return "(unknown)" +- } +- return info.Main.Version ++ _ = debug.ReadBuildInfo ++ return version + } + + // Print prints the main module version on stdout. From 61d84e1441383164f289141b18323f66f211156f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 03:40:02 +0000 Subject: [PATCH 12/82] goresym: 1.8 -> 2.0 --- pkgs/development/tools/goresym/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/goresym/default.nix b/pkgs/development/tools/goresym/default.nix index 834761e76869..28ea888533d8 100644 --- a/pkgs/development/tools/goresym/default.nix +++ b/pkgs/development/tools/goresym/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "goresym"; - version = "1.8"; + version = "2.0"; src = fetchFromGitHub { owner = "mandiant"; repo = pname; rev = "v${version}"; - sha256 = "sha256-GFr3ppZJsGwi3dyrlpIjYrdJ2QYp2i01SX+EKEAmDE8="; + sha256 = "sha256-ju0xk0oA8eBJ2kUTrv5KgzOTXf5gRJUSSs16B/6NEyU="; }; subPackages = [ "." ]; From 4fa694adf210b63f58380a5fb75d538acb38f5ec Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 03:45:19 +0000 Subject: [PATCH 13/82] govc: 0.29.0 -> 0.30.0 --- pkgs/tools/virtualization/govc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/virtualization/govc/default.nix b/pkgs/tools/virtualization/govc/default.nix index 1a44cf7ebc5b..57c0d51d4070 100644 --- a/pkgs/tools/virtualization/govc/default.nix +++ b/pkgs/tools/virtualization/govc/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "govc"; - version = "0.29.0"; + version = "0.30.0"; subPackages = [ "govc" ]; @@ -10,7 +10,7 @@ buildGoModule rec { rev = "v${version}"; owner = "vmware"; repo = "govmomi"; - sha256 = "sha256-SVQyl1uI3wGBBDhz2VLm0uJj+aREqNot7K+iGRHGmhI="; + sha256 = "sha256-BMkty2H42fAILw/zRiAWE5cOX9WCZIs0503QODLHqxo="; }; vendorSha256 = "sha256-jbGqQITAhyBLoDa3cKU5gK+4WGgoGSCyFtzeoXx8e7k="; From 3039dc51985cb681fe5a3ef9feb6b5a3518453d3 Mon Sep 17 00:00:00 2001 From: Luka Blaskovic Date: Tue, 13 Dec 2022 07:34:06 +0100 Subject: [PATCH 14/82] quickemu: 4.4 -> 4.5 https://github.com/quickemu-project/quickemu/releases/tag/4.5 --- pkgs/development/quickemu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix index a02761a9a022..d5b56f585eca 100644 --- a/pkgs/development/quickemu/default.nix +++ b/pkgs/development/quickemu/default.nix @@ -50,13 +50,13 @@ in stdenv.mkDerivation rec { pname = "quickemu"; - version = "4.4"; + version = "4.5"; src = fetchFromGitHub { owner = "quickemu-project"; repo = "quickemu"; rev = version; - hash = "sha256-82ojq1WTcgkVh+DQup2ymmqa6d6+LVR2p5cqEHA3hSM="; + hash = "sha256-31f4BIIYCh2acbueUtGZShKnlhctd1FfKkFqsNiUqrI="; }; postPatch = '' From 87267bb8cff5041bb967a6b61c407083305287be Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 12 Dec 2022 19:10:22 +0100 Subject: [PATCH 15/82] prismlauncher: 5.2 -> 6.0 Signed-off-by: Sefa Eyeoglu --- pkgs/games/prismlauncher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix index 3fceefc2d98d..17fe569deb63 100644 --- a/pkgs/games/prismlauncher/default.nix +++ b/pkgs/games/prismlauncher/default.nix @@ -34,13 +34,13 @@ in stdenv.mkDerivation rec { pname = "prismlauncher"; - version = "5.2"; + version = "6.0"; src = fetchFromGitHub { owner = "PrismLauncher"; repo = "PrismLauncher"; rev = version; - sha256 = "sha256-sKAhcbDoRbWf/DuwcBmDjb+VSMM0K2C33gu1K9AlPoQ="; + sha256 = "sha256-Kwj1GvlT12jRcf84WMSnD4xkgGL3X9AVqdGDCxMmS4E="; }; nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ]; From a950e5b2dca868d06c356846c2d76e153a5aa875 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 09:42:24 +0000 Subject: [PATCH 16/82] heimer: 3.6.2 -> 3.6.3 --- pkgs/applications/misc/heimer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/heimer/default.nix b/pkgs/applications/misc/heimer/default.nix index 792eee4d9e36..e6f2245fd710 100644 --- a/pkgs/applications/misc/heimer/default.nix +++ b/pkgs/applications/misc/heimer/default.nix @@ -2,13 +2,13 @@ mkDerivation rec { pname = "heimer"; - version = "3.6.2"; + version = "3.6.3"; src = fetchFromGitHub { owner = "juzzlin"; repo = pname; rev = version; - sha256 = "sha256-NAjl7eRmMkRrVhlza87ErllEa1QfPZ8GRI1aljY6itI="; + sha256 = "sha256-G0prFxKXHiRtV6uVp1Ckym0/rOFxrOHrEI5K9hkWjfU="; }; nativeBuildInputs = [ cmake ]; From 9fb6ca9609ec11383d0e4f4138b66626e5384533 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 12:38:52 +0000 Subject: [PATCH 17/82] jellyfin-ffmpeg: 5.1.2-4 -> 5.1.2-5 --- pkgs/development/libraries/jellyfin-ffmpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix index ccff068e1da2..04372e647e90 100644 --- a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix +++ b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix @@ -8,13 +8,13 @@ nv-codec-headers = nv-codec-headers-11; }).overrideAttrs (old: rec { pname = "jellyfin-ffmpeg"; - version = "5.1.2-4"; + version = "5.1.2-5"; src = fetchFromGitHub { owner = "jellyfin"; repo = "jellyfin-ffmpeg"; rev = "v${version}"; - sha256 = "sha256-yzaS50sPgyRRLnvzaOiKOEaHKL3Yuf89KsHyPebjoL8="; + sha256 = "sha256-2mSixlrTgAVD2ZRGoi1+UEbhba7QEVvKmigwC9dLk2g="; }; configureFlags = old.configureFlags ++ [ From 040fc601c489b2ee887002e8ec45056f59d4a157 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 13 Dec 2022 16:14:06 +0100 Subject: [PATCH 18/82] zellij: 0.34.3 -> 0.34.4 Signed-off-by: Matthias Beyer --- pkgs/tools/misc/zellij/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/zellij/default.nix b/pkgs/tools/misc/zellij/default.nix index 580ffb580981..371e22724d56 100644 --- a/pkgs/tools/misc/zellij/default.nix +++ b/pkgs/tools/misc/zellij/default.nix @@ -15,16 +15,16 @@ rustPlatform.buildRustPackage rec { pname = "zellij"; - version = "0.34.3"; + version = "0.34.4"; src = fetchFromGitHub { owner = "zellij-org"; repo = "zellij"; rev = "v${version}"; - sha256 = "sha256-Va+99+plrRFZNkK8e3BhMTZC6NREziKwjO4vODm6PyI="; + sha256 = "sha256-ILjORslelnMTXfuVHS9UPa5qkXuYup/+wT/s1rTSpIY="; }; - cargoSha256 = "sha256-4Dq/ElyxUD6wLUWxeN/F5RCP2rAWy9iPsnCvcFxk3/8="; + cargoSha256 = "sha256-HzuCzqpq99dJnTStOc0LxZ7bLuqmvPZerX69arNU6HU="; nativeBuildInputs = [ mandown From c2723da1eab107dfd70e09363ffe61424db91f0b Mon Sep 17 00:00:00 2001 From: Jose Cardoso <65740649+asininemonkey@users.noreply.github.com> Date: Tue, 13 Dec 2022 15:35:05 +0000 Subject: [PATCH 19/82] nixos/modules/profiles/base.nix: add nvme-cli --- nixos/modules/profiles/base.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix index eebc0df1040c..616b2470dcb4 100644 --- a/nixos/modules/profiles/base.nix +++ b/nixos/modules/profiles/base.nix @@ -42,6 +42,7 @@ pkgs.smartmontools # for diagnosing hard disks pkgs.pciutils pkgs.usbutils + pkgs.nvme-cli # Tools to create / manipulate filesystems. pkgs.ntfsprogs # for resizing NTFS partitions From 93a453e3b94bf1555479e3e9dc734db7ad6cf4e8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Dec 2022 17:09:21 +0100 Subject: [PATCH 20/82] heimer: add changelog to meta - specify license --- pkgs/applications/misc/heimer/default.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/heimer/default.nix b/pkgs/applications/misc/heimer/default.nix index e6f2245fd710..45ac4582220e 100644 --- a/pkgs/applications/misc/heimer/default.nix +++ b/pkgs/applications/misc/heimer/default.nix @@ -1,4 +1,10 @@ -{ mkDerivation, lib, fetchFromGitHub, cmake, qttools, qtbase }: +{ lib +, mkDerivation +, fetchFromGitHub +, cmake +, qttools +, qtbase +}: mkDerivation rec { pname = "heimer"; @@ -8,16 +14,23 @@ mkDerivation rec { owner = "juzzlin"; repo = pname; rev = version; - sha256 = "sha256-G0prFxKXHiRtV6uVp1Ckym0/rOFxrOHrEI5K9hkWjfU="; + hash = "sha256-G0prFxKXHiRtV6uVp1Ckym0/rOFxrOHrEI5K9hkWjfU="; }; - nativeBuildInputs = [ cmake ]; - buildInputs = [ qttools qtbase ]; + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + qttools + qtbase + ]; meta = with lib; { description = "Simple cross-platform mind map and note-taking tool written in Qt"; homepage = "https://github.com/juzzlin/Heimer"; - license = licenses.gpl3; + changelog = "https://github.com/juzzlin/Heimer/blob/${version}/CHANGELOG"; + license = licenses.gpl3Plus; maintainers = with maintainers; [ dtzWill ]; platforms = platforms.linux; }; From a21d02653c0fd464e27fe9aaca68585b20c0ccf0 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 13 Dec 2022 20:46:01 +0100 Subject: [PATCH 21/82] box64: 0.1.8 -> 0.2.0, add passthru.updateScript --- pkgs/applications/emulators/box64/default.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/emulators/box64/default.nix b/pkgs/applications/emulators/box64/default.nix index e383333c4208..404ece153b1c 100644 --- a/pkgs/applications/emulators/box64/default.nix +++ b/pkgs/applications/emulators/box64/default.nix @@ -1,21 +1,32 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch +, gitUpdater , cmake , python3 }: stdenv.mkDerivation rec { pname = "box64"; - version = "0.1.8"; + version = "0.2.0"; src = fetchFromGitHub { owner = "ptitSeb"; repo = pname; rev = "v${version}"; - hash = "sha256-6k8Enbafnj19ATtgmw8W7LxtRpM3Ousj1bpZbbtq8TM="; + hash = "sha256-eMp2eSWMRJQvLRQKUirBua6Kt7ZtyebfUnKIlibkNFU="; }; + patches = [ + # Fix mmx & cppThreads tests on x86_64 + # Remove when version > 0.2.0 + (fetchpatch { + url = "https://github.com/ptitSeb/box64/commit/3819aecf078fcf47b2bc73713531361406a51895.patch"; + hash = "sha256-11hy5Ol5FSE/kNJmXAIwNLbapldhlZGKtOLIoL6pYrg="; + }) + ]; + nativeBuildInputs = [ cmake python3 @@ -56,6 +67,10 @@ stdenv.mkDerivation rec { runHook postInstallCheck ''; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = with lib; { homepage = "https://box86.org/"; description = "Lets you run x86_64 Linux programs on non-x86_64 Linux systems"; From a2aa9225b6185ab2144dd8f397b0bd429d30c075 Mon Sep 17 00:00:00 2001 From: Kiskae Date: Tue, 13 Dec 2022 20:47:26 +0100 Subject: [PATCH 22/82] pkgStatic.dash: fix build `libedit` declares a dependency on `libncurses`, but since dash doesn't use pkg-config it doesn't register the transitive dependencies. --- pkgs/shells/dash/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index 3b362b4bdeee..e9b4093249c5 100644 --- a/pkgs/shells/dash/default.nix +++ b/pkgs/shells/dash/default.nix @@ -2,6 +2,7 @@ , stdenv , buildPackages , autoreconfHook +, pkg-config , fetchurl , fetchpatch , libedit @@ -37,12 +38,16 @@ stdenv.mkDerivation rec { strictDeps = true; # configure.ac patched; remove on next release - nativeBuildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ autoreconfHook ] + ++ lib.optionals stdenv.hostPlatform.isStatic [ pkg-config ]; depsBuildBuild = [ buildPackages.stdenv.cc ]; buildInputs = [ libedit ]; configureFlags = [ "--with-libedit" ]; + preConfigure = lib.optional stdenv.hostPlatform.isStatic '' + export LIBS="$(pkg-config --libs --static libedit)" + ''; enableParallelBuilding = true; From 5bce4605c4bdbbe3932fe2c181c04d326e59a3ee Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 20:24:46 +0000 Subject: [PATCH 23/82] libpg_query: 13-2.2.0 -> 14-3.0.0 --- pkgs/development/libraries/libpg_query/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libpg_query/default.nix b/pkgs/development/libraries/libpg_query/default.nix index 663a119224b9..0387679835e5 100644 --- a/pkgs/development/libraries/libpg_query/default.nix +++ b/pkgs/development/libraries/libpg_query/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libpg_query"; - version = "13-2.2.0"; + version = "14-3.0.0"; src = fetchFromGitHub { owner = "pganalyze"; repo = "libpg_query"; rev = version; - sha256 = "sha256-gEkcv/j8ySUYmM9lx1hRF/SmuQMYVHwZAIYOaCQWAFs="; + sha256 = "sha256-rICN8fkPcYw32N6TdpbrszGUoRzwQdfRSW6A0AC8toM="; }; nativeBuildInputs = [ which ]; From ca598e048b5c54eda2015e8db0d28604e80b8ca3 Mon Sep 17 00:00:00 2001 From: AtilaSaraiva Date: Tue, 13 Dec 2022 13:55:58 -0700 Subject: [PATCH 24/82] mendeley: 1.19.5 -> 2.80.1 --- pkgs/applications/office/mendeley/default.nix | 148 +++--------------- 1 file changed, 22 insertions(+), 126 deletions(-) diff --git a/pkgs/applications/office/mendeley/default.nix b/pkgs/applications/office/mendeley/default.nix index e204e04008ca..01cd0956b728 100644 --- a/pkgs/applications/office/mendeley/default.nix +++ b/pkgs/applications/office/mendeley/default.nix @@ -1,147 +1,43 @@ -{ fetchurl, lib, stdenv, mkDerivation, dpkg, which -, makeWrapper -, alsa-lib -, desktop-file-utils -, dbus -, libcap -, fontconfig -, freetype -, gcc +{ lib +, fetchurl +, appimageTools , gconf -, glib -, icu -, libxml2 -, libxslt -, orc -, nss -, nspr -, qtbase -, qtsvg -, qtdeclarative -, qtwebchannel -, qtquickcontrols -, qtwebkit -, qtwebengine -, sqlite -, xorg -, zlib -# The provided wrapper does this, but since we don't use it -# we emulate the behavior. The downside is that this -# will leave entries on your system after uninstalling mendeley. -# (they can be removed by running '$out/bin/install-mendeley-link-handler.sh -u') -, autorunLinkHandler ? true -# Update script -, writeScript -, runtimeShell +, imagemagick }: let - arch32 = "i686-linux"; + name = "mendeley"; + version = "2.80.1"; - arch = if stdenv.hostPlatform.system == arch32 - then "i386" - else "amd64"; - - shortVersion = "1.19.5-stable"; - - version = "${shortVersion}_${arch}"; - - url = "http://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_${version}.deb"; - sha256 = if stdenv.hostPlatform.system == arch32 - then "01x83a44qlxi937b128y8y0px0q4w37g72z652lc42kv50dhyy3f" - else "1cagqq0xziznaj97z30bqfhrwjv3a4h83ckhwigq35nhk1ggq1ry"; - - deps = [ - qtbase - qtsvg - qtdeclarative - qtwebchannel - qtquickcontrols - qtwebkit - qtwebengine - alsa-lib - dbus - freetype - fontconfig - gcc.cc - gconf - glib - icu - libcap - libxml2 - libxslt - nspr - nss - orc - sqlite - xorg.libX11 - xorg.xcbutilkeysyms - xorg.libxcb - xorg.libXcomposite - xorg.libXext - xorg.libXrender - xorg.libXi - xorg.libXcursor - xorg.libXtst - xorg.libXrandr - xorg.xcbutilimage - zlib - ]; - -in - -mkDerivation { - pname = "mendeley"; - inherit version; + executableName = "${name}-reference-manager"; src = fetchurl { - url = url; - sha256 = sha256; + url = "https://static.mendeley.com/bin/desktop/mendeley-reference-manager-2.80.1-x86_64.AppImage"; + sha256 = "sha256-uqmu7Yf4tXDlNGkeEZut4m339S6ZNKhAmej+epKLB/8="; }; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ dpkg which ] ++ deps; + appimageContents = appimageTools.extractType2 { + inherit name src; + }; +in appimageTools.wrapType2 rec { + inherit name src; - propagatedUserEnvPkgs = [ gconf ]; + extraInstallCommands = '' + mv $out/bin/${name} $out/bin/${executableName} + install -m 444 -D ${appimageContents}/${executableName}.desktop $out/share/applications/${executableName}.desktop + ${imagemagick}/bin/convert ${appimageContents}/${executableName}.png -resize 512x512 ${name}_512.png + install -m 444 -D ${name}_512.png $out/share/icons/hicolor/512x512/apps/${executableName}.png - dontUnpack = true; - - dontWrapQtApps = true; - - installPhase = '' - dpkg-deb -x $src $out - mv $out/opt/mendeleydesktop/{bin,lib,share} $out - - interpreter=$(patchelf --print-interpreter $(readlink -f $(which patchelf))) - patchelf --set-interpreter $interpreter \ - --set-rpath ${lib.makeLibraryPath deps}:$out/lib \ - $out/bin/mendeleydesktop - - wrapQtApp $out/bin/mendeleydesktop \ - --add-flags "--unix-distro-build" \ - ${lib.optionalString autorunLinkHandler # ignore errors installing the link handler - ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''} - - # Remove bundled qt bits - rm -rf $out/lib/qt - rm $out/bin/qt* $out/bin/Qt* - - # Patch up link handler script - wrapProgram $out/bin/install-mendeley-link-handler.sh \ - --prefix PATH ':' ${lib.makeBinPath [ which gconf desktop-file-utils ] } + substituteInPlace $out/share/applications/${executableName}.desktop \ + --replace 'Exec=AppRun' 'Exec=${executableName}' ''; - dontStrip = true; - dontPatchELF = true; - - updateScript = import ./update.nix { inherit writeScript runtimeShell; }; - meta = with lib; { homepage = "https://www.mendeley.com"; description = "A reference manager and academic social network"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; - platforms = [ "x86_64-linux" "i686-linux" ]; + platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ dtzWill ]; }; From 31243a31c5b3c0cfed3cf1a878f480ced246ba63 Mon Sep 17 00:00:00 2001 From: AtilaSaraiva Date: Tue, 13 Dec 2022 13:56:36 -0700 Subject: [PATCH 25/82] mendeley: added atila to maintainers --- pkgs/applications/office/mendeley/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/mendeley/default.nix b/pkgs/applications/office/mendeley/default.nix index 01cd0956b728..fc3b7216b7a2 100644 --- a/pkgs/applications/office/mendeley/default.nix +++ b/pkgs/applications/office/mendeley/default.nix @@ -38,7 +38,7 @@ in appimageTools.wrapType2 rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ dtzWill ]; + maintainers = with maintainers; [ dtzWill atila ]; }; } From 8154d80cc5961af392283204e5079677997e1691 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 23:23:08 +0000 Subject: [PATCH 26/82] mergerfs: 2.33.5 -> 2.34.1 --- pkgs/tools/filesystems/mergerfs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/mergerfs/default.nix b/pkgs/tools/filesystems/mergerfs/default.nix index 24ae9154a68d..de23fbb5ab80 100644 --- a/pkgs/tools/filesystems/mergerfs/default.nix +++ b/pkgs/tools/filesystems/mergerfs/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "mergerfs"; - version = "2.33.5"; + version = "2.34.1"; src = fetchFromGitHub { owner = "trapexit"; repo = pname; rev = version; - sha256 = "sha256-Hj124GzJV5WNGJHvgelem5B/Ru+F/ILzsX2X8gs7Jww="; + sha256 = "sha256-67LkMbs3JGpkwMHGWJf03yy8aGfSVb64TF4DPLlLMgY="; }; nativeBuildInputs = [ From 2d934cd93a24fa329dd559acd5962c60db7392f7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 13 Dec 2022 23:29:33 +0000 Subject: [PATCH 27/82] minio-client: 2022-12-02T23-48-47Z -> 2022-12-13T00-23-28Z --- pkgs/tools/networking/minio-client/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/minio-client/default.nix b/pkgs/tools/networking/minio-client/default.nix index d0fb19e15a84..2d33db2e67b7 100644 --- a/pkgs/tools/networking/minio-client/default.nix +++ b/pkgs/tools/networking/minio-client/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "minio-client"; - version = "2022-12-02T23-48-47Z"; + version = "2022-12-13T00-23-28Z"; src = fetchFromGitHub { owner = "minio"; repo = "mc"; rev = "RELEASE.${version}"; - sha256 = "sha256-6OPc56QN5va0S1iFbwA+qlF+AXUFxb//MYb55eRMsF0="; + sha256 = "sha256-wRkpc1S9booT9jVrDdmuj1eQInXafax2ZGvHgcuoiTA="; }; - vendorSha256 = "sha256-janS8S3ezloT0M92dGe3x4WZb1cN8hmreVin6sjtPU4="; + vendorSha256 = "sha256-D3d+aSEe1d1Tw0//L8MGuZHt5GjURTn3Vni9l4BafEI="; subPackages = [ "." ]; From 931ecfea08611de31c104e4a9ed77e22390c6ba3 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 13 Dec 2022 23:48:28 +0000 Subject: [PATCH 28/82] jameica: add aarch64-linux support --- pkgs/applications/office/jameica/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix index d4a3028b8943..8fe04cf43ed9 100644 --- a/pkgs/applications/office/jameica/default.nix +++ b/pkgs/applications/office/jameica/default.nix @@ -5,10 +5,12 @@ let _build = "484"; version = "${_version}-${_build}"; - swtSystem = if stdenv.hostPlatform.system == "i686-linux" then "linux" - else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" - else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64" - else throw "Unsupported system: ${stdenv.hostPlatform.system}"; + swtSystem = + if stdenv.hostPlatform.system == "i686-linux" then "linux" + else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" + else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm64" + else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64" + else throw "Unsupported system: ${stdenv.hostPlatform.system}"; desktopItem = makeDesktopItem { name = "jameica"; @@ -26,7 +28,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ ant jdk wrapGAppsHook makeWrapper ]; buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] - ++ lib.optional stdenv.isDarwin Cocoa; + ++ lib.optional stdenv.isDarwin Cocoa; src = fetchFromGitHub { owner = "willuhn"; @@ -79,7 +81,7 @@ stdenv.mkDerivation rec { binaryBytecode # source bundles dependencies as jars ]; license = licenses.gpl2Plus; - platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]; maintainers = with maintainers; [ flokli r3dl3g ]; }; } From 7be608ac68b6ccfbc27395cea6c58a9e3e71035c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 02:18:54 +0000 Subject: [PATCH 29/82] python310Packages.nltk: 3.7 -> 3.8 --- pkgs/development/python-modules/nltk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nltk/default.nix b/pkgs/development/python-modules/nltk/default.nix index 9beeb4cb0a69..9b290730be9d 100644 --- a/pkgs/development/python-modules/nltk/default.nix +++ b/pkgs/development/python-modules/nltk/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "nltk"; - version = "3.7"; + version = "3.8"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-1lB9ZGDOx21wr+pCQqImp1QvhcZpF3ucf1YrfPGwVQI="; + hash = "sha256-dLMIJqN9eNU0JxBbvQN92IAlG+Jp/KZO5TCDikbtVfw="; }; propagatedBuildInputs = [ From 7386b47d297c23ba9ea0c55bdada9fd521a1b8c5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Dec 2022 03:10:14 +0000 Subject: [PATCH 30/82] =?UTF-8?q?terraform-providers.consul:=202.16.2=20?= =?UTF-8?q?=E2=86=92=202.17.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 1a1840a2702e..73b6f57fc0b7 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -268,13 +268,13 @@ "vendorHash": "sha256-UJHDX/vx3n/RTuQ50Y6TAhpEEFk9yBoaz8yK02E8Fhw=" }, "consul": { - "hash": "sha256-DS27LGhXDYVr+c0wIZe5PjssK8l8Aq4zzh3I+G4WCU8=", + "hash": "sha256-UaTvFxwbLf9krUdsslFP6MXzpacnj/AKXiyUe7iSRCs=", "homepage": "https://registry.terraform.io/providers/hashicorp/consul", "owner": "hashicorp", "repo": "terraform-provider-consul", - "rev": "v2.16.2", + "rev": "v2.17.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-9fTmD3VFU12htHeYk64CM23g8ihT2+02DmzTXfZF2Rw=" + "vendorHash": "sha256-v1RHxXYTvpyWzyph6qg3GW75OPYc5qYQ/yyDI8WkbNc=" }, "ct": { "hash": "sha256-poEyXP6VfKYKuTCxQxkiWBuc7/1S2J7RolrrPb6nvUI=", From ad3a304cc2521cea147ad8a793914f678c9e4cf9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Dec 2022 03:11:59 +0000 Subject: [PATCH 31/82] =?UTF-8?q?terraform-providers.helm:=202.7.1=20?= =?UTF-8?q?=E2=86=92=202.8.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 73b6f57fc0b7..3f96320f2e8f 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -498,11 +498,11 @@ "vendorHash": "sha256-/dsiIxgW4BxSpRtnD77NqtkxEEAXH1Aj5hDCRSdiDYg=" }, "helm": { - "hash": "sha256-s8ZOzTG3qux+4Yh1wj3ArjB1uJ32bdGhxY9iSL5LOK8=", + "hash": "sha256-MSBCn4AriAWys2FIYJIGamcaLGx0gtO5IiB/WxcN2rg=", "homepage": "https://registry.terraform.io/providers/hashicorp/helm", "owner": "hashicorp", "repo": "terraform-provider-helm", - "rev": "v2.7.1", + "rev": "v2.8.0", "spdx": "MPL-2.0", "vendorHash": null }, From 83fbfd92b5ac3e72c52bca6f4afb2635236a1161 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Dec 2022 03:14:57 +0000 Subject: [PATCH 32/82] =?UTF-8?q?terraform-providers.tencentcloud:=201.79.?= =?UTF-8?q?1=20=E2=86=92=201.79.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 3f96320f2e8f..ac52b952c257 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -1095,11 +1095,11 @@ "vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw=" }, "tencentcloud": { - "hash": "sha256-jel9zn2i/xt7Up4o8Tf5S5Z63zRbQszt9IY5xjcQhLo=", + "hash": "sha256-mN52iD0HdsfzPxo9hLFlKxiwIm7641cnjUYk8XyRP0s=", "homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud", "owner": "tencentcloudstack", "repo": "terraform-provider-tencentcloud", - "rev": "v1.79.1", + "rev": "v1.79.2", "spdx": "MPL-2.0", "vendorHash": null }, From 8a9769cb060320d9947987c2e862b3143c4c1caa Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 14 Dec 2022 06:58:28 +0100 Subject: [PATCH 33/82] =?UTF-8?q?ocamlPackages.batteries:=203.5.1=20?= =?UTF-8?q?=E2=86=92=203.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/batteries/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/batteries/default.nix b/pkgs/development/ocaml-modules/batteries/default.nix index a6536865d884..f9cb31e9ca9c 100644 --- a/pkgs/development/ocaml-modules/batteries/default.nix +++ b/pkgs/development/ocaml-modules/batteries/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, qcheck, num, ounit +{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, qcheck, num, camlp-streams , doCheck ? lib.versionAtLeast ocaml.version "4.08" && !stdenv.isAarch64 }: @@ -8,18 +8,18 @@ else stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-batteries"; - version = "3.5.1"; + version = "3.6.0"; src = fetchFromGitHub { owner = "ocaml-batteries-team"; repo = "batteries-included"; rev = "v${version}"; - sha256 = "sha256-lLlpsg1v7mYFJ61rTdLV2v8/McK1R4HDTTuyka48aBw="; + hash = "sha256-D/0h0/70V8jmzHIUR6i2sT2Jz9/+tfR2dQgp4Bxtimc="; }; nativeBuildInputs = [ ocaml findlib ocamlbuild ]; - checkInputs = [ qtest ounit qcheck ]; - propagatedBuildInputs = [ num ]; + checkInputs = [ qtest qcheck ]; + propagatedBuildInputs = [ camlp-streams num ]; strictDeps = !doCheck; @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; meta = { - homepage = "http://batteries.forge.ocamlcore.org/"; + homepage = "https://ocaml-batteries-team.github.io/batteries-included/hdoc2/"; description = "OCaml Batteries Included"; longDescription = '' A community-driven effort to standardize on an consistent, documented, From a4b68c46016e4f4840764760d64da43342ce01e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Dec 2022 23:16:13 -0800 Subject: [PATCH 34/82] python310Packages.pyotp: 2.7.0 -> 2.8.0 https://github.com/pyauth/pyotp/releases/tag/v2.8.0 --- .../python-modules/pyotp/default.nix | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyotp/default.nix b/pkgs/development/python-modules/pyotp/default.nix index 8b64a713d9f4..8b7b4249f4a4 100644 --- a/pkgs/development/python-modules/pyotp/default.nix +++ b/pkgs/development/python-modules/pyotp/default.nix @@ -1,18 +1,30 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 }: +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, unittestCheckHook +}: buildPythonPackage rec { pname = "pyotp"; - version = "2.7.0"; - disabled = isPy27; + version = "2.8.0"; + disabled = pythonOlder "3.7"; + + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-zpifq6Dfd9wDK0XlHGzKQrzyCJbI09HnzXWaU9x9bLU="; + hash = "sha256-wvXhfZ2pLY7B995jMasIEWuRFa26vLpuII1G/EmpjFo="; }; + checkInputs = [ + unittestCheckHook + ]; + pythonImportsCheck = [ "pyotp" ]; meta = with lib; { + changelog = "https://github.com/pyauth/pyotp/blob/v${version}/Changes.rst"; description = "Python One Time Password Library"; homepage = "https://github.com/pyauth/pyotp"; license = licenses.mit; From aa54211664bbd4717c9effac5efc65a3c024e11c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 07:25:31 +0000 Subject: [PATCH 35/82] pritunl-client: 1.3.3370.14 -> 1.3.3373.6 --- pkgs/tools/networking/pritunl-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/pritunl-client/default.nix b/pkgs/tools/networking/pritunl-client/default.nix index 1461a8d17e37..09cca7d2eef2 100644 --- a/pkgs/tools/networking/pritunl-client/default.nix +++ b/pkgs/tools/networking/pritunl-client/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "pritunl-client"; - version = "1.3.3370.14"; + version = "1.3.3373.6"; src = fetchFromGitHub { owner = "pritunl"; repo = "pritunl-client-electron"; rev = version; - sha256 = "sha256-/HXnD2P2fsNxWXMe5U7SUgxzOaHokktTogYIdiH8Kk8="; + sha256 = "sha256-Ttg6SNDcNIQlbNnKQY32hmsrgLhzHkeQfwlmCHe0bI0="; }; modRoot = "cli"; From ced85c118bba766a25c7d594f01c254516463c8f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 07:48:05 +0000 Subject: [PATCH 36/82] python310Packages.param: 1.12.2 -> 1.12.3 --- pkgs/development/python-modules/param/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/param/default.nix b/pkgs/development/python-modules/param/default.nix index dc1e8c9ae517..7e9fa7aa7e26 100644 --- a/pkgs/development/python-modules/param/default.nix +++ b/pkgs/development/python-modules/param/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "param"; - version = "1.12.2"; + version = "1.12.3"; src = fetchFromGitHub { owner = "holoviz"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-NrMsIDcpZc/R2j8VuXitbnIlhP3NtLxU/OkygXqYok8="; + sha256 = "sha256-XVHYx0M/BLjNNneObxygPHtid65ti7nctKsUMF21fmw="; }; checkInputs = [ From 473a3e69132b51f6b7058bb709655d4ced6b5dd1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 08:09:34 +0000 Subject: [PATCH 37/82] python310Packages.patiencediff: 0.2.10 -> 0.2.11 --- pkgs/development/python-modules/patiencediff/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/patiencediff/default.nix b/pkgs/development/python-modules/patiencediff/default.nix index 1a77aa0ca169..e0bc6992afb1 100644 --- a/pkgs/development/python-modules/patiencediff/default.nix +++ b/pkgs/development/python-modules/patiencediff/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "patiencediff"; - version = "0.2.10"; + version = "0.2.11"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "breezy-team"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-AlJ61Sp6HSy6nJ6trVF2OD9ziSIW241peRXcda3xWnQ="; + hash = "sha256-JUcqODJo4F+gIa9kznWyUW65MGkSrVRlOWvjBNQip3A="; }; nativeBuildInputs = [ From e55d03eeda2649384ffb00e6d6c9cf4017c49f4e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Dec 2022 09:40:12 +0100 Subject: [PATCH 38/82] python310Packages.param: add changelog to meta --- pkgs/development/python-modules/param/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/param/default.nix b/pkgs/development/python-modules/param/default.nix index 7e9fa7aa7e26..76095f62e8d5 100644 --- a/pkgs/development/python-modules/param/default.nix +++ b/pkgs/development/python-modules/param/default.nix @@ -2,17 +2,21 @@ , buildPythonPackage , fetchFromGitHub , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "param"; version = "1.12.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "holoviz"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-XVHYx0M/BLjNNneObxygPHtid65ti7nctKsUMF21fmw="; + hash = "sha256-XVHYx0M/BLjNNneObxygPHtid65ti7nctKsUMF21fmw="; }; checkInputs = [ @@ -32,6 +36,7 @@ buildPythonPackage rec { meta = with lib; { description = "Declarative Python programming using Parameters"; homepage = "https://github.com/pyviz/param"; + changelog = "https://github.com/holoviz/param/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ costrouc ]; }; From ff3c906dbc04a27ddf09d23e7470f1ee4d1b65ac Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 08:41:19 +0000 Subject: [PATCH 39/82] proton-caller: 3.1.0 -> 3.1.1 --- pkgs/applications/emulators/proton-caller/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/proton-caller/default.nix b/pkgs/applications/emulators/proton-caller/default.nix index 22bc7054da38..4b5da92d1d61 100644 --- a/pkgs/applications/emulators/proton-caller/default.nix +++ b/pkgs/applications/emulators/proton-caller/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "proton-caller"; - version = "3.1.0"; + version = "3.1.1"; src = fetchFromGitHub { owner = "caverym"; repo = pname; rev = version; - sha256 = "sha256-eyHFKAGx8du4osoGDsMFzVE/TC/ZMPsx6mrWUPDCLJ4="; + sha256 = "sha256-fN/8woLkTFD0aGILwweHhpey3cGQw2NolvpOmdkEEGA="; }; - cargoSha256 = "sha256-/4+r5rvRUqQL8EVIg/22ZytXyE4+SV4UEcXiEw4795U="; + cargoSha256 = "sha256-2zczu9MtsDDbfjbmLXCiPJrxNoNNBN0KAGeN+a53SRg="; meta = with lib; { description = "Run Windows programs with Proton"; From d699da6549a879b237bd0a04db79feb34fa2bc40 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 08:44:13 +0000 Subject: [PATCH 40/82] pscale: 0.124.0 -> 0.125.0 --- pkgs/development/tools/pscale/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/pscale/default.nix b/pkgs/development/tools/pscale/default.nix index d60aa24f9c0a..c68410063aa2 100644 --- a/pkgs/development/tools/pscale/default.nix +++ b/pkgs/development/tools/pscale/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "pscale"; - version = "0.124.0"; + version = "0.125.0"; src = fetchFromGitHub { owner = "planetscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-bNMUUohiMa/fSP1HjrB0UR3kWh+HNqqqpLcraw6UNjs="; + sha256 = "sha256-B765hV5hs5FfpzkRwQY9szu6l8ImDTUoEl77IcgRngA="; }; - vendorSha256 = "sha256-cd4oAS81zUMImCkFsTIcgYJDB2pvMWYRnTPFkznSr+I="; + vendorSha256 = "sha256-YOytSBJDktWIwN1vhD1imIZVTg6t+Lmfg4cFtE3lys4="; ldflags = [ "-s" "-w" From 1148b1ec896b95b16bd54a0f137376896ba2f6c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 08:53:49 +0000 Subject: [PATCH 41/82] pwninit: 3.2.0 -> 3.3.0 --- pkgs/development/tools/misc/pwninit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/pwninit/default.nix b/pkgs/development/tools/misc/pwninit/default.nix index 7d3808f554c0..dcea47449cab 100644 --- a/pkgs/development/tools/misc/pwninit/default.nix +++ b/pkgs/development/tools/misc/pwninit/default.nix @@ -10,20 +10,20 @@ rustPlatform.buildRustPackage rec { pname = "pwninit"; - version = "3.2.0"; + version = "3.3.0"; src = fetchFromGitHub { owner = "io12"; repo = "pwninit"; rev = version; - sha256 = "sha256-XKDYJH2SG3TkwL+FN6rXDap8la07icR0GPFiYcnOHeI="; + sha256 = "sha256-Tskbwavr+MFa8wmwaFGe7o4/6ZpZqczzwOnqFR66mmM="; }; buildInputs = [ openssl xz ] ++ lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ pkg-config ]; doCheck = false; # there are no tests to run - cargoSha256 = "sha256-2HCHiU309hbdwohUKVT3TEfGvOfxQWtEGj7FIS8OS7s="; + cargoSha256 = "sha256-LPypmFeF9NZOX1ogpIqc++Pun7pInKzpxYiGUvSUcso="; meta = { description = "Automate starting binary exploit challenges"; From 512101d325d204fc0d4301396156f45a59abc7c6 Mon Sep 17 00:00:00 2001 From: freezeboy Date: Wed, 14 Dec 2022 10:39:45 +0100 Subject: [PATCH 42/82] regclient: remove broken flag on darwin as it works --- pkgs/development/tools/regclient/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/tools/regclient/default.nix b/pkgs/development/tools/regclient/default.nix index fc98bff40f98..f03b522e70a2 100644 --- a/pkgs/development/tools/regclient/default.nix +++ b/pkgs/development/tools/regclient/default.nix @@ -33,7 +33,6 @@ buildGoModule rec { ); meta = with lib; { - broken = stdenv.isDarwin; description = "Docker and OCI Registry Client in Go and tooling using those libraries"; homepage = "https://github.com/regclient/regclient"; license = licenses.asl20; From 0509b93a6a7b5b451ab3d046e8bfd37b0a1f6c57 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 09:42:55 +0000 Subject: [PATCH 43/82] python310Packages.pglast: 3.17 -> 4.0 --- pkgs/development/python-modules/pglast/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pglast/default.nix b/pkgs/development/python-modules/pglast/default.nix index 8907cb456846..03ff7c6ed240 100644 --- a/pkgs/development/python-modules/pglast/default.nix +++ b/pkgs/development/python-modules/pglast/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pglast"; - version = "3.17"; + version = "4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-C2SWuX6Lt4R62rkNJ9qOoVK50j+TUkhoGUw+seWjTQw="; + hash = "sha256-GmDM+90joF3+IHjUibeNZX54z6jR8rCC+R/fcJ03dHM="; }; propagatedBuildInputs = [ From 26063c2a10597f971ddb53d6ebb9cbea8a1024cf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 09:47:58 +0000 Subject: [PATCH 44/82] python310Packages.phik: 0.12.2 -> 0.12.3 --- pkgs/development/python-modules/phik/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/phik/default.nix b/pkgs/development/python-modules/phik/default.nix index a6dc63b8e3fe..9f2e895ce6cf 100644 --- a/pkgs/development/python-modules/phik/default.nix +++ b/pkgs/development/python-modules/phik/default.nix @@ -20,15 +20,15 @@ buildPythonPackage rec { pname = "phik"; - version = "0.12.2"; + version = "0.12.3"; disabled = !isPy3k; format = "pyproject"; src = fetchFromGitHub { owner = "KaveIO"; repo = "PhiK"; - rev = "v${version}"; - hash = "sha256-nr3804MLIBPFw/PlJ9B8xKFFGI5LDp8m2gLtJB7YcEE="; + rev = "refs/tags/v${version}"; + hash = "sha256-9o3EDhgmne2J1QfzjjNQc1mUcyCzoVrCnWXqjWkiZU0="; }; checkInputs = [ From a96172348e95bd2d643817a1a86a8d03e791723d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 13 Dec 2022 11:17:02 +0100 Subject: [PATCH 45/82] transmission: add package option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Useful when someone might want to upgrade/downgrade easily. Signed-off-by: Jakub Sokołowski --- nixos/modules/services/torrent/transmission.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 9b53f5de143d..cba4afb79ff9 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -174,6 +174,8 @@ in }; }; + package = mkPackageOption pkgs "transmission" {}; + downloadDirPermissions = mkOption { type = with types; nullOr str; default = null; @@ -287,7 +289,7 @@ in install -D -m 600 -o '${cfg.user}' -g '${cfg.group}' /dev/stdin \ '${cfg.home}/${settingsDir}/settings.json' '')]; - ExecStart="${pkgs.transmission}/bin/transmission-daemon -f -g ${cfg.home}/${settingsDir} ${escapeShellArgs cfg.extraFlags}"; + ExecStart="${cfg.package}/bin/transmission-daemon -f -g ${cfg.home}/${settingsDir} ${escapeShellArgs cfg.extraFlags}"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; User = cfg.user; Group = cfg.group; @@ -385,7 +387,7 @@ in }; # It's useful to have transmission in path, e.g. for remote control - environment.systemPackages = [ pkgs.transmission ]; + environment.systemPackages = [ cfg.package ]; users.users = optionalAttrs (cfg.user == "transmission") ({ transmission = { @@ -457,7 +459,7 @@ in ]; security.apparmor.policies."bin.transmission-daemon".profile = '' - include "${pkgs.transmission.apparmor}/bin.transmission-daemon" + include "${cfg.package.apparmor}/bin.transmission-daemon" ''; security.apparmor.includes."local/bin.transmission-daemon" = '' r ${config.systemd.services.transmission.environment.CURL_CA_BUNDLE}, From 9abe2d3b61c29cf5f24bc1361882a57577484ce0 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 14 Dec 2022 01:49:53 -0800 Subject: [PATCH 46/82] ma1sd: 2.4.0 -> 2.5.0 --- pkgs/servers/ma1sd/default.nix | 48 +++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 13 deletions(-) diff --git a/pkgs/servers/ma1sd/default.nix b/pkgs/servers/ma1sd/default.nix index dbdb8a828e39..3c8ddc799e81 100644 --- a/pkgs/servers/ma1sd/default.nix +++ b/pkgs/servers/ma1sd/default.nix @@ -1,25 +1,41 @@ -{ lib, stdenv, fetchFromGitHub, jre, git, gradle_6, perl, makeWrapper }: +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, jre +, git +, gradle +, perl +, makeWrapper +}: let pname = "ma1sd"; - version = "2.4.0"; - rev = version; + version = "2.5.0"; src = fetchFromGitHub { - inherit rev; owner = "ma1uta"; repo = "ma1sd"; - hash = "sha256-8UnhrGa8KKmMAAkzUXztMkxgYOX8MU1ioXuEStGi4Vc="; + rev = version; + hash = "sha256-K3kaujAhWsRQuTMW3SZOnE7Rmu8+tDXaxpLrb45OI4A="; }; + patches = [ + # https://github.com/ma1uta/ma1sd/pull/122 + (fetchpatch { + name = "java-16-compatibility.patch"; + url = "https://github.com/ma1uta/ma1sd/commit/be2e2e97ce21741ca6a2e29a06f5748f45dd414e.patch"; + hash = "sha256-dvCeK/0InNJtUG9CWrsg7BE0FGWtXuHo3TU0iFFUmIk="; + }) + ]; deps = stdenv.mkDerivation { pname = "${pname}-deps"; - inherit src version; - nativeBuildInputs = [ gradle_6 perl git ]; + inherit src version patches; + nativeBuildInputs = [ gradle perl git ]; buildPhase = '' - export MA1SD_BUILD_VERSION=${rev} + export MA1SD_BUILD_VERSION=${version} export GRADLE_USER_HOME=$(mktemp -d); gradle --no-daemon build -x test ''; @@ -35,21 +51,26 @@ let outputHashAlgo = "sha256"; outputHashMode = "recursive"; - outputHash = "0x2wmmhjgnb6p72d3kvnv2vg52l0c4151rs4jrazs9rvxjfc88dr"; + outputHash = "sha256-Px8FLnREBC6pADcEPn/GfhrtGnmZqjXIX7l1xPjiCvQ="; }; in stdenv.mkDerivation { - inherit pname src version; - nativeBuildInputs = [ gradle_6 perl makeWrapper ]; + inherit pname src version patches; + nativeBuildInputs = [ gradle perl makeWrapper ]; buildInputs = [ jre ]; + postPatch = '' + substituteInPlace build.gradle \ + --replace 'gradlePluginPortal()' "" \ + --replace 'mavenCentral()' "mavenLocal(); maven { url '${deps}' }" + ''; + buildPhase = '' runHook preBuild - export MA1SD_BUILD_VERSION=${rev} + export MA1SD_BUILD_VERSION=${version} export GRADLE_USER_HOME=$(mktemp -d) - sed -ie "s#jcenter()#mavenLocal(); maven { url '${deps}' }#g" build.gradle gradle --offline --no-daemon build -x test runHook postBuild ''; @@ -64,6 +85,7 @@ stdenv.mkDerivation { meta = with lib; { description = "a federated matrix identity server; fork of mxisd"; homepage = "https://github.com/ma1uta/ma1sd"; + changelog = "https://github.com/ma1uta/ma1sd/releases/tag/${version}"; sourceProvenance = with sourceTypes; [ fromSource binaryBytecode # deps From ad2ee81cad2d166f9c39d95223cdf974e99fca69 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Wed, 14 Dec 2022 11:08:33 +0100 Subject: [PATCH 47/82] python3Packages.add-trailing-comma: 2.3.0 -> 2.4.0 Signed-off-by: Florian Brandes --- .../development/python-modules/add-trailing-comma/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/add-trailing-comma/default.nix b/pkgs/development/python-modules/add-trailing-comma/default.nix index b6cfbb46d701..f371ffd7943a 100644 --- a/pkgs/development/python-modules/add-trailing-comma/default.nix +++ b/pkgs/development/python-modules/add-trailing-comma/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "add-trailing-comma"; - version = "2.3.0"; + version = "2.4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "asottile"; repo = pname; rev = "v${version}"; - sha256 = "sha256-NEXPIkPeH6ZAm1uzqc8iRWnlLbhKmvGQGGraLu989sw="; + sha256 = "sha256-/dA3OwBBMjykSYaIbvhJZj9Z8/0+mfL5pW4GqgMgops="; }; propagatedBuildInputs = [ From fed6d1aaba36bea69e98810c615aed032ecdec32 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Wed, 14 Dec 2022 10:42:39 +0000 Subject: [PATCH 48/82] acorn: init at 0.4.2 Fixes #204154 --- .../networking/cluster/acorn/default.nix | 33 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/networking/cluster/acorn/default.nix diff --git a/pkgs/applications/networking/cluster/acorn/default.nix b/pkgs/applications/networking/cluster/acorn/default.nix new file mode 100644 index 000000000000..ce0f07f9ec10 --- /dev/null +++ b/pkgs/applications/networking/cluster/acorn/default.nix @@ -0,0 +1,33 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "acorn"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "acorn-io"; + repo = pname; + rev = "v${version}"; + hash = "sha256-IzjCYVQ9RhuAmgloue421F43ARviaHW7mTkLhLW/VPM="; + }; + + vendorHash = "sha256-z2ya/CgH9AcxHe73Yt9XWbJqH4OrZWt0bRDsna5hYeo="; + + ldflags = [ + "-s" + "-w" + "-X github.com/acorn-io/acorn/pkg/version.Tag=v${version}" + "-X github.com/acorn-io/acorn/pkg/config.AcornDNSEndpointDefault=https://alpha-dns.acrn.io/v1" + ]; + + # integration tests require network and kubernetes master + doCheck = false; + + meta = with lib; { + homepage = "https://docs.acorn.io"; + changelog = "https://github.com/acorn-io/${pname}/releases/tag/v${version}"; + description = "A simple application deployment framework for Kubernetes"; + license = licenses.asl20; + maintainers = with maintainers; [ urandom ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e35f80aa819c..44642e7871fd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27411,6 +27411,8 @@ with pkgs; requests requests-toolbelt setuptools sqlalchemy fusepy; }; + acorn = callPackage ../applications/networking/cluster/acorn {}; + adobe-reader = pkgsi686Linux.callPackage ../applications/misc/adobe-reader { }; adl = callPackage ../applications/video/adl { }; From 4bdf1d6982a54c6eb93197841c6fd6c5243b37ef Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Wed, 14 Dec 2022 10:51:14 +0000 Subject: [PATCH 49/82] imaginary: init at 1.2.4 Fixes #204482 --- pkgs/servers/imaginary/default.nix | 33 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/servers/imaginary/default.nix diff --git a/pkgs/servers/imaginary/default.nix b/pkgs/servers/imaginary/default.nix new file mode 100644 index 000000000000..cfab6e2e9030 --- /dev/null +++ b/pkgs/servers/imaginary/default.nix @@ -0,0 +1,33 @@ +{ lib, buildGoModule, fetchFromGitHub, pkg-config, vips }: + +buildGoModule rec { + pname = "imaginary"; + version = "1.2.4"; + + src = fetchFromGitHub { + owner = "h2non"; + repo = pname; + rev = "v${version}"; + hash = "sha256-oEkFoZMaNNJPMisqpIneeLK/sA23gaTWJ4nqtDHkrwA="; + }; + + vendorHash = "sha256-BluY6Fz4yAKJ/A9aFuPPsgQN9N/5yd8g8rDfIZeYz5U="; + + buildInputs = [ vips ]; + + nativeBuildInputs = [ pkg-config ]; + + ldflags = [ + "-s" + "-w" + "-X main.Version=${version}" + ]; + + meta = with lib; { + homepage = "https://fly.io/docs/app-guides/run-a-global-image-service"; + changelog = "https://github.com/h2non/${pname}/releases/tag/v${version}"; + description = "Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing"; + license = licenses.mit; + maintainers = with maintainers; [ urandom ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e35f80aa819c..2155f6b37420 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23928,6 +23928,8 @@ with pkgs; inspircdMinimal = inspircd.override { extraModules = []; }; + imaginary = callPackage ../servers/imaginary {}; + imgproxy = callPackage ../servers/imgproxy { }; irccat = callPackage ../servers/irc/irccat { }; From a65b7972dde1eb7e46ace60fb983f0a2f0b1bb4c Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 14 Dec 2022 13:12:21 +0100 Subject: [PATCH 50/82] cpp-jwt: init at 1.4 --- .../development/libraries/cpp-jwt/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/libraries/cpp-jwt/default.nix diff --git a/pkgs/development/libraries/cpp-jwt/default.nix b/pkgs/development/libraries/cpp-jwt/default.nix new file mode 100644 index 000000000000..c2c24238b150 --- /dev/null +++ b/pkgs/development/libraries/cpp-jwt/default.nix @@ -0,0 +1,31 @@ +{ lib, stdenv, fetchFromGitHub, cmake, openssl, gtest, nlohmann_json }: + +stdenv.mkDerivation rec { + pname = "cpp-jwt"; + version = "1.4"; + + src = fetchFromGitHub { + owner = "arun11299"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-5hVsFanTCT/uLLXrnb2kMvmL6qs9RXVkvxdWaT6m4mk="; + }; + + cmakeFlags = [ + "-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=OFF" + "-DCPP_JWT_BUILD_EXAMPLES=OFF" + ]; + + nativeBuildInputs = [ cmake gtest ]; + + buildInputs = [ openssl nlohmann_json ]; + + doCheck = true; + + meta = { + description = "JSON Web Token library for C++"; + homepage = "https://github.com/arun11299/cpp-jwt"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fpletz ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f323a3ed1a9b..cdaf86c67bb9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18766,6 +18766,8 @@ with pkgs; boost = boost169; # fatal error: 'boost/asio/stream_socket_service.hpp' file not found }; + cpp-jwt = callPackage ../development/libraries/cpp-jwt { }; + ubus = callPackage ../development/libraries/ubus { }; uci = callPackage ../development/libraries/uci { }; From dad3f747532dfcd982620a6f1f2a802134fbebdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Tue, 13 Dec 2022 11:47:16 +0100 Subject: [PATCH 51/82] python3Packages.wandb: fix build The logging test of `wandb` failed, because another package (`PythonGit`) clutters the logs about not being able to confirm whether we are running in a Cygwin environment. So, simply disable the test. --- pkgs/development/python-modules/wandb/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index ad1ac6da5dd3..b649bd16880a 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -114,6 +114,7 @@ buildPythonPackage rec { "tests/unit_tests_old/test_footer.py" "tests/unit_tests_old/test_internal_api.py" "tests/unit_tests_old/test_keras.py" + "tests/unit_tests_old/test_logging.py" "tests/unit_tests_old/test_metric_internal.py" "tests/unit_tests_old/test_public_api.py" "tests/unit_tests_old/test_report_api.py" From 7131d1832c0bcf3d9a20f1200105fe6519b714e9 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 14 Dec 2022 14:25:10 +0100 Subject: [PATCH 52/82] gnome.mutter: Drop unneeded patch This is not necessary since the 43.2 bump: https://github.com/NixOS/nixpkgs/commit/3933114462c6a979ce62acf3f7e2d20c3bc52f29 --- pkgs/desktops/gnome/core/mutter/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix index 48320f7100b6..8cec010cf53c 100644 --- a/pkgs/desktops/gnome/core/mutter/default.nix +++ b/pkgs/desktops/gnome/core/mutter/default.nix @@ -65,16 +65,6 @@ let self = stdenv.mkDerivation rec { url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch"; sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU="; }) - - # Revert clutter optimization causing issues on X11 - # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2667 - # Will be replaced with a proper fix in 43.2 - # https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6054 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/7e7a639cc5132cf3355e861235f325540fe56548.patch"; - sha256 = "NYoKCRh5o1Q15c11a79Hk5tGKq/jOa+e6GpgBjPEepo="; - revert = true; - }) ]; mesonFlags = [ From 6a108b2f761dd5cc481852acb172804db20a56f8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 14 Dec 2022 14:30:20 +0100 Subject: [PATCH 53/82] gnome.mutter: use finalAttrs pattern This will ensure the references to self get updated when using overrideAttrs. --- pkgs/desktops/gnome/core/mutter/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix index 8cec010cf53c..ed7bb388d85e 100644 --- a/pkgs/desktops/gnome/core/mutter/default.nix +++ b/pkgs/desktops/gnome/core/mutter/default.nix @@ -47,14 +47,14 @@ , wayland-protocols }: -let self = stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "mutter"; version = "43.2"; outputs = [ "out" "dev" "man" "devdoc" ]; src = fetchurl { - url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz"; + url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz"; sha256 = "/S63B63DM8wnevhoXlzzkTXhxNeYofnQXojkU9w+u4Q="; }; @@ -150,12 +150,12 @@ let self = stdenv.mkDerivation rec { separateDebugInfo = true; passthru = { - libdir = "${self}/lib/mutter-11"; + libdir = "${finalAttrs.finalPackage}/lib/mutter-11"; tests = { libdirExists = runCommand "mutter-libdir-exists" {} '' - if [[ ! -d ${self.libdir} ]]; then - echo "passthru.libdir should contain a directory, “${self.libdir}” is not one." + if [[ ! -d ${finalAttrs.finalPackage.libdir} ]]; then + echo "passthru.libdir should contain a directory, “${finalAttrs.finalPackage.libdir}” is not one." exit 1 fi touch $out @@ -163,8 +163,8 @@ let self = stdenv.mkDerivation rec { }; updateScript = gnome.updateScript { - packageName = pname; - attrPath = "gnome.${pname}"; + packageName = "mutter"; + attrPath = "gnome.mutter"; }; }; @@ -175,5 +175,4 @@ let self = stdenv.mkDerivation rec { maintainers = teams.gnome.members; platforms = platforms.linux; }; -}; -in self +}) From 897fa059a14d3f58dda09dab1db3f913c74fd936 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 12 Dec 2022 23:22:55 +0000 Subject: [PATCH 54/82] polkit: only fix mocklibc when doing tests I got this error when setting doCheck=false: chmod: cannot access 'subprojects/mocklibc-1.0/bin/mocklibc': No such file or directory The chmod only happens when not building under pkgsMusl, but it doesn't seem to be related to musl. Instead, it seems that mocklibc only gets unpacked when -Dtests=true? This would explain why under musl the same error would happen (since under musl, tests are disabled). --- pkgs/development/libraries/polkit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 32571d9e9abc..645a13272545 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -152,7 +152,7 @@ stdenv.mkDerivation rec { --replace /bin/false ${coreutils}/bin/false ''; - postConfigure = lib.optionalString (!stdenv.hostPlatform.isMusl) '' + postConfigure = lib.optionalString doCheck '' # Unpacked by meson chmod +x subprojects/mocklibc-1.0/bin/mocklibc patchShebangs subprojects/mocklibc-1.0/bin/mocklibc From 428382fe478f9742c69ad3da37c901e41b0f37bd Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 14 Dec 2022 22:14:36 +0800 Subject: [PATCH 55/82] rtl8821cu: 2022-05-07 -> 2022-12-07 --- pkgs/os-specific/linux/rtl8821cu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/rtl8821cu/default.nix b/pkgs/os-specific/linux/rtl8821cu/default.nix index 91d8a8ccf962..edc2d5bc44c0 100644 --- a/pkgs/os-specific/linux/rtl8821cu/default.nix +++ b/pkgs/os-specific/linux/rtl8821cu/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "rtl8821cu"; - version = "${kernel.version}-unstable-2022-05-07"; + version = "${kernel.version}-unstable-2022-12-07"; src = fetchFromGitHub { owner = "morrownr"; repo = "8821cu-20210118"; - rev = "14aac4269afe5d21d1cc0032bdc1426128f83734"; - hash = "sha256-TLakNRhHvYAbK0slKsFgSjqJdxVStzZhi1EEajmr7hg="; + rev = "7b8c45a270454f05e2dbf3beeb4afcf817db65da"; + hash = "sha256-Dg+At0iHvi4pl8umhQyml1bODhkeK8YWYpEckqqzNcQ="; }; hardeningDisable = [ "pic" ]; From 93abeba9f150f55bda13696969dd8e8b59f029e3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 14:35:11 +0000 Subject: [PATCH 56/82] rust-analyzer-unwrapped: 2022-12-05 -> 2022-12-12 --- pkgs/development/tools/rust/rust-analyzer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix index 8021ab2e6319..0cd55e1f820b 100644 --- a/pkgs/development/tools/rust/rust-analyzer/default.nix +++ b/pkgs/development/tools/rust/rust-analyzer/default.nix @@ -12,14 +12,14 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2022-12-05"; - cargoSha256 = "sha256-lD52qI6LX5ORBWknCC4gAWQG8FPlNhOj6xQo1eXpO30="; + version = "2022-12-12"; + cargoSha256 = "sha256-YTakd4qRwXUoxzFWXCj8l9nA3wjJtfVmKbhX9XlaEbE="; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; rev = version; - sha256 = "sha256-2Syd2jVpY0UIfsYlmzvWICZTDVRG4UchcbRlNhuJSpM="; + sha256 = "sha256-QLKX/JhK+jRE61teK+Cr4f2KuAzgYuawStxOgJymqRg="; }; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; From 21192f2cbadf5956e8ba6a7c2c2f476ecc113215 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 14:54:24 +0000 Subject: [PATCH 57/82] sbctl: 0.9 -> 0.10 --- pkgs/tools/security/sbctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/sbctl/default.nix b/pkgs/tools/security/sbctl/default.nix index 7bc19b95942b..c84e1af5bb42 100644 --- a/pkgs/tools/security/sbctl/default.nix +++ b/pkgs/tools/security/sbctl/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "sbctl"; - version = "0.9"; + version = "0.10"; src = fetchFromGitHub { owner = "Foxboron"; repo = pname; rev = version; - hash = "sha256-mntb3EMB+QTnFU476Dq6T6rAAv0JeYbvWJ/pbL3a4RE="; + hash = "sha256-rjqfWOJRG+9GbNNeRafkNx7Khm/vtGeMlfKkz0qFXJY="; }; - vendorSha256 = "sha256-k6AIYigjxbitH0hH+vwRt2urhNYTToIF0eSsIWbzslI="; + vendorSha256 = "sha256-3wT/pWKIdEpkLUpOmpKhLA9AyO36LqZBAwamzOUGhFY="; ldflags = [ "-s" "-w" "-X github.com/foxboron/sbctl.DatabasePath=${databasePath}" ]; From a51b4764091db3f56d5ac143d4401224c019f695 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 15:26:38 +0000 Subject: [PATCH 58/82] shopify-themekit: 1.3.0 -> 1.3.1 --- pkgs/development/web/shopify-themekit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/shopify-themekit/default.nix b/pkgs/development/web/shopify-themekit/default.nix index 3d7fbbda4b18..7c9007ef8e83 100644 --- a/pkgs/development/web/shopify-themekit/default.nix +++ b/pkgs/development/web/shopify-themekit/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "shopify-themekit"; - version = "1.3.0"; + version = "1.3.1"; src = fetchFromGitHub { owner = "Shopify"; repo = "themekit"; rev = "v${version}"; - sha256 = "sha256-7uUKyaLzeiioW0TsEu82lJU0DoM1suwVcmacY1X0SEM="; + sha256 = "sha256-HtgA+R6THZ49WYtGlHS1EzekjuuGgPe657Y6ewraD4o="; }; vendorSha256 = "sha256-8QpkYj0fQb4plzvk6yCrZho8rq9VBiLft/EO3cczciI="; From 9dd65f0e33ac8684933162093df4e6e19f43da0f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 16:04:19 +0000 Subject: [PATCH 59/82] sonobuoy: 0.56.12 -> 0.56.13 --- pkgs/applications/networking/cluster/sonobuoy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/sonobuoy/default.nix b/pkgs/applications/networking/cluster/sonobuoy/default.nix index bbea935af9a3..ae7753d758a8 100644 --- a/pkgs/applications/networking/cluster/sonobuoy/default.nix +++ b/pkgs/applications/networking/cluster/sonobuoy/default.nix @@ -5,7 +5,7 @@ let rev = "5b97033257d0276c7b0d1b20412667a69d79261e"; in buildGoModule rec { pname = "sonobuoy"; - version = "0.56.12"; # Do not forget to update `rev` above + version = "0.56.13"; # Do not forget to update `rev` above ldflags = let t = "github.com/vmware-tanzu/sonobuoy"; @@ -20,7 +20,7 @@ buildGoModule rec { owner = "vmware-tanzu"; repo = "sonobuoy"; rev = "v${version}"; - sha256 = "sha256-i+fg5tPkpnNl1Oef1KPmhHC+5t4y9vvfRpw9DHbsf4w="; + sha256 = "sha256-T0G0S8bj0QO1/eC/XMwiJ0ZcJC6KYB6gmj/bq2yYgAE="; }; vendorSha256 = "sha256-SRR4TmNHbMOOMv6AXv/Qpn2KUQh+ZsFlzc5DpdyPLEU="; From 6ebb38b66d312d6d2d19aea419900ba61b2a74ec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Dec 2022 17:30:04 +0100 Subject: [PATCH 60/82] python310Packages.aioshelly: 5.1.1 -> 5.2.0 Changelog: https://github.com/home-assistant-libs/aioshelly/releases/tag/5.2.0 --- pkgs/development/python-modules/aioshelly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index 0a779bd7478a..c1a611505aea 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "aioshelly"; - version = "5.1.1"; + version = "5.2.0"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-6HUykGN0zx97K4372dU1RPncajJt2n20zp2FhrJG1sM="; + hash = "sha256-pa7ijfT/VbXNxwf9RITWxhUVUbimuBEjlU3xnDm3Zzk="; }; propagatedBuildInputs = [ From 7fb6e1e05459f1261717197d0d68402776510578 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Dec 2022 17:34:24 +0100 Subject: [PATCH 61/82] qovery-cli: add changelog to meta --- pkgs/tools/admin/qovery-cli/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index 36ea258cc3c9..6009e13e6744 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -1,7 +1,7 @@ -{ buildGoModule +{ lib +, buildGoModule , fetchFromGitHub , installShellFiles -, lib , qovery-cli , testers }: @@ -17,7 +17,7 @@ buildGoModule rec { hash = "sha256-ROUMFpAgUmcKt7QG+Lfd3OipJQK8DLezvCxvev1yNlo="; }; - vendorSha256 = "sha256-4TY7/prMbvw5zVPJRoMLg7Omrxvh1HPGsdz1wqPn4uU="; + vendorHash = "sha256-4TY7/prMbvw5zVPJRoMLg7Omrxvh1HPGsdz1wqPn4uU="; nativeBuildInputs = [ installShellFiles ]; @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "Qovery Command Line Interface"; homepage = "https://github.com/Qovery/qovery-cli"; + changelog = "https://github.com/Qovery/qovery-cli/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; From 3627fc707fb6a07a75ad62166b7004ff987c347e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Dec 2022 17:35:58 +0100 Subject: [PATCH 62/82] qovery-cli: 0.46.4 -> 0.46.7 Changelog: https://github.com/Qovery/qovery-cli/releases/tag/v0.46.7 --- pkgs/tools/admin/qovery-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index 6009e13e6744..a9a13e969f17 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "qovery-cli"; - version = "0.46.4"; + version = "0.46.7"; src = fetchFromGitHub { owner = "Qovery"; repo = pname; rev = "v${version}"; - hash = "sha256-ROUMFpAgUmcKt7QG+Lfd3OipJQK8DLezvCxvev1yNlo="; + hash = "sha256-cMoT0vbWTcuMI7MMDGQ8+G7FqTuaJl4+rp22Uy4e83g="; }; vendorHash = "sha256-4TY7/prMbvw5zVPJRoMLg7Omrxvh1HPGsdz1wqPn4uU="; From 5046b3bd1a23a1553a98412603bf86bdaaa56b09 Mon Sep 17 00:00:00 2001 From: squalus Date: Wed, 14 Dec 2022 09:34:30 -0800 Subject: [PATCH 63/82] librewolf: 107.0.1-2 -> 108.0-1 --- .../networking/browsers/librewolf/src.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/librewolf/src.json b/pkgs/applications/networking/browsers/librewolf/src.json index 8cc32b8e3b31..4070556cdce6 100644 --- a/pkgs/applications/networking/browsers/librewolf/src.json +++ b/pkgs/applications/networking/browsers/librewolf/src.json @@ -1,11 +1,11 @@ { - "packageVersion": "107.0.1-2", + "packageVersion": "108.0-1", "source": { - "rev": "107.0.1-2", - "sha256": "1s009nbsqihmhnaa20j9g1qyifl3kgsbpgxc8ms5ahx3j97hbpk5" + "rev": "108.0-1", + "sha256": "1gfqxlcgf7qxgisbj565ndrfhkk68py2jpwrx7k2j7zpszkb2f4m" }, "firefox": { - "version": "107.0.1", - "sha512": "e57e4bfcecbcc6dbe73f23577a14a2998c8c3f3d602f85ea06f99e0974e78481b9f7bdb019cb4e9733e59f56be1407edd64a2adb7b284bb4a87b46b1e2295dea" + "version": "108.0", + "sha512": "fa800f62cca395a51b9a04373a27be48fc3860208e34ecf74d908127638d1eb8c41cf9898be6896777d408127d5c4b7104d9ee89c97da923b2dc6ea32186187e" } } From 3b9ab25c14c14fec8ad6a43d60eda300c15b1d03 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Wed, 14 Dec 2022 18:57:59 +0100 Subject: [PATCH 64/82] bottles: 2022.11.14 -> 2022.12.14 --- pkgs/applications/misc/bottles/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/bottles/default.nix b/pkgs/applications/misc/bottles/default.nix index 05a49db76ad3..2483bd3471d0 100644 --- a/pkgs/applications/misc/bottles/default.nix +++ b/pkgs/applications/misc/bottles/default.nix @@ -28,17 +28,18 @@ }: python3Packages.buildPythonApplication rec { pname = "bottles-unwrapped"; - version = "2022.11.14"; + version = "2022.12.14"; src = fetchFromGitHub { owner = "bottlesdevs"; repo = "bottles"; rev = version; - sha256 = "sha256-bigrJtqx9iZURYojwxlGe7xSGWS13wSaGcrTTROP9J8="; + sha256 = "sha256-G2FQy+mea/+2RjK/WjLeX+7TP+HU6fCUFYuprFGKEyw="; }; patches = [ ./vulkan_icd.patch ]; + # https://github.com/bottlesdevs/Bottles/wiki/Packaging nativeBuildInputs = [ blueprint-compiler meson @@ -58,6 +59,7 @@ python3Packages.buildPythonApplication rec { ]; propagatedBuildInputs = with python3Packages; [ + pycurl pyyaml requests pygobject3 From e97506eb94e402fe8ada4729d1b77d3f6bf17a85 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 18:09:22 +0000 Subject: [PATCH 65/82] tar2ext4: 0.9.5 -> 0.9.6 --- pkgs/tools/filesystems/tar2ext4/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/tar2ext4/default.nix b/pkgs/tools/filesystems/tar2ext4/default.nix index daa237437658..e92f82ad27a5 100644 --- a/pkgs/tools/filesystems/tar2ext4/default.nix +++ b/pkgs/tools/filesystems/tar2ext4/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "tar2ext4"; - version = "0.9.5"; + version = "0.9.6"; src = fetchFromGitHub { owner = "microsoft"; repo = "hcsshim"; rev = "v${version}"; - sha256 = "sha256-p64BQlxwXU9+6MbT2Aw9EcW82t2i3E6mKfOWoEEFf9g="; + sha256 = "sha256-sBcagAFjmnLfPFYwOhWIt6bnEXyOKYobvMI2rQf4S5A="; }; sourceRoot = "source/cmd/tar2ext4"; From 480e4ebdaa4a2abe3a1d6a0171984693bda18d1e Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 14 Dec 2022 13:34:37 -0500 Subject: [PATCH 66/82] kubernetes-helm: 3.10.2 -> 3.10.3 Diff: https://github.com/helm/helm/compare/v3.10.2...v3.10.3 --- pkgs/applications/networking/cluster/helm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix index bfc05e38a679..609113c72211 100644 --- a/pkgs/applications/networking/cluster/helm/default.nix +++ b/pkgs/applications/networking/cluster/helm/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "kubernetes-helm"; - version = "3.10.2"; + version = "3.10.3"; src = fetchFromGitHub { owner = "helm"; repo = "helm"; rev = "v${version}"; - sha256 = "sha256-ly48zSsi+dV4te68LX8NtaJ9eLC46sSakExR2a+3b5U="; + sha256 = "sha256-SUPa6bbops2rrzzzYM5fH0l4DT7/rIkOqc396lTesao="; }; vendorSha256 = "sha256-vyHT/N5lat/vqM2jK4Q+jJOtZpS52YCYGcJqfa5e0KM="; From 4a81778866439f47fa66bbe81142a47513a443b4 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 14 Dec 2022 13:37:23 -0500 Subject: [PATCH 67/82] consul: 1.14.2 -> 1.14.3 Diff: https://github.com/hashicorp/consul/compare/v1.14.2...v1.14.3 --- pkgs/servers/consul/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/consul/default.nix b/pkgs/servers/consul/default.nix index 1f454f9edf14..dab2d0ba45ae 100644 --- a/pkgs/servers/consul/default.nix +++ b/pkgs/servers/consul/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "consul"; - version = "1.14.2"; + version = "1.14.3"; rev = "v${version}"; # Note: Currently only release tags are supported, because they have the Consul UI @@ -17,7 +17,7 @@ buildGoModule rec { owner = "hashicorp"; repo = pname; inherit rev; - sha256 = "sha256-fSEQZ+F3b8l1F/80A4hDPHE7kZMPARQXt/PJg/m4Srw="; + sha256 = "sha256-zTsFLBd+7G+8HT8EGLSQaMhFfh/7s1tfu2gZtIMbkDs="; }; passthru.tests.consul = nixosTests.consul; @@ -26,7 +26,7 @@ buildGoModule rec { # has a split module structure in one repo subPackages = ["." "connect/certgen"]; - vendorSha256 = "sha256-4tidE6LKYhi8ilM08Rn3F5snhxebdgOOeSrIIkXZ384="; + vendorSha256 = "sha256-tekrveDmUq6qYafRMm7knxp9+FevaDbu4DZusO6KDtA="; doCheck = false; From fc78698ddd21e1b91acec4fb17aeda01737ba40e Mon Sep 17 00:00:00 2001 From: Sebastian Neubauer Date: Wed, 14 Dec 2022 19:37:24 +0100 Subject: [PATCH 68/82] rgp: 1.13.1 -> 1.14 --- pkgs/development/tools/rgp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rgp/default.nix b/pkgs/development/tools/rgp/default.nix index ab2accb3012e..2e5400c1cdce 100644 --- a/pkgs/development/tools/rgp/default.nix +++ b/pkgs/development/tools/rgp/default.nix @@ -19,15 +19,15 @@ }: let - buildNum = "2022-08-01-115"; + buildNum = "2022-12-12-1037"; in stdenv.mkDerivation rec { pname = "rgp"; - version = "1.13.1"; + version = "1.14"; src = fetchurl { url = "https://gpuopen.com/download/radeon-developer-tool-suite/RadeonDeveloperToolSuite-${buildNum}.tgz"; - hash = "sha256-e88vk+ZtDPB/1HrDKXbzkDaMESNE+qIW7ERwrqe+ZN8="; + hash = "sha256-T13SOy+77lLxmlcczXEFZAnyx9Lm52G/WiCcC1Py4HA="; }; nativeBuildInputs = [ makeWrapper autoPatchelfHook ]; From 4938e72add339f76d795284cb5a3aae85d02ee53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 14 Dec 2022 19:39:41 +0100 Subject: [PATCH 69/82] gopls: 0.10.1 -> 0.11.0 Diff: https://github.com/golang/tools/compare/gopls/v0.10.1...gopls%2Fv0.11.0 --- pkgs/development/tools/gopls/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gopls/default.nix b/pkgs/development/tools/gopls/default.nix index 9a44432837ea..ca0a0b5638fe 100644 --- a/pkgs/development/tools/gopls/default.nix +++ b/pkgs/development/tools/gopls/default.nix @@ -2,17 +2,17 @@ buildGoModule rec { pname = "gopls"; - version = "0.10.1"; + version = "0.11.0"; src = fetchFromGitHub { owner = "golang"; repo = "tools"; rev = "gopls/v${version}"; - sha256 = "sha256-9WDqd8Xgiov/OFAFl5yZmon4o3grbOxzZs3wnNu7pbg="; + sha256 = "sha256-49TDAxFx4kSwCn1YGQgMn3xLG3RHCCttMzqUfm4OPtE="; }; modRoot = "gopls"; - vendorSha256 = "sha256-EZ/XPta2vQfemywoC2kbTamJ43K4tr4I7mwVzrTbRkA="; + vendorSha256 = "sha256-1/stMvxsCs2OPMN7KGbZ61s2qGT5Yg7kHVHsWi6ekcY="; doCheck = false; From a7f7d5d637cdd1daa7d4062debb87fcfa8b2e4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Dec 2022 21:02:29 -0800 Subject: [PATCH 70/82] rapidfuzz-cpp: 1.10.1 -> 1.10.4 https://github.com/maxbachmann/rapidfuzz-cpp/blob/v1.10.4/CHANGELOG.md --- .../libraries/rapidfuzz-cpp/default.nix | 8 +-- .../dont-fetch-project-options.patch | 58 ------------------- 2 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 pkgs/development/libraries/rapidfuzz-cpp/dont-fetch-project-options.patch diff --git a/pkgs/development/libraries/rapidfuzz-cpp/default.nix b/pkgs/development/libraries/rapidfuzz-cpp/default.nix index 9adfa1a9eb83..0b2c90f1200e 100644 --- a/pkgs/development/libraries/rapidfuzz-cpp/default.nix +++ b/pkgs/development/libraries/rapidfuzz-cpp/default.nix @@ -7,19 +7,15 @@ stdenv.mkDerivation rec { pname = "rapidfuzz-cpp"; - version = "1.10.1"; + version = "1.10.4"; src = fetchFromGitHub { owner = "maxbachmann"; repo = "rapidfuzz-cpp"; rev = "v${version}"; - hash = "sha256-c9ESzsDcoUw5XAEZDHdG8jazjI5Oyqic1gaT0qGQsbI="; + hash = "sha256-I7MdeLs+J5a57ypgUJIW0/pSFPzK4nZA4ZrVRdKX7J4="; }; - patches = [ - ./dont-fetch-project-options.patch - ]; - nativeBuildInputs = [ cmake ]; diff --git a/pkgs/development/libraries/rapidfuzz-cpp/dont-fetch-project-options.patch b/pkgs/development/libraries/rapidfuzz-cpp/dont-fetch-project-options.patch deleted file mode 100644 index ab88c530d400..000000000000 --- a/pkgs/development/libraries/rapidfuzz-cpp/dont-fetch-project-options.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index 5ba4464..ad72319 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -12,39 +12,10 @@ else() - FetchContent_MakeAvailable(Catch2) - endif() - --# include aminya & jason turner's C++ best practices recommended cmake project utilities --include(FetchContent) --FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.20.0.zip) --FetchContent_MakeAvailable(_project_options) --include(${_project_options_SOURCE_DIR}/Index.cmake) -- --project_options( -- # ENABLE_CACHE -- # ENABLE_CONAN -- WARNINGS_AS_ERRORS -- # ENABLE_CPPCHECK -- # ENABLE_CLANG_TIDY -- # ENABLE_INCLUDE_WHAT_YOU_USE -- # ENABLE_COVERAGE -- # ENABLE_PCH -- # PCH_HEADERS -- # ENABLE_DOXYGEN -- # ENABLE_IPO -- # ENABLE_USER_LINKER -- # ENABLE_BUILD_WITH_TIME_TRACE -- # ENABLE_UNITY -- # ENABLE_SANITIZER_ADDRESS -- # ENABLE_SANITIZER_LEAK -- # ENABLE_SANITIZER_UNDEFINED_BEHAVIOR -- # ENABLE_SANITIZER_THREAD -- # ENABLE_SANITIZER_MEMORY -- # CLANG_WARNINGS "-Weverything" --) -- - function(rapidfuzz_add_test test) - add_executable(test_${test} tests-${test}.cpp) - target_link_libraries(test_${test} ${PROJECT_NAME}) -- target_link_libraries(test_${test} Catch2::Catch2WithMain project_warnings) -+ target_link_libraries(test_${test} Catch2::Catch2WithMain) - add_test(NAME ${test} COMMAND test_${test}) - endfunction() - -diff --git a/test/distance/CMakeLists.txt b/test/distance/CMakeLists.txt -index 2a70054..7a43c88 100644 ---- a/test/distance/CMakeLists.txt -+++ b/test/distance/CMakeLists.txt -@@ -1,7 +1,7 @@ - function(rapidfuzz_add_test test) - add_executable(test_${test} tests-${test}.cpp) - target_link_libraries(test_${test} ${PROJECT_NAME}) -- target_link_libraries(test_${test} Catch2::Catch2WithMain project_warnings) -+ target_link_libraries(test_${test} Catch2::Catch2WithMain) - add_test(NAME ${test} COMMAND test_${test}) - endfunction() - From a981c15a0e19957aa878335d29bcac67fa318c85 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 14 Dec 2022 20:14:35 +0100 Subject: [PATCH 71/82] python3Packages.aioesphomeapi: 13.0.1 -> 13.0.2 Diff: https://github.com/esphome/aioesphomeapi/compare/refs/tags/v13.0.1...v13.0.2 Changelog: https://github.com/esphome/aioesphomeapi/releases/tag/v13.0.2 --- pkgs/development/python-modules/aioesphomeapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index a1e9aefbc447..f55f8df8b1f5 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aioesphomeapi"; - version = "13.0.1"; + version = "13.0.2"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "esphome"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-33iaM5+5OV9TAk3SAZWzJfwQbeDSPQiVLBPAAOyyFm0="; + hash = "sha256-z1QFAKvkJuOH2utYertORca5PpW43VS3YB2mhjBsh+A="; }; postPatch = '' From 351bd3014791e221ad58e04d9499e202520c44d1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 14 Dec 2022 20:36:13 +0100 Subject: [PATCH 72/82] home-assistant: 2022.12.5 -> 2022.12.6 https://github.com/home-assistant/core/releases/tag/2022.12.6 --- pkgs/servers/home-assistant/component-packages.nix | 2 +- pkgs/servers/home-assistant/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index f19322612d5e..d13a15ab5cb1 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2022.12.5"; + version = "2022.12.6"; components = { "3_day_blinds" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 91ac8ba3d3a2..42e8a056af5d 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -188,7 +188,7 @@ let extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); # Don't forget to run parse-requirements.py after updating - hassVersion = "2022.12.5"; + hassVersion = "2022.12.6"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -206,7 +206,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = version; - hash = "sha256-TWePQ++C0ISl61Qq+XPnWuZWbwrCnOuviAuDT1D5KuI="; + hash = "sha256-9dukY04sh35kj5vUbNmqnN+MPGqJT/YUuHC64pHzWjw="; }; # leave this in, so users don't have to constantly update their downstream patch handling From 22742335f18f26cd04c524b6ba23a89b2abda839 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 19:42:16 +0000 Subject: [PATCH 73/82] telegraf: 1.24.4 -> 1.25.0 --- pkgs/servers/monitoring/telegraf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/telegraf/default.nix b/pkgs/servers/monitoring/telegraf/default.nix index 715e8da0b753..9538872fb2c7 100644 --- a/pkgs/servers/monitoring/telegraf/default.nix +++ b/pkgs/servers/monitoring/telegraf/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "telegraf"; - version = "1.24.4"; + version = "1.25.0"; excludedPackages = "test"; @@ -12,10 +12,10 @@ buildGoModule rec { owner = "influxdata"; repo = "telegraf"; rev = "v${version}"; - sha256 = "sha256-GlbkCT85gbQehN2SgWY0WNSQ1FbpgZKBpqm6ImlWASk="; + sha256 = "sha256-p+2nsJT3WHYmJ1toIwFi/a/I0//OaUoJIHmQcFHHJ/A="; }; - vendorSha256 = "sha256-sBCUs9m04bdkeAIRCJ2Esw68JJIsyVNcoZ3W1WrNKJ4="; + vendorSha256 = "sha256-xNio3bMFopMgDwdQdtFmkp3F0iWYHVqu9T42S5KNMU8="; proxyVendor = true; ldflags = [ From ac4bf61b9a7ea60fd36f790d6c7a747ed4d8f6c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 19:52:36 +0000 Subject: [PATCH 74/82] terragrunt: 0.42.3 -> 0.42.4 --- pkgs/applications/networking/cluster/terragrunt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index 437f5813a3ac..be2529f08720 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "terragrunt"; - version = "0.42.3"; + version = "0.42.4"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "v${version}"; - sha256 = "sha256-CK2+leFJuNQqX1t34LLTJ6eVEUFdZSb/0E3XTf3S9gQ="; + sha256 = "sha256-PaCI39Z2WaHZ6IYRxFNZvG9c40pWzNbwoHrJFXLOqMk="; }; - vendorSha256 = "sha256-Qc0FnNxyErtieVvEj/eKPW5PpvYFwiYtv+ReJTVFAPA="; + vendorSha256 = "sha256-ByFn2j2m5dON0No6mt1QiYm4vMRSymS5Tezaws9B9c4="; doCheck = false; From cb97517032d8058a16f11a5f1cb1d2d7515551c4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 20:09:28 +0000 Subject: [PATCH 75/82] todoist: 0.16.0 -> 0.17.0 --- pkgs/applications/misc/todoist/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/todoist/default.nix b/pkgs/applications/misc/todoist/default.nix index 640cfc6e12cd..28222e0e1287 100644 --- a/pkgs/applications/misc/todoist/default.nix +++ b/pkgs/applications/misc/todoist/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "todoist"; - version = "0.16.0"; + version = "0.17.0"; src = fetchFromGitHub { owner = "sachaos"; repo = "todoist"; rev = "v${version}"; - sha256 = "sha256-cfhwbL7RaeD5LWxlfqnHfPPPkC5AA3Z034p+hlFBWtg="; + sha256 = "sha256-lnx02fFzf8oaJ9T7MV+Gx4EpA4h7TVJK91o9+GU/Yvs="; }; vendorSha256 = "sha256-ly+OcRo8tGeNX4FnqNVaqjPx/A1FALOnScxs04lIOiU="; From a3f4f11aed12406496db9cbd32595daf33be5895 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 14 Dec 2022 20:50:34 +0000 Subject: [PATCH 76/82] tut: 1.0.24 -> 1.0.25 --- pkgs/applications/misc/tut/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/tut/default.nix b/pkgs/applications/misc/tut/default.nix index b33182dc68a9..cc2d9624d6fb 100644 --- a/pkgs/applications/misc/tut/default.nix +++ b/pkgs/applications/misc/tut/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tut"; - version = "1.0.24"; + version = "1.0.25"; src = fetchFromGitHub { owner = "RasmusLindroth"; repo = pname; rev = version; - sha256 = "sha256-UkgZOBNEeeYkcdp8beePrFmFLa7UWGbQ4dynl8QwnK8="; + sha256 = "sha256-wSCT8GaBMBzxtPsspc+kS4mMVayMEBBSzXZB3dQ3Nj8="; }; - vendorSha256 = "sha256-af+uO3NEkMt+aZoOa8NWccgtLD0Kggr2ZZwfIxoP3EU="; + vendorSha256 = "sha256-dyt7JDHsmbdMccIHVaG6N1lAwcM5xKeYoZ2Giwfkgqc="; meta = with lib; { description = "A TUI for Mastodon with vim inspired keys"; From 6de54be915b5d5bd73144f7ff897667dfe3dd4ea Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 14 Dec 2022 21:44:22 +0100 Subject: [PATCH 77/82] below: init at 0.6.3 --- pkgs/os-specific/linux/below/default.nix | 41 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/os-specific/linux/below/default.nix diff --git a/pkgs/os-specific/linux/below/default.nix b/pkgs/os-specific/linux/below/default.nix new file mode 100644 index 000000000000..9cd9267808d7 --- /dev/null +++ b/pkgs/os-specific/linux/below/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, clang +, pkgconfig +, elfutils +, rustfmt +, zlib +}: + +rustPlatform.buildRustPackage rec { + pname = "below"; + version = "0.6.3"; + + src = fetchFromGitHub { + owner = "facebookincubator"; + repo = "below"; + rev = "v${version}"; + sha256 = "sha256-d5a/M2XEw2E2iydopzedqZ/XfQU7KQyTC5NrPTeeNLg="; + }; + + cargoSha256 = "sha256-EoRCmEe9SAySZCm+QhaR4ngik4Arnm4SZjgDM5fSRmk="; + + # bpf code compilation + hardeningDisable = [ "stackprotector" ]; + + nativeBuildInputs = [ clang pkgconfig rustfmt ]; + buildInputs = [ elfutils zlib ]; + + # needs /sys/fs/cgroup + doCheck = false; + + meta = with lib; { + platforms = platforms.linux; + maintainers = with maintainers; [ globin ]; + description = "A time traveling resource monitor for modern Linux systems"; + license = licenses.asl20; + homepage = "https://github.com/facebookincubator/below"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 825af969b790..d694e02a85af 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25000,6 +25000,8 @@ with pkgs; b43FirmwareCutter = callPackage ../os-specific/linux/firmware/b43-firmware-cutter { }; + below = callPackage ../os-specific/linux/below { }; + bt-fw-converter = callPackage ../os-specific/linux/firmware/bt-fw-converter { }; brillo = callPackage ../os-specific/linux/brillo { }; From bfc60c9362e3762bba03e7a3de56ffb672d7812b Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 14 Dec 2022 09:27:42 +0000 Subject: [PATCH 78/82] nixos/wireplumber: assert hsphfpd to be disabled According to https://github.com/NixOS/nixpkgs/issues/205957#issuecomment-1350158554, pipewire/wireplumber already provides this functionality. Fixes #205957 --- nixos/modules/services/desktops/pipewire/wireplumber.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/desktops/pipewire/wireplumber.nix b/nixos/modules/services/desktops/pipewire/wireplumber.nix index 32490773b5e9..4b36b99aa7c1 100644 --- a/nixos/modules/services/desktops/pipewire/wireplumber.nix +++ b/nixos/modules/services/desktops/pipewire/wireplumber.nix @@ -32,6 +32,10 @@ in assertion = !config.services.pipewire.media-session.enable; message = "WirePlumber and pipewire-media-session can't be enabled at the same time."; } + { + assertion = !config.hardware.bluetooth.hsphfpd.enable; + message = "Using Wireplumber conflicts with hsphfpd, as it provides the same functionality. `hardware.bluetooth.hsphfpd.enable` needs be set to false"; + } ]; environment.systemPackages = [ cfg.package ]; From 3bd200b2aa21b8a7edae7eac921ae7bd2a121c4d Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 6 Dec 2022 12:53:07 +0000 Subject: [PATCH 79/82] tmuxPlugins.fuzzback: init at unstable-2022-11-21 --- pkgs/misc/tmux-plugins/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index a69dccdaf9af..25a84e4b30f9 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -257,6 +257,32 @@ in rec { ''; }; + fuzzback = mkTmuxPlugin { + pluginName = "fuzzback"; + version = "unstable-2022-11-21"; + src = fetchFromGitHub { + owner = "roosta"; + repo = "tmux-fuzzback"; + rev = "bfd9cf0ef1c35488f0080f0c5ca4fddfdd7e18ec"; + sha256 = "w788xDBkfiLdUVv1oJi0YikFPqVk6LiN6PDfHu8on5E="; + }; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postInstall = '' + for f in fuzzback.sh preview.sh supported.sh; do + chmod +x $target/scripts/$f + wrapProgram $target/scripts/$f \ + --prefix PATH : ${with pkgs; lib.makeBinPath [ coreutils fzf gawk gnused ]} + done + ''; + meta = { + homepage = "https://github.com/roosta/tmux-fuzzback"; + description = "Fuzzy search for terminal scrollback"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ deejayem ]; + }; + }; + fzf-tmux-url = mkTmuxPlugin { pluginName = "fzf-tmux-url"; rtpFilePath = "fzf-url.tmux"; From dfac3e4480ca83402940823ba9f78fe537ca9d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 14 Dec 2022 22:42:39 +0100 Subject: [PATCH 80/82] healthchecks: 2.4.1 -> 2.5 Diff: https://github.com/healthchecks/healthchecks/compare/v2.4.1...v2.5 --- pkgs/servers/web-apps/healthchecks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/healthchecks/default.nix b/pkgs/servers/web-apps/healthchecks/default.nix index 71ed8db3c9fc..b292ef34bc54 100644 --- a/pkgs/servers/web-apps/healthchecks/default.nix +++ b/pkgs/servers/web-apps/healthchecks/default.nix @@ -13,14 +13,14 @@ let in py.pkgs.buildPythonApplication rec { pname = "healthchecks"; - version = "2.4.1"; + version = "2.5"; format = "other"; src = fetchFromGitHub { owner = "healthchecks"; repo = pname; rev = "v${version}"; - sha256 = "sha256-K2zA0ZkAPMgm+IofNiCf+mVTF/RIoorTupWLOowT29g="; + sha256 = "sha256-luwFY1iBtFL+Ye7nP68eIgqlpvMUKnxwdNxkBI7pX/c="; }; propagatedBuildInputs = with py.pkgs; [ From 410ae09cc3e50be539ac6cf1cdf5fe1fcf028266 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Wed, 14 Dec 2022 14:31:28 -0800 Subject: [PATCH 81/82] github-runner: 2.299.1 -> 2.300.0 (#206107) --- .../continuous-integration/github-runner/default.nix | 4 ++-- .../patches/use-get-directory-for-diag.patch | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index 8c129d5ff18a..3a4f0de8170f 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -49,7 +49,7 @@ let in stdenv.mkDerivation rec { pname = "github-runner"; - version = "2.299.1"; + version = "2.300.0"; inherit sdkSource; @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { owner = "actions"; repo = "runner"; rev = "v${version}"; - hash = "sha256-o6N7GDfSEWX6QaEga5hQpbpDcBh7Alcy9mK3QlODTbs="; + hash = "sha256-pEBudX285qMz0W8Sog0ph2CA5UclBItQ+ixaBi6dl8I="; }; nativeBuildInputs = [ diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch b/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch index ff91bcff158c..2581cb7bb921 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch +++ b/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch @@ -1,17 +1,17 @@ diff --git a/src/Runner.Common/HostContext.cs b/src/Runner.Common/HostContext.cs -index d4ea48c..15c1800 100644 +index 9e43464..a953694 100644 --- a/src/Runner.Common/HostContext.cs +++ b/src/Runner.Common/HostContext.cs -@@ -109,7 +109,7 @@ namespace GitHub.Runner.Common +@@ -119,7 +119,7 @@ namespace GitHub.Runner.Common } // this should give us _diag folder under runner root directory - string diagLogDirectory = Path.Combine(new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)).Parent.FullName, Constants.Path.DiagDirectory); + string diagLogDirectory = GetDirectory(WellKnownDirectory.Diag); - _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), this.SecretMasker); + _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), stdoutTraceListener, this.SecretMasker); } else -@@ -272,7 +272,10 @@ namespace GitHub.Runner.Common +@@ -297,7 +297,10 @@ namespace GitHub.Runner.Common throw new NotSupportedException($"Unexpected well known directory: '{directory}'"); } From 756a5e6b74f786f08fa3a4c006b31fa316133566 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 14 Dec 2022 23:36:21 +0100 Subject: [PATCH 82/82] CONTRIBUTING: loose squash merging rules (#204988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Naïm Favier --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 94ed7f02f014..46fe47e05904 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,9 +53,9 @@ In addition to writing properly formatted commit messages, it's important to inc Package version upgrades usually allow for simpler commit messages, including attribute name, old and new version, as well as a reference to the relevant release notes/changelog. Every once in a while a package upgrade requires more extensive changes, and that subsequently warrants a more verbose message. -We prefer not to use the "squash merge" feature in nixpkgs: in order to keep as much information as possible in the commit history, we expect pull requests to consist of self-contained commits as described above. -This means that, after addressing review comments and before the PR is merged, you will sometimes need to rewrite your branch's history and then force-push it with `git push --force-with-lease`. -Useful commands to be comfortable with are `git commit --amend`, `git commit --fixup` and `git rebase -i` (and don't forget that git lets you define aliases!). +Pull requests should not be squash merged in order to keep complete commit messages and GPG signatures intact and must not be when the change doesn't make sense as a single commit. +This means that, when addressing review comments in order to keep the pull request in an always mergeable status, you will sometimes need to rewrite your branch's history and then force-push it with `git push --force-with-lease`. +Useful git commands that can help a lot with this are `git commit --patch --amend` and `git rebase --interactive @~3`. For more details consult the git man pages. ## Rebasing between branches (i.e. from master to staging)