From db9a5fd280b086864550b348691868c12c838fb4 Mon Sep 17 00:00:00 2001 From: Evils Date: Sat, 16 Sep 2023 18:54:54 +0200 Subject: [PATCH 01/71] rasdaemon: 0.7.0 -> 0.8.0 --- pkgs/os-specific/linux/rasdaemon/default.nix | 27 ++++++-------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/pkgs/os-specific/linux/rasdaemon/default.nix b/pkgs/os-specific/linux/rasdaemon/default.nix index 35201d49b7f0..c65a11fe8525 100644 --- a/pkgs/os-specific/linux/rasdaemon/default.nix +++ b/pkgs/os-specific/linux/rasdaemon/default.nix @@ -1,22 +1,22 @@ { lib, stdenv, fetchFromGitHub -, autoreconfHook +, autoreconfHook, pkg-config , glibcLocales, kmod, coreutils, perl -, dmidecode, hwdata, sqlite +, dmidecode, hwdata, sqlite, libtraceevent , nixosTests }: stdenv.mkDerivation rec { pname = "rasdaemon"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "mchehab"; repo = "rasdaemon"; rev = "v${version}"; - sha256 = "sha256-oLwR+bNgKceVgLTOLYiKHNUkRmLouaQshdp/8UJnfqg="; + sha256 = "sha256-BX3kc629FOh5cnD6Sa/69wKdhmhT3Rpz5ZvhnD4MclQ="; }; - nativeBuildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ autoreconfHook pkg-config ]; buildInputs = [ coreutils @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { hwdata kmod sqlite + libtraceevent (perl.withPackages (ps: with ps; [ DBI DBDSQLite ])) ] ++ lib.optionals (!stdenv.isAarch64) [ dmidecode ]; @@ -32,20 +33,8 @@ stdenv.mkDerivation rec { "--sysconfdir=/etc" "--localstatedir=/var" "--with-sysconfdefdir=${placeholder "out"}/etc/sysconfig" - "--enable-sqlite3" - "--enable-aer" - "--enable-mce" - "--enable-extlog" - "--enable-non-standard" - "--enable-abrt-report" - "--enable-hisi-ns-decode" - "--enable-devlink" - "--enable-diskerror" - "--enable-memory-failure" - "--enable-memory-ce-pfa" - "--enable-amp-ns-decode" - ] - ++ lib.optionals (stdenv.isAarch64) [ "--enable-arm" ]; + "--enable-all" + ]; # The installation attempts to create the following directories: # /var/lib/rasdaemon From 8f55e6cae28dc17a94ee0661fa58b6f8690b42c4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 30 Oct 2023 20:42:34 +0000 Subject: [PATCH 02/71] lima-bin: 0.17.2 -> 0.18.0 --- pkgs/applications/virtualization/lima/bin.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/virtualization/lima/bin.nix b/pkgs/applications/virtualization/lima/bin.nix index 2400c19d40ea..03a162f9b7f1 100644 --- a/pkgs/applications/virtualization/lima/bin.nix +++ b/pkgs/applications/virtualization/lima/bin.nix @@ -9,31 +9,31 @@ }: let - version = "0.17.2"; + version = "0.18.0"; dist = { aarch64-darwin = rec { archSuffix = "Darwin-arm64"; url = "https://github.com/lima-vm/lima/releases/download/v${version}/lima-${version}-${archSuffix}.tar.gz"; - sha256 = "c7e328369e6842b15452b440daa5137e00da57ca7aa025b1cf7f80bd5c7843a9"; + sha256 = "6c58ca1b7803c2eeb1eaeb124db57fdc426b45fa65ce41a3fd83856c9be5c233"; }; x86_64-darwin = rec { archSuffix = "Darwin-x86_64"; url = "https://github.com/lima-vm/lima/releases/download/v${version}/lima-${version}-${archSuffix}.tar.gz"; - sha256 = "5b8954b3040b82016701091bed4ac99c668ffb8d362dc7a0fdf5cb9a6ed9ebb1"; + sha256 = "e19b1067dcfc7d9d34d692d26b84e2b8589c3b39ac3316efc7b25fa82dcafbc6"; }; aarch64-linux = rec { archSuffix = "Linux-aarch64"; url = "https://github.com/lima-vm/lima/releases/download/v${version}/lima-${version}-${archSuffix}.tar.gz"; - sha256 = "20df104067f255212cd6df82508961b20bf4c0a16a233a74d495a4b6ee3a62e8"; + sha256 = "1a1113a8e3a6f6f12dd01a7bbf30017d3cccf1ed7705e61c06149d8fab57654e"; }; x86_64-linux = rec { archSuffix = "Linux-x86_64"; url = "https://github.com/lima-vm/lima/releases/download/v${version}/lima-${version}-${archSuffix}.tar.gz"; - sha256 = "a9af3aec848ed7bc490baff2f1d785334cbbc6cd94f981705cc0aeab833288b0"; + sha256 = "efd100c65173d0dff885e61778fa61737a609fc543d8260b491c8090c000bd3b"; }; }; in From 7666329232ac5f6e2bf3b504569303f4329a06c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Fri, 3 Nov 2023 09:51:22 -0300 Subject: [PATCH 03/71] marwaita-pop_os: add update script --- pkgs/data/themes/marwaita-pop_os/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/data/themes/marwaita-pop_os/default.nix b/pkgs/data/themes/marwaita-pop_os/default.nix index ca35460eff14..19dfd3910c9e 100644 --- a/pkgs/data/themes/marwaita-pop_os/default.nix +++ b/pkgs/data/themes/marwaita-pop_os/default.nix @@ -5,6 +5,7 @@ , gtk-engine-murrine , gtk_engines , librsvg +, gitUpdater }: stdenv.mkDerivation rec { @@ -37,6 +38,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = gitUpdater { }; + meta = with lib; { description = "Marwaita GTK theme with Pop_os Linux style"; homepage = "https://www.pling.com/p/1377894/"; From d1e23ba84ecc8b3f029ed20fcc062d8cac5d805a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Fri, 3 Nov 2023 09:54:18 -0300 Subject: [PATCH 04/71] marwaita-pop_os: 10.3 -> 17.0 --- pkgs/data/themes/marwaita-pop_os/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/data/themes/marwaita-pop_os/default.nix b/pkgs/data/themes/marwaita-pop_os/default.nix index 19dfd3910c9e..33e75cdd08c2 100644 --- a/pkgs/data/themes/marwaita-pop_os/default.nix +++ b/pkgs/data/themes/marwaita-pop_os/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "marwaita-pop_os"; - version = "10.3"; + version = "17.0"; src = fetchFromGitHub { owner = "darkomarko42"; repo = pname; - rev = version; - sha256 = "1j6d91kx6iw8sy35rhhjvwb3qz60bvf7a7g7q2i0sznzdicrwsq6"; + rev = "1f3561f1231d0e9e931f93c5d59df19ed2205ce0"; + hash = "sha256-WbCIMEWF5853TQyhq8aRoWzpsmjObm9hEc4I0pxDNOM="; }; buildInputs = [ From f54d9cdf127ddf4c2f03f21e7e82d3de8a3217a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Fri, 3 Nov 2023 09:58:32 -0300 Subject: [PATCH 05/71] marwaita-ubuntu: add update script --- pkgs/data/themes/marwaita-ubuntu/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/data/themes/marwaita-ubuntu/default.nix b/pkgs/data/themes/marwaita-ubuntu/default.nix index f98e112678ce..79323993ee3a 100644 --- a/pkgs/data/themes/marwaita-ubuntu/default.nix +++ b/pkgs/data/themes/marwaita-ubuntu/default.nix @@ -1,9 +1,11 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitHub , gdk-pixbuf , gtk-engine-murrine , gtk_engines , librsvg +, gitUpdater }: stdenv.mkDerivation rec { @@ -36,6 +38,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = gitUpdater { }; + meta = with lib; { description = "Ubuntu Style of Marwaita GTK theme"; homepage = "https://www.pling.com/p/1352833/"; From cf31acbf1551369e645d8d864d44763e16a14cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Fri, 3 Nov 2023 10:01:48 -0300 Subject: [PATCH 06/71] marwaita-ubuntu: 1.7 -> 17.0 --- pkgs/data/themes/marwaita-ubuntu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/data/themes/marwaita-ubuntu/default.nix b/pkgs/data/themes/marwaita-ubuntu/default.nix index 79323993ee3a..4190b1c0c3d2 100644 --- a/pkgs/data/themes/marwaita-ubuntu/default.nix +++ b/pkgs/data/themes/marwaita-ubuntu/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "marwaita-ubuntu"; - version = "1.7"; + version = "17.0"; src = fetchFromGitHub { owner = "darkomarko42"; repo = pname; - rev = version; - sha256 = "024b0817jilvi5ilq9sbwg19ql5i2x3jfgc1awk7zzv6sqii639x"; + rev = "481aae16034e0321bcabd14270639b8bd8b9aa73"; + hash = "sha256-Ze2nR+77qe0TfwcvXP9eheB7mXSSVdejk11GS0fx7LY="; }; buildInputs = [ From f5803331cff1674cb36f58a98fcfe750b8433b35 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Thu, 26 Oct 2023 17:07:45 -0700 Subject: [PATCH 07/71] armagetronad: 0.2.9.1.0 -> 0.2.9.1.1 + passthrus for other versions Support the following passthrus for more obscure game server setups: - `armagetronad."0.2.9-sty+ct+ap"[.dedicated]` - `armagetronad."0.4"[.dedicated]` --- pkgs/games/armagetronad/default.nix | 189 ++++++++++++++++++++++------ 1 file changed, 150 insertions(+), 39 deletions(-) diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix index 27f509c3f72a..3b406c6a8b50 100644 --- a/pkgs/games/armagetronad/default.nix +++ b/pkgs/games/armagetronad/default.nix @@ -1,42 +1,153 @@ -{ lib, stdenv, fetchurl -, pkg-config, SDL, libxml2, SDL_image, libjpeg, libpng, libGLU, libGL, zlib -, dedicatedServer ? false }: +{ lib +, stdenv +, fetchFromGitLab +, autoconf +, automake +, gnum4 +, pkg-config +, bison +, python3 +, which +, boost +, ftgl +, freetype +, glew +, SDL +, SDL_image +, SDL_mixer +, SDL2 +, SDL2_image +, SDL2_mixer +, libpng +, libxml2 +, protobuf +, dedicatedServer ? false +}: let - versionMajor = "0.2.9"; - versionMinor = "1.0"; - version = "${versionMajor}.${versionMinor}"; + latestVersionMajor = "0.2.9"; + unstableVersionMajor = "0.4"; + + latestCommonBuildInputs = [ SDL SDL_image SDL_mixer libpng ]; + + unstableCommonBuildInputs = [ SDL2 SDL2_image SDL2_mixer glew ftgl freetype ]; + unstableCommonNativeBuildInputs = [ SDL ]; # for sdl-config + + srcs = { + ${latestVersionMajor} = rec { + version = "${latestVersionMajor}.1.1"; + src = fetchFromGitLab { + owner = "armagetronad"; + repo = "armagetronad"; + rev = "v${version}"; + sha256 = "tvmKGqzH8IYTSeahc8XmN3RV+GdE5GsP8pAlwG8Ph3M="; + }; + extraBuildInputs = latestCommonBuildInputs; + }; + + ${unstableVersionMajor} = + let + rev = "4bf6245a668ce181cd464b767ce436a6b7bf8506"; + in + { + version = "${unstableVersionMajor}-${builtins.substring 0 8 rev}"; + src = fetchFromGitLab { + owner = "armagetronad"; + repo = "armagetronad"; + inherit rev; + sha256 = "cpJmQHCS6asGasD7anEgNukG9hRXpsIJZrCr3Q7uU4I="; + }; + extraBuildInputs = [ protobuf boost ] ++ unstableCommonBuildInputs; + extraNativeBuildInputs = [ bison ] ++ unstableCommonNativeBuildInputs; + }; + + "${latestVersionMajor}-sty+ct+ap" = + let + rev = "fdfd5fb97083aed45467385b96d50d87669e4023"; + in + { + version = "${latestVersionMajor}-sty+ct+ap-${builtins.substring 0 8 rev}"; + src = fetchFromGitLab { + owner = "armagetronad"; + repo = "armagetronad"; + inherit rev; + sha256 = "UDbe7DiMLzNFAs4C6BbnmdEjqSltSbnk/uQfNOLGAfo="; + }; + extraBuildInputs = latestCommonBuildInputs; + extraNativeBuildInputs = [ python3 ]; + }; + }; + + mkArmagetron = { version, src, dedicatedServer ? false, extraBuildInputs ? [ ], extraNativeBuildInputs ? [ ] }@params: + stdenv.mkDerivation rec { + pname = if dedicatedServer then "armagetronad-dedicated" else "armagetronad"; + inherit version src; + + # Build works fine; install has a race. + enableParallelBuilding = true; + enableParallelInstalling = false; + + preConfigure = '' + patchShebangs . + + ./bootstrap.sh + ''; + + configureFlags = [ + "--enable-automakedefaults" + "--enable-authentication" + "--disable-memmanager" + "--disable-useradd" + "--disable-initscripts" + "--disable-etc" + "--disable-uninstall" + "--disable-sysinstall" + ] ++ lib.optional dedicatedServer "--enable-dedicated" + ++ lib.optional (!dedicatedServer) "--enable-music"; + + buildInputs = [ libxml2 ] ++ extraBuildInputs; + + nativeBuildInputs = [ autoconf automake gnum4 pkg-config which python3 ] + ++ extraNativeBuildInputs; + + doInstallCheck = true; + + installCheckPhase = '' + export XDG_RUNTIME_DIR=/tmp + bin="$out/bin/${pname}" + prefix="$("$bin" --prefix || true)" + rubber="$("$bin" --doc | grep -m1 CYCLE_RUBBER)" + if [ "$prefix" != "$out" ] || \ + [[ ! "$rubber" =~ ^CYCLE_RUBBER[[:space:]]+Niceness[[:space:]]factor ]]; then + exit 1 + fi + ''; + + passthru = + if (dedicatedServer) then { + # No passthru, end of the line. + # https://www.youtube.com/watch?v=NOMa56y_Was + } + else if (version != srcs.${latestVersionMajor}.version) then { + # Allow a "dedicated" passthru for versions other than the default. + dedicated = mkArmagetron (params // { + dedicatedServer = true; + }); + } + else (lib.mapAttrs (name: value: mkArmagetron value) (lib.filterAttrs (name: value: value.version != srcs.${latestVersionMajor}.version) srcs)) // { + # Allow both a "dedicated" passthru and a passthru for all the options other than the latest version, which this is. + dedicated = mkArmagetron (params // { + dedicatedServer = true; + }); + }; + + meta = with lib; { + homepage = "http://armagetronad.org"; + description = "A multiplayer networked arcade racing game in 3D similar to Tron"; + maintainers = with maintainers; [ numinit ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; + }; in -stdenv.mkDerivation { - pname = if dedicatedServer then "armagetronad-dedicated" else "armagetronad"; - inherit version; - src = fetchurl { - url = "https://launchpad.net/armagetronad/${versionMajor}/${version}/+download/armagetronad-${version}.tbz"; - sha256 = "sha256-WbbHwBzj+MylQ34z+XSmN1KVQaEapPUsGlwXSZ4m9qE"; - }; - - enableParallelBuilding = true; - - configureFlags = [ - "--enable-memmanager" - "--enable-automakedefaults" - "--disable-useradd" - "--disable-initscripts" - "--disable-etc" - "--disable-uninstall" - "--disable-sysinstall" - ] ++ lib.optional dedicatedServer "--enable-dedicated"; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ libxml2 zlib ] - ++ lib.optionals (!dedicatedServer) [ SDL SDL_image libxml2 libjpeg libpng libGLU libGL ]; - - meta = with lib; { - homepage = "http://armagetronad.org"; - description = "A multiplayer networked arcade racing game in 3D similar to Tron"; - maintainers = with maintainers; [ numinit ]; - license = licenses.gpl2Plus; - platforms = platforms.linux; - }; -} +mkArmagetron (srcs.${latestVersionMajor} // { inherit dedicatedServer; }) From 6f41e0b9aff319adc25ada9d41a5d8effae5ed79 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sun, 5 Nov 2023 13:34:58 -0800 Subject: [PATCH 08/71] armagetronad: reproducible build by setting version --- pkgs/games/armagetronad/default.nix | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix index 3b406c6a8b50..275b878d2619 100644 --- a/pkgs/games/armagetronad/default.nix +++ b/pkgs/games/armagetronad/default.nix @@ -79,6 +79,20 @@ let }; mkArmagetron = { version, src, dedicatedServer ? false, extraBuildInputs ? [ ], extraNativeBuildInputs ? [ ] }@params: + let + # Split the version into the major and minor parts + versionParts = lib.splitString "-" version; + splitVersion = lib.splitString "." (builtins.elemAt versionParts 0); + majorVersion = builtins.concatStringsSep "." (lib.lists.take 2 splitVersion); + + minorVersionPart = parts: sep: expectedSize: + if builtins.length parts > expectedSize then + sep + (builtins.concatStringsSep sep (lib.lists.drop expectedSize parts)) + else + ""; + + minorVersion = (minorVersionPart splitVersion "." 2) + (minorVersionPart versionParts "-" 1) + "-nixpkgs"; + in stdenv.mkDerivation rec { pname = if dedicatedServer then "armagetronad-dedicated" else "armagetronad"; inherit version src; @@ -90,6 +104,11 @@ let preConfigure = '' patchShebangs . + # Create the version. + echo "${majorVersion}" > major_version + echo "${minorVersion}" > minor_version + + echo "Bootstrapping version: $(&2 ./bootstrap.sh ''; @@ -115,9 +134,16 @@ let installCheckPhase = '' export XDG_RUNTIME_DIR=/tmp bin="$out/bin/${pname}" + version="$("$bin" --version || true)" prefix="$("$bin" --prefix || true)" rubber="$("$bin" --doc | grep -m1 CYCLE_RUBBER)" - if [ "$prefix" != "$out" ] || \ + + echo "Version: $version" >&2 + echo "Prefix: $prefix" >&2 + echo "Docstring: $rubber" >&2 + + if [[ "$version" != *"${version}"* ]] || \ + [ "$prefix" != "$out" ] || \ [[ ! "$rubber" =~ ^CYCLE_RUBBER[[:space:]]+Niceness[[:space:]]factor ]]; then exit 1 fi From 7f9abdcfcb7a44a9e8bbf954adeb6cce8e6800fe Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 13 Nov 2023 20:26:08 +0100 Subject: [PATCH 09/71] nixos/nextcloud: fix docu of packages --- nixos/modules/services/web-apps/nextcloud.nix | 7 +------ pkgs/servers/nextcloud/packages/README.md | 8 +++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index f1ac3770d403..d3d318304ee9 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -125,12 +125,7 @@ in { ''; example = literalExpression '' { - maps = pkgs.fetchNextcloudApp { - name = "maps"; - sha256 = "007y80idqg6b6zk6kjxg4vgw0z8fsxs9lajnv49vv1zjy6jx2i1i"; - url = "https://github.com/nextcloud/maps/releases/download/v0.1.9/maps-0.1.9.tar.gz"; - version = "0.1.9"; - }; + inherit (pkgs.nextcloud25Packages.apps) mail calendar contact; phonetrack = pkgs.fetchNextcloudApp { name = "phonetrack"; sha256 = "0qf366vbahyl27p9mshfma1as4nvql6w75zy2zk5xwwbp343vsbc"; diff --git a/pkgs/servers/nextcloud/packages/README.md b/pkgs/servers/nextcloud/packages/README.md index 452dc4c62ae2..469b80ef694d 100644 --- a/pkgs/servers/nextcloud/packages/README.md +++ b/pkgs/servers/nextcloud/packages/README.md @@ -30,11 +30,9 @@ services.nextcloud = { package = pkgs.nextcloud25; hostName = "localhost"; config.adminpassFile = "${pkgs.writeText "adminpass" "hunter2"}"; - extraApps = with pkgs.nextcloud25Packages.apps; [ - mail - calendar - contacts - ]; + extraApps = with pkgs.nextcloud25Packages.apps; { + inherit mail calendar contact; + }; extraAppsEnable = true; }; ``` From 9f98f2904bb0b3fd80224c491440b6eb5ddcbed7 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Fri, 17 Nov 2023 22:26:20 +0100 Subject: [PATCH 10/71] geoserver: fix startup script Set GEOSERVER_DATA_DIR to current working directory if not provided. --- .../geospatial/geoserver/data-dir.patch | 18 ++++++++++++++++++ pkgs/servers/geospatial/geoserver/default.nix | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/servers/geospatial/geoserver/data-dir.patch diff --git a/pkgs/servers/geospatial/geoserver/data-dir.patch b/pkgs/servers/geospatial/geoserver/data-dir.patch new file mode 100644 index 000000000000..869321627998 --- /dev/null +++ b/pkgs/servers/geospatial/geoserver/data-dir.patch @@ -0,0 +1,18 @@ +--- a/bin/startup.sh ++++ b/bin/startup.sh +@@ -66,12 +66,9 @@ fi + + #Find the configuration directory: GEOSERVER_DATA_DIR + if [ -z "${GEOSERVER_DATA_DIR:-}" ]; then +- if [ -r "${GEOSERVER_HOME}/data_dir" ]; then +- export GEOSERVER_DATA_DIR="${GEOSERVER_HOME}/data_dir" +- else +- echo "No GEOSERVER_DATA_DIR found, using application defaults" +- GEOSERVER_DATA_DIR="" +- fi ++ echo "GEOSERVER_DATA_DIR is not provided. Using $(pwd)/geoserver/data_dir directory" ++ mkdir -p "$(pwd)"/geoserver/data_dir ++ GEOSERVER_DATA_DIR="$(pwd)/geoserver/data_dir" + fi + + cd "${GEOSERVER_HOME}" || exit 1 diff --git a/pkgs/servers/geospatial/geoserver/default.nix b/pkgs/servers/geospatial/geoserver/default.nix index 4f0b657fda66..97e9c42b9b81 100644 --- a/pkgs/servers/geospatial/geoserver/default.nix +++ b/pkgs/servers/geospatial/geoserver/default.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-xX1rAONMh5XSWGPXkVMemAvG34DDNmu2018HsTvY7G0="; }; + patches = [ + # set GEOSERVER_DATA_DIR to current working directory if not provided + ./data-dir.patch + ]; + sourceRoot = "."; nativeBuildInputs = [ unzip makeWrapper ]; From 3d84496c930846948fb87bfc3dfce9997d5c713c Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Fri, 17 Nov 2023 22:29:34 +0100 Subject: [PATCH 11/71] geoserver: add geospatial team to maintainers --- pkgs/servers/geospatial/geoserver/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/geospatial/geoserver/default.nix b/pkgs/servers/geospatial/geoserver/default.nix index 97e9c42b9b81..543a602112ca 100644 --- a/pkgs/servers/geospatial/geoserver/default.nix +++ b/pkgs/servers/geospatial/geoserver/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { homepage = "https://geoserver.org/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl2Plus; - maintainers = with maintainers; [ sikmir ]; + maintainers = teams.geospatial.members; platforms = platforms.all; }; } From a08880000dee157f618dc790ac3093e80cfc2b36 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Fri, 17 Nov 2023 23:29:45 +0100 Subject: [PATCH 12/71] geoserver: add nixos test --- nixos/tests/all-tests.nix | 1 + nixos/tests/geoserver.nix | 24 +++++++++++++++++++ pkgs/servers/geospatial/geoserver/default.nix | 14 ++++++++++- 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 nixos/tests/geoserver.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 6c127efa4cea..7542d8185079 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -320,6 +320,7 @@ in { mimir = handleTest ./mimir.nix {}; garage = handleTest ./garage {}; gemstash = handleTest ./gemstash.nix {}; + geoserver = runTest ./geoserver.nix; gerrit = handleTest ./gerrit.nix {}; geth = handleTest ./geth.nix {}; ghostunnel = handleTest ./ghostunnel.nix {}; diff --git a/nixos/tests/geoserver.nix b/nixos/tests/geoserver.nix new file mode 100644 index 000000000000..7e5507a296ea --- /dev/null +++ b/nixos/tests/geoserver.nix @@ -0,0 +1,24 @@ +{ pkgs, lib, ... }: { + + name = "geoserver"; + meta = { + maintainers = with lib; [ teams.geospatial.members ]; + }; + + nodes = { + machine = { pkgs, ... }: { + virtualisation.diskSize = 2 * 1024; + + environment.systemPackages = [ pkgs.geoserver ]; + }; + }; + + testScript = '' + start_all() + + machine.execute("${pkgs.geoserver}/bin/geoserver-startup > /dev/null 2>&1 &") + machine.wait_until_succeeds("curl --fail --connect-timeout 2 http://localhost:8080/geoserver", timeout=60) + + machine.succeed("curl --fail --connect-timeout 2 http://localhost:8080/geoserver/ows?service=WMS&version=1.3.0&request=GetCapabilities") + ''; +} diff --git a/pkgs/servers/geospatial/geoserver/default.nix b/pkgs/servers/geospatial/geoserver/default.nix index 543a602112ca..c0a8bfbdf77e 100644 --- a/pkgs/servers/geospatial/geoserver/default.nix +++ b/pkgs/servers/geospatial/geoserver/default.nix @@ -1,4 +1,12 @@ -{ lib, stdenv, fetchurl, unzip, jre, makeWrapper }: +{ lib +, fetchurl +, makeWrapper +, nixosTests +, stdenv + +, jre +, unzip +}: stdenv.mkDerivation rec { pname = "geoserver"; @@ -32,6 +40,10 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru = { + tests.geoserver = nixosTests.geoserver; + }; + meta = with lib; { description = "Open source server for sharing geospatial data"; homepage = "https://geoserver.org/"; From 8f36fa2c0f41d16678dd7af370ea1f9331a26682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 20 Nov 2023 07:32:35 -0800 Subject: [PATCH 13/71] celeste: 0.8.0 -> 0.8.1 Diff: https://github.com/hwittenborn/celeste/compare/v0.8.0...v0.8.1 Changelog: https://github.com/hwittenborn/celeste/blob/v0.8.1/CHANGELOG.md --- pkgs/applications/networking/sync/celeste/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/sync/celeste/default.nix b/pkgs/applications/networking/sync/celeste/default.nix index 7386c32c279c..5e56e5be7117 100644 --- a/pkgs/applications/networking/sync/celeste/default.nix +++ b/pkgs/applications/networking/sync/celeste/default.nix @@ -20,16 +20,16 @@ rustPlatform.buildRustPackage rec { pname = "celeste"; - version = "0.8.0"; + version = "0.8.1"; src = fetchFromGitHub { owner = "hwittenborn"; repo = "celeste"; rev = "v${version}"; - hash = "sha256-U+2imF4hUDJAwwf/RFZXfOgTxA+O8c6C+CzQoEQreJw="; + hash = "sha256-fJK3UTa5NS+dSsjnqZtRN3HmHQ1bYU2jepkJ5tchYD4="; }; - cargoHash = "sha256-9DrJoXT/uD8y7y2r58DMuURSaic+TtlnPPbw/gq9jPA="; + cargoHash = "sha256-/0w52bh9CsBoMTJsnWuEAQNgQzf92mbzh53H4iQYswc="; postPatch = '' pushd $cargoDepsCopy/librclone-sys From 05d8b88821df0d125da47a3b702bfb7457f8a01d Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 23 Nov 2023 00:13:26 +0100 Subject: [PATCH 14/71] DisnixWebService: fix build for Axis2 1.8.1 See upstream fix: https://github.com/svanderburg/DisnixWebService/pull/2 --- .../disnix/DisnixWebService/default.nix | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix index 9fd10a3aba08..c474cb7212d5 100644 --- a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix +++ b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix @@ -1,12 +1,25 @@ -{lib, stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }: +{lib, stdenv, fetchFromGitHub, fetchpatch, apacheAnt, jdk, axis2, dbus_java }: stdenv.mkDerivation rec { pname = "DisnixWebService"; version = "0.10.1"; - src = fetchurl { - url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-${version}/DisnixWebService-${version}.tar.gz"; - sha256 = "02jxbgn9a0c9cr6knzp78bp9wiywzczy89wav7yxhg79vff8a1gr"; + + src = fetchFromGitHub { + owner = "svanderburg"; + repo = "DisnixWebService"; + rev = "refs/tags/DisnixWebService-${version}"; + hash = "sha256-zcYr2Ytx4pevSthTQLpnQ330wDxN9dWsZA20jbO6PxQ="; }; + + patches = [ + # Correct the DisnixWebService build for compatibility with Axis2 1.8.1 + # See https://github.com/svanderburg/DisnixWebService/pull/2 + (fetchpatch { + url = "https://github.com/svanderburg/DisnixWebService/commit/cee99c6af744b5dda16728a70ebd2800f61871a0.patch"; + hash = "sha256-4rSEN8AwivUXUCIUYFBRIoE19jVDv+Vpgakmy8fR06A="; + }) + ]; + buildInputs = [ apacheAnt jdk ]; PREFIX = "\${env.out}"; AXIS2_LIB = "${axis2}/lib"; From 77586e5cf6bebebb85ae70a13b8d2f5fa67e3bb3 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 23 Nov 2023 00:14:16 +0100 Subject: [PATCH 15/71] DisnixWebService: add meta.{changelog,homepage} --- .../package-management/disnix/DisnixWebService/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix index c474cb7212d5..461c0cacc06a 100644 --- a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix +++ b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { meta = { description = "A SOAP interface and client for Disnix"; + homepage = "https://github.com/svanderburg/DisnixWebService"; + changelog = "https://github.com/svanderburg/DisnixWebService/blob/DisnixWebService-${version}/NEWS.txt"; license = lib.licenses.mit; maintainers = [ lib.maintainers.sander ]; platforms = lib.platforms.linux; From 66c57a662158b2f03b2dce602c0b47a5011e6b19 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 23 Nov 2023 04:20:00 +0000 Subject: [PATCH 16/71] storj-uplink: 1.90.2 -> 1.92.1 Diff: https://github.com/storj/storj/compare/v1.90.2...v1.92.1 --- pkgs/applications/networking/sync/storj-uplink/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/sync/storj-uplink/default.nix b/pkgs/applications/networking/sync/storj-uplink/default.nix index 154906bf2eea..435a3e1060f3 100644 --- a/pkgs/applications/networking/sync/storj-uplink/default.nix +++ b/pkgs/applications/networking/sync/storj-uplink/default.nix @@ -5,18 +5,18 @@ buildGoModule rec { pname = "storj-uplink"; - version = "1.90.2"; + version = "1.92.1"; src = fetchFromGitHub { owner = "storj"; repo = "storj"; rev = "v${version}"; - hash = "sha256-VEO9LV6hzEd4IDnSPE5H0CDlwgRFEg4cheDx/RUGQug="; + hash = "sha256-yeKI8vOuYFhABz09awPuCmjrifLttvBq1kaxMf78/HI="; }; subPackages = [ "cmd/uplink" ]; - vendorHash = "sha256-R713WhFrWT7Cgstk3SLuvvyk3/ZtT1LOH0qqmFcWzKw="; + vendorHash = "sha256-odtCBLg04gG1ztyDLdBADhdEhMkrizNjOGymAtzXy9g="; ldflags = [ "-s" "-w" ]; From 46897044724d84702ae5f875760229d7d89385c7 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 23 Nov 2023 04:20:00 +0000 Subject: [PATCH 17/71] cloud-nuke: 0.32.0 -> 0.33.0 Diff: https://github.com/gruntwork-io/cloud-nuke/compare/refs/tags/v0.32.0...v0.33.0 Changelog: https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.33.0 --- pkgs/development/tools/cloud-nuke/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/cloud-nuke/default.nix b/pkgs/development/tools/cloud-nuke/default.nix index 13a70a9f5131..032d7d722c2e 100644 --- a/pkgs/development/tools/cloud-nuke/default.nix +++ b/pkgs/development/tools/cloud-nuke/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "cloud-nuke"; - version = "0.32.0"; + version = "0.33.0"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-jxhFBfz5CWycEXx86jL9inlP8nxNK7vbVn2U8EzQ7QA="; + hash = "sha256-yTCeltueOxGkOin6Cq6RzY7YNmHMz64wza8e0Pwr36E="; }; - vendorHash = "sha256-C2YXjfn3Pk0kL4G/cHsmr2VHUYGO+3s3eSiWVJZ2dX8="; + vendorHash = "sha256-BnfWivu7xRmgDQgPIkjF48dOpU7hkw+Qkvb11eASDEk="; nativeBuildInputs = [ makeBinaryWrapper From 448c524a5aa3b89d79cf134d1d978d88a07ba707 Mon Sep 17 00:00:00 2001 From: rewine Date: Wed, 18 Oct 2023 11:21:10 +0800 Subject: [PATCH 18/71] qtcreator: 11.0.3 -> 12.0.0 - https://www.qt.io/blog/qt-creator-12-beta-released - https://www.qt.io/blog/qt-creator-12-beta2-released - https://www.qt.io/blog/qt-creator-12-released --- pkgs/development/tools/qtcreator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/qtcreator/default.nix b/pkgs/development/tools/qtcreator/default.nix index 1e138fec4420..e204a5136d0d 100644 --- a/pkgs/development/tools/qtcreator/default.nix +++ b/pkgs/development/tools/qtcreator/default.nix @@ -29,11 +29,11 @@ stdenv.mkDerivation rec { pname = "qtcreator"; - version = "11.0.3"; + version = "12.0.0"; src = fetchurl { url = "https://download.qt.io/official_releases/${pname}/${lib.versions.majorMinor version}/${version}/qt-creator-opensource-src-${version}.tar.xz"; - hash = "sha256-X1AeZOg2t+PlC5iz68NFsgE5al/ZLklzjau14mjVzxw="; + hash = "sha256-OZrg3O+jvZ4Bo/BouT2r6LOfm1ZGbDidFEblyEyPe58="; }; nativeBuildInputs = [ From ba84ea45ac49f95c9f4356b486a39f6c636558e1 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 24 Nov 2023 04:20:00 +0000 Subject: [PATCH 19/71] flexget: 3.9.18 -> 3.10.1 Diff: https://github.com/Flexget/Flexget/compare/refs/tags/v3.9.18...v3.10.1 Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.10.1 --- pkgs/applications/networking/flexget/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 792d5c93a9e5..ae0ba30d559b 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -24,7 +24,7 @@ let in python.pkgs.buildPythonApplication rec { pname = "flexget"; - version = "3.9.18"; + version = "3.10.1"; format = "pyproject"; # Fetch from GitHub in order to use `requirements.in` @@ -32,7 +32,7 @@ python.pkgs.buildPythonApplication rec { owner = "Flexget"; repo = "Flexget"; rev = "refs/tags/v${version}"; - hash = "sha256-Wxi6+6c/PK990YCoFKBMxJbYgMkS9y46hNIlkVhjbA4="; + hash = "sha256-4r+PADMUpyvWNvA7MSgjx1VcCJKrYJLyvEn9esZKCRw="; }; postPatch = '' From 73e68f2ed2c26d93af2260b668d5e095b947d9ef Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 24 Nov 2023 15:31:10 +0000 Subject: [PATCH 20/71] xmrig: 6.20.0 -> 6.21.0 --- pkgs/applications/misc/xmrig/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/xmrig/default.nix b/pkgs/applications/misc/xmrig/default.nix index d93108bdf584..ca4011220d34 100644 --- a/pkgs/applications/misc/xmrig/default.nix +++ b/pkgs/applications/misc/xmrig/default.nix @@ -15,13 +15,13 @@ let in stdenv.mkDerivation rec { pname = "xmrig"; - version = "6.20.0"; + version = "6.21.0"; src = fetchFromGitHub { owner = "xmrig"; repo = "xmrig"; rev = "v${version}"; - hash = "sha256-csJfmjKm/uAlINhijeqUsDVTemchlzWqJg/YHtmNlAk="; + hash = "sha256-7OHfFo8+MUNSI3vpOIODKQH41jmraHDJOyqfLBp/v9o="; }; patches = [ From 0e9d457138ea6a511111add743fb755c05b748ff Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Fri, 24 Nov 2023 08:38:07 -0800 Subject: [PATCH 21/71] svd2rust: 0.30.2 -> 0.31.0 --- pkgs/development/tools/rust/svd2rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/svd2rust/default.nix b/pkgs/development/tools/rust/svd2rust/default.nix index 999ae8b5ebab..3b20c948cb5f 100644 --- a/pkgs/development/tools/rust/svd2rust/default.nix +++ b/pkgs/development/tools/rust/svd2rust/default.nix @@ -2,14 +2,14 @@ rustPlatform.buildRustPackage rec { pname = "svd2rust"; - version = "0.30.2"; + version = "0.31.0"; src = fetchCrate { inherit pname version; - hash = "sha256-nZ9c4Rog7dvlsnu4y33Yp+PJzwvBKvwyxF4V5UeJCVE="; + hash = "sha256-Ifi7KWq2jCSUvriKIVQ67a7Ow4aHriM2AjH6kW7+PGs="; }; - cargoHash = "sha256-wVv46yYlKsyxk+2eXwsd0jMC64Xk5+Krp18B2pKo0mo="; + cargoHash = "sha256-+aK+Uv0gDmCxvR4VqVM+nvoSJkldD1hE10QC3B25r0Y="; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' From a47da0a88e6f00cafda1a4e3c8749ba57920e630 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 24 Nov 2023 18:17:03 +0000 Subject: [PATCH 22/71] python311Packages.python-youtube: 0.9.2 -> 0.9.3 --- pkgs/development/python-modules/python-youtube/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-youtube/default.nix b/pkgs/development/python-modules/python-youtube/default.nix index d0fb764422fe..7a0d04e979b0 100644 --- a/pkgs/development/python-modules/python-youtube/default.nix +++ b/pkgs/development/python-modules/python-youtube/default.nix @@ -11,14 +11,14 @@ }: buildPythonPackage rec { pname = "python-youtube"; - version = "0.9.2"; + version = "0.9.3"; format = "pyproject"; src = fetchFromGitHub { owner = "sns-sdks"; repo = "python-youtube"; rev = "refs/tags/v${version}"; - hash = "sha256-jUs6n8j1coA37V0RTYqr7pqt+LRABieX7gbyWsXQpUM="; + hash = "sha256-vd+cbESypc/q7eSrERqkMvGhVMIfKMsoxPblPJwPiUg="; }; postPatch = '' From 23a9597a0ed8bd4bfef17b6982eefd5603b61b93 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sat, 25 Nov 2023 07:46:41 +1300 Subject: [PATCH 23/71] nile: fix passthru.updateScript The update script was erroneously carried over from the gogdl derivation code, upon which this derivation was based initially. It should be using unstableGitUpdater instead. Date in current "unstable" version string corrected to UTC. --- pkgs/games/nile/default.nix | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/pkgs/games/nile/default.nix b/pkgs/games/nile/default.nix index e3bf056fc3cf..deae40acf064 100644 --- a/pkgs/games/nile/default.nix +++ b/pkgs/games/nile/default.nix @@ -1,5 +1,5 @@ { lib -, writeScript +, unstableGitUpdater , buildPythonApplication , fetchFromGitHub , pythonOlder @@ -15,7 +15,7 @@ buildPythonApplication rec { pname = "nile"; - version = "unstable-2023-10-03"; + version = "unstable-2023-10-02"; format = "pyproject"; src = fetchFromGitHub { @@ -55,30 +55,5 @@ buildPythonApplication rec { maintainers = with maintainers; [ aidalgol ]; }; - # Upstream does not create git tags when bumping the version, so we have to - # extract it from the source code on the main branch. - passthru.updateScript = writeScript "gogdl-update-script" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p curl gnused jq common-updater-scripts - set -eou pipefail; - - owner=imLinguin - repo=nile - path='nile/__init__.py' - - version=$( - curl --cacert "${cacert}/etc/ssl/certs/ca-bundle.crt" \ - https://raw.githubusercontent.com/$owner/$repo/main/$path | - sed -n 's/^\s*version\s*=\s*"\([0-9]\.[0-9]\.[0-9]\)"\s*$/\1/p') - - commit=$(curl --cacert "${cacert}/etc/ssl/certs/ca-bundle.crt" \ - https://api.github.com/repos/$owner/$repo/commits?path=$path | - jq -r '.[0].sha') - - update-source-version \ - ${pname} \ - "$version" \ - --file=./pkgs/games/nile/default.nix \ - --rev=$commit - ''; + passthru.updateScript = unstableGitUpdater { }; } From 889760fb2a09045c851b751a133c74fb254527f2 Mon Sep 17 00:00:00 2001 From: Stefan Kranich Date: Fri, 24 Nov 2023 15:22:42 +0100 Subject: [PATCH 24/71] gnomeExtensions.gsconnect: 55 -> 56 --- .../gnome/extensions/gsconnect/default.nix | 4 +- .../extensions/gsconnect/fix-paths.patch | 40 +++++++++++-------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/pkgs/desktops/gnome/extensions/gsconnect/default.nix b/pkgs/desktops/gnome/extensions/gsconnect/default.nix index d4d8f0c3e0b8..b7577888df23 100644 --- a/pkgs/desktops/gnome/extensions/gsconnect/default.nix +++ b/pkgs/desktops/gnome/extensions/gsconnect/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { pname = "gnome-shell-extension-gsconnect"; - version = "55"; + version = "56"; outputs = [ "out" "installedTests" ]; @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { owner = "GSConnect"; repo = "gnome-shell-extension-gsconnect"; rev = "v${version}"; - hash = "sha256-n6NbNgl+2FOhly/BeR7I6BvPOYe7leAdeAegaqhcGJU="; + hash = "sha256-V2L65Fz1WcJE2ENE8uNgIuVSXLDHokcgM4Caz1sOdZM="; }; patches = [ diff --git a/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch b/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch index 894f5e0197be..7fe5e33fa6ad 100644 --- a/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch +++ b/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch @@ -11,29 +11,37 @@ index 3fb887c3..e8cbe1bd 100644 Terminal=false NoDisplay=true Icon=org.gnome.Shell.Extensions.GSConnect +diff --git a/src/__nix-prepend-search-paths.js b/src/__nix-prepend-search-paths.js +new file mode 100644 +index 00000000..d009dfd9 +--- /dev/null ++++ b/src/__nix-prepend-search-paths.js +@@ -0,0 +1,2 @@ ++import GIRepository from 'gi://GIRepository'; ++'@typelibPath@'.split(':').forEach(path => GIRepository.Repository.prepend_search_path(path)); diff --git a/src/extension.js b/src/extension.js -index 3fae443a..7aa19842 100644 +index 53ecd5fc..78782357 100644 --- a/src/extension.js +++ b/src/extension.js -@@ -4,6 +4,8 @@ +@@ -2,6 +2,8 @@ + // + // SPDX-License-Identifier: GPL-2.0-or-later - 'use strict'; - -+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path)); ++import './__nix-prepend-search-paths.js'; + - const Gio = imports.gi.Gio; - const GObject = imports.gi.GObject; - const Gtk = imports.gi.Gtk; + import Gio from 'gi://Gio'; + import GObject from 'gi://GObject'; + diff --git a/src/prefs.js b/src/prefs.js -index b8860c82..d6292606 100644 +index dd20fd20..5f82c53a 100644 --- a/src/prefs.js +++ b/src/prefs.js -@@ -4,6 +4,8 @@ +@@ -2,6 +2,8 @@ + // + // SPDX-License-Identifier: GPL-2.0-or-later - 'use strict'; - -+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path)); ++import './__nix-prepend-search-paths.js'; + - const {Gio, GLib, Adw} = imports.gi; - - // Bootstrap + import Gio from 'gi://Gio'; + import GLib from 'gi://GLib'; + import Adw from 'gi://Adw'; From 80887851ff201e53740a1fe037a900b4b8aeb9dd Mon Sep 17 00:00:00 2001 From: tali auster Date: Wed, 15 Nov 2023 15:51:05 -0700 Subject: [PATCH 25/71] e3-core: init at 22.3.1 --- .../e3-core/0001-use-distro-over-ld.patch | 42 ++++++++++++ .../python-modules/e3-core/default.nix | 65 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 3 files changed, 109 insertions(+) create mode 100644 pkgs/development/python-modules/e3-core/0001-use-distro-over-ld.patch create mode 100644 pkgs/development/python-modules/e3-core/default.nix diff --git a/pkgs/development/python-modules/e3-core/0001-use-distro-over-ld.patch b/pkgs/development/python-modules/e3-core/0001-use-distro-over-ld.patch new file mode 100644 index 000000000000..15548b7aec1c --- /dev/null +++ b/pkgs/development/python-modules/e3-core/0001-use-distro-over-ld.patch @@ -0,0 +1,42 @@ +From 189681bbfb703a7026ca7bbb3b21ef554807b144 Mon Sep 17 00:00:00 2001 +From: tali auster +Date: Wed, 15 Nov 2023 12:15:34 -0700 +Subject: [PATCH] use distro over ld + +The `ld` module (linux distribution) was renamed to `distro`, presumably +so as not to subsume binutils name. + +--- + setup.py | 2 +- + src/e3/os/platform.py | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index c32f46f..de1ada6 100644 +--- a/setup.py ++++ b/setup.py +@@ -25,7 +25,7 @@ for p in ("darwin", "linux", "linux2", "win32"): + platform_string = ":sys_platform=='%s'" % p + extras_require[platform_string] = ["psutil"] + if p in ("linux", "linux2"): +- extras_require[platform_string].append("ld") ++ extras_require[platform_string].append("distro") + + # Get e3 version from the VERSION file. + version_file = os.path.join(os.path.dirname(__file__), "VERSION") +diff --git a/src/e3/os/platform.py b/src/e3/os/platform.py +index 2d4e174..a9d12d3 100644 +--- a/src/e3/os/platform.py ++++ b/src/e3/os/platform.py +@@ -78,7 +78,7 @@ class SystemInfo: + + # Fetch linux distribution info on linux OS + if cls.uname.system == "Linux": # linux-only +- import ld ++ import distro as ld + + cls.ld_info = { + "name": ld.name(), +-- +2.40.1 + diff --git a/pkgs/development/python-modules/e3-core/default.nix b/pkgs/development/python-modules/e3-core/default.nix new file mode 100644 index 000000000000..95759b6a096c --- /dev/null +++ b/pkgs/development/python-modules/e3-core/default.nix @@ -0,0 +1,65 @@ +{ buildPythonPackage +, colorama +, coverage +, distro +, fetchFromGitHub +, httpretty +, lib +, mock +, psutil +, pytest +, pytest-socket +, python-dateutil +, pyyaml +, requests +, requests-toolbelt +, stdenv +, setuptools +, stevedore +, tomlkit +, tox +, tqdm +, typeguard +}: + +buildPythonPackage rec { + pname = "e3-core"; + version = "22.3.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "AdaCore"; + repo = "e3-core"; + rev = "v${version}"; + hash = "sha256-4StHOJldfeqApdF6D14Euzg9HvZ2e7G4/OQ0UrEbEIw="; + }; + + patches = [ ./0001-use-distro-over-ld.patch ]; + + nativeBuildInputs = [ setuptools ]; + + propagatedBuildInputs = [ + colorama pyyaml python-dateutil requests requests-toolbelt tqdm stevedore + ] ++ lib.optional stdenv.isLinux [ + # See setup.py:24. These are required only on Linux. Darwin has its own set + # of requirements. + psutil distro + ]; + + pythonImportsCheck = [ "e3" ]; + + # e3-core is tested with tox; it's hard to test without internet. + doCheck = false; + + meta = with lib; { + changelog = "https://github.com/AdaCore/e3-core/releases/tag/${src.rev}"; + homepage = "https://github.com/AdaCore/e3-core/"; + description = "Core framework for developing portable automated build systems"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ atalii ]; + mainProgram = "e3"; + # See the comment regarding distro and psutil. Other platforms are supported + # upstream, but not by this package. + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 922e5a1b792e..8fd8f75413a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3412,6 +3412,8 @@ self: super: with self; { dynd = callPackage ../development/python-modules/dynd { }; + e3-core = callPackage ../development/python-modules/e3-core { }; + eagle100 = callPackage ../development/python-modules/eagle100 { }; easydict = callPackage ../development/python-modules/easydict { }; From cdbe51d541d173118273de92e5638cbb885dbcee Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 00:44:18 +0000 Subject: [PATCH 26/71] lux: 0.21.0 -> 0.22.0 --- pkgs/tools/video/lux/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/video/lux/default.nix b/pkgs/tools/video/lux/default.nix index 6d1e92af4aca..fe81c15940e0 100644 --- a/pkgs/tools/video/lux/default.nix +++ b/pkgs/tools/video/lux/default.nix @@ -7,18 +7,18 @@ buildGoModule rec { pname = "lux"; - version = "0.21.0"; + version = "0.22.0"; src = fetchFromGitHub { owner = "iawia002"; repo = "lux"; rev = "v${version}"; - hash = "sha256-LCYWfF7O8wByCJNDi2BZsI7EU6wJqhcr/sbNOoQ2Src="; + hash = "sha256-v74+Ykz9aro1x+9psg2LnuodKE2/pCw9knZop0etQOg="; }; nativeBuildInputs = [ makeWrapper ]; - vendorHash = "sha256-wW/jrsurmyLcDX+58lp0M+snJ2avEs0HciNZ8BgIqrI="; + vendorHash = "sha256-1VZFKDoSuSUmYw7g6SwB/dXnFaw7+cGHKfgT96HaI/o="; ldflags = [ "-s" From 44a4aadba935f98df14ef39b4ad36bb6224707f9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 01:56:04 +0000 Subject: [PATCH 27/71] android-udev-rules: 20231030 -> 20231104 --- pkgs/os-specific/linux/android-udev-rules/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/android-udev-rules/default.nix b/pkgs/os-specific/linux/android-udev-rules/default.nix index 07cdbf6bdce7..ed0f4449dbe7 100644 --- a/pkgs/os-specific/linux/android-udev-rules/default.nix +++ b/pkgs/os-specific/linux/android-udev-rules/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "android-udev-rules"; - version = "20231030"; + version = "20231104"; src = fetchFromGitHub { owner = "M0Rf30"; repo = "android-udev-rules"; rev = version; - sha256 = "sha256-+h0FwvfIoluhldOi6cgVDvmNWe1Lvj1SV3pL8Zh+gRM="; + sha256 = "sha256-ziZDu4BWrotG93znEAeZFJ3RffYkotMcsQMFkfDY890="; }; installPhase = '' From 224395c2a19bf0009259b3ff681d56a8ae37952d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 03:15:33 +0000 Subject: [PATCH 28/71] hugo: 0.120.3 -> 0.120.4 --- pkgs/applications/misc/hugo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix index ef9be284b59d..d8b81ce8bebc 100644 --- a/pkgs/applications/misc/hugo/default.nix +++ b/pkgs/applications/misc/hugo/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "hugo"; - version = "0.120.3"; + version = "0.120.4"; src = fetchFromGitHub { owner = "gohugoio"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-96ikGGKw9IN/ch199oFcucp8aVR+fEiAWBeu39J2Osw="; + hash = "sha256-eBDlX+3Gb4bWRJ0ITwlx1c3q1RCFK2tyuKn9SALHbhI="; }; vendorHash = "sha256-kUKnoUQzLbi0ssxvK2viNTHLtqx8vaHLYXO8ZWU2rmw="; From 7241985bf6e5686c68bd8021ee94bfa7e7a6e74f Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 25 Nov 2023 04:20:00 +0000 Subject: [PATCH 29/71] gopass: 1.15.8 -> 1.15.9 Diff: https://github.com/gopasspw/gopass/compare/v1.15.8...v1.15.9 Changelog: https://github.com/gopasspw/gopass/blob/v1.15.9/CHANGELOG.md --- pkgs/tools/security/gopass/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/gopass/default.nix b/pkgs/tools/security/gopass/default.nix index 92c0992c86e6..3041066ad0b4 100644 --- a/pkgs/tools/security/gopass/default.nix +++ b/pkgs/tools/security/gopass/default.nix @@ -13,7 +13,7 @@ buildGoModule rec { pname = "gopass"; - version = "1.15.8"; + version = "1.15.9"; nativeBuildInputs = [ installShellFiles makeWrapper ]; @@ -21,10 +21,10 @@ buildGoModule rec { owner = "gopasspw"; repo = "gopass"; rev = "v${version}"; - hash = "sha256-l8Ce0ioMnSlet+PMrQCMvyH3IvmQaE1MQSJR9myyLB8="; + hash = "sha256-GGaFQyO/4FVG9gVW2xMiJJKEl+OECsvAdKvgonSDLG0="; }; - vendorHash = "sha256-xyQTlbTPAC2iG8XQ4oEHBXjfXauwuBhaTbsew23nlVw="; + vendorHash = "sha256-3x4AuUpsAdIm99tVAF2juFAaDhNKe2eMpWWrbsr3tq8="; subPackages = [ "." ]; From 2bd012f68de67258b6093b7448717dead2e210b3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 04:20:50 +0000 Subject: [PATCH 30/71] ksmbd-tools: 3.5.0 -> 3.5.1 --- pkgs/os-specific/linux/ksmbd-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/ksmbd-tools/default.nix b/pkgs/os-specific/linux/ksmbd-tools/default.nix index 4098f6c22258..edb9ce3fb8b7 100644 --- a/pkgs/os-specific/linux/ksmbd-tools/default.nix +++ b/pkgs/os-specific/linux/ksmbd-tools/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "ksmbd-tools"; - version = "3.5.0"; + version = "3.5.1"; src = fetchFromGitHub { owner = "cifsd-team"; repo = pname; rev = version; - sha256 = "sha256-8mjfKCazigHnuN7Egf11ZuD+nQx7ZTesn0a4LsVvV/M="; + sha256 = "sha256-1Htky39oggDqPYSbF4it2UMIxuoLp0aK+IjGojPgaiU="; }; buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5; From 2456fc6040719bfb758283d7aa326b167d6c16b2 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sat, 25 Nov 2023 18:07:21 +1300 Subject: [PATCH 31/71] teensy-udev-rules: correct meta attribute * Correct license attribute. * Use longDescription and description attributes correctly. --- pkgs/os-specific/linux/teensy-udev-rules/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/teensy-udev-rules/default.nix b/pkgs/os-specific/linux/teensy-udev-rules/default.nix index e3d50eee5f67..326cf0a3245f 100644 --- a/pkgs/os-specific/linux/teensy-udev-rules/default.nix +++ b/pkgs/os-specific/linux/teensy-udev-rules/default.nix @@ -19,7 +19,8 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://www.pjrc.com/teensy/00-teensy.rules"; - description = '' + description = "udev rules for the Teensy microcontrollers"; + longDescription = '' udev rules that give non-root users permission to communicate with the Teensy family of microcontrolers. @@ -28,7 +29,7 @@ stdenv.mkDerivation { this package's homepage) for possible workarounds. ''; platforms = platforms.linux; - license = "unknown"; + license = licenses.unfree; # No license specified. maintainers = with maintainers; [ aidalgol ]; }; } From 9f66feaae5cc1a8f6700e3e78a01211193b027e8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 06:49:12 +0000 Subject: [PATCH 32/71] intel-gmmlib: 22.3.12 -> 22.3.14 --- pkgs/development/libraries/intel-gmmlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/intel-gmmlib/default.nix b/pkgs/development/libraries/intel-gmmlib/default.nix index b909051aa77b..8782e4a5ea65 100644 --- a/pkgs/development/libraries/intel-gmmlib/default.nix +++ b/pkgs/development/libraries/intel-gmmlib/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "intel-gmmlib"; - version = "22.3.12"; + version = "22.3.14"; src = fetchFromGitHub { owner = "intel"; repo = "gmmlib"; rev = "intel-gmmlib-${version}"; - sha256 = "sha256-BfMH3gFInWiBCuFZC0bZzpoZCEQzv/+tMvRH9ep5rLk="; + sha256 = "sha256-hNewfGN/hO9hx2+1YmdPPqUORqpNwckQYSSO7zfeVAY="; }; nativeBuildInputs = [ cmake ]; From ae19c0c10568fe0bb447050aa6c08fae6b340668 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 07:35:00 +0000 Subject: [PATCH 33/71] chart-testing: 3.10.0 -> 3.10.1 --- .../networking/cluster/helm/chart-testing/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/helm/chart-testing/default.nix b/pkgs/applications/networking/cluster/helm/chart-testing/default.nix index f9d95627f765..97d5ef2d02e9 100644 --- a/pkgs/applications/networking/cluster/helm/chart-testing/default.nix +++ b/pkgs/applications/networking/cluster/helm/chart-testing/default.nix @@ -13,13 +13,13 @@ buildGoModule rec { pname = "chart-testing"; - version = "3.10.0"; + version = "3.10.1"; src = fetchFromGitHub { owner = "helm"; repo = pname; rev = "v${version}"; - hash = "sha256-2h1Pc313JZ/2NkFOOQnIrhe1Pm8FJ/BvxjAQhs/eSK0="; + hash = "sha256-btrnfL9U8k7jwo6ltVfbiSJFCX52zjfgf4E+IsWTYi4="; }; vendorHash = "sha256-E+7ndvXWzsU896/eWyupbvqkLed2ly91osptZKT79fk="; From c08c2809dd6b063cf526d6e39610fce8c0f139fc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 08:12:23 +0000 Subject: [PATCH 34/71] action-validator: 0.5.3 -> 0.5.4 --- pkgs/by-name/ac/action-validator/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ac/action-validator/package.nix b/pkgs/by-name/ac/action-validator/package.nix index 724e2337b007..90ba3c4913a7 100644 --- a/pkgs/by-name/ac/action-validator/package.nix +++ b/pkgs/by-name/ac/action-validator/package.nix @@ -5,17 +5,17 @@ rustPlatform.buildRustPackage rec { pname = "action-validator"; - version = "0.5.3"; + version = "0.5.4"; src = fetchFromGitHub { owner = "mpalmer"; repo = "action-validator"; rev = "v${version}"; - hash = "sha256-22oYPYGnNp4K68pbNMolGcIGDYqjT/3FibO/jv3IEvg="; + hash = "sha256-roWmks+AgRf2ACoI7Vc/QEyqgQ0bR/XhRwLk9VaLEdY="; fetchSubmodules = true; }; - cargoHash = "sha256-CVDqXuAxI1vCZV4w8DS3fOrsYFvJoI35fbe+hnSahLc="; + cargoHash = "sha256-WUtFWuk2y/xXe39doMqANaIr0bbxmLDpT4/H2GRGH6k="; meta = with lib; { description = "Tool to validate GitHub Action and Workflow YAML files"; From bcfbc2e0f27e965221f8f9212e26d9afc3733cd5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 08:23:49 +0000 Subject: [PATCH 35/71] ddosify: 1.0.5 -> 1.0.6 --- pkgs/development/tools/ddosify/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/ddosify/default.nix b/pkgs/development/tools/ddosify/default.nix index a9d5205f8b46..7a47665bf062 100644 --- a/pkgs/development/tools/ddosify/default.nix +++ b/pkgs/development/tools/ddosify/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "ddosify"; - version = "1.0.5"; + version = "1.0.6"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-oCbEAEBZJsMnnVu2N6eiQiaywovWmGUSVpUyWyS7TpM="; + sha256 = "sha256-5K/qXtdlDC09dEjRwYvoh9SapGLNmvywDMiNdwZDDTQ="; }; - vendorHash = "sha256-cGhMhX+SEv9fejViLZrEwXg584o204OQ5iR6AkxKnXo="; + vendorHash = "sha256-Wg4JzA2aEwNBsDrkauFUb9AS38ITLBGex9QHzDcdpoM="; ldflags = [ "-s" "-w" From b669aa3ffcfce350ce5574fa0f1d125d1865bd22 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 10:07:55 +0100 Subject: [PATCH 36/71] python311Packages.vulture: 2.9.1 -> 2.10 --- pkgs/development/python-modules/vulture/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vulture/default.nix b/pkgs/development/python-modules/vulture/default.nix index e3fcad870a95..c66a00f8a236 100644 --- a/pkgs/development/python-modules/vulture/default.nix +++ b/pkgs/development/python-modules/vulture/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "vulture"; - version = "2.9.1"; + version = "2.10"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-tqKqYytv1RSIqO6sZQq0pQm7GgMugZQ4F6ii5qY6MLM="; + hash = "sha256-KlwxYL/7p3WVtubfzEEgFr0qCc1LZs33+7qRNoSJn28="; }; postPatch = '' From ebffaa5f3aad2f4add9300e7b0bb24c64070ee6d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 10:12:57 +0100 Subject: [PATCH 37/71] python311Packages.vulture: refactor --- .../python-modules/vulture/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/vulture/default.nix b/pkgs/development/python-modules/vulture/default.nix index c66a00f8a236..5578b54ccd28 100644 --- a/pkgs/development/python-modules/vulture/default.nix +++ b/pkgs/development/python-modules/vulture/default.nix @@ -2,17 +2,19 @@ , buildPythonPackage , fetchPypi , pint -, pythonOlder , pytestCheckHook +, pythonOlder +, setuptools , toml +, tomli }: buildPythonPackage rec { pname = "vulture"; version = "2.10"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; @@ -24,13 +26,18 @@ buildPythonPackage rec { --replace " --cov vulture --cov-report=html --cov-report=term --cov-report=xml --cov-append" "" ''; - propagatedBuildInputs = [ - toml + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ + tomli ]; nativeCheckInputs = [ pint pytestCheckHook + toml ]; pythonImportsCheck = [ @@ -40,6 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "Finds unused code in Python programs"; homepage = "https://github.com/jendrikseipp/vulture"; + changelog = "https://github.com/jendrikseipp/vulture/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mcwitt ]; }; From 6c3adfb4c3a7ad2f53fbbefceb7399297d51f1b1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 10:20:25 +0100 Subject: [PATCH 38/71] python311Packages.pdunehd: 1.3.2 -> 1.3.3 Diff: https://github.com/valentinalexeev/pdunehd/compare/1.3.2...1.3.3 Changelog: https://github.com/valentinalexeev/pdunehd/releases/tag/1.3.3 --- pkgs/development/python-modules/pdunehd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdunehd/default.nix b/pkgs/development/python-modules/pdunehd/default.nix index 63eca0dab825..8b01a45ec69a 100644 --- a/pkgs/development/python-modules/pdunehd/default.nix +++ b/pkgs/development/python-modules/pdunehd/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pdunehd"; - version = "1.3.2"; + version = "1.3.3"; disabled = pythonOlder "3.6"; @@ -15,7 +15,7 @@ buildPythonPackage rec { owner = "valentinalexeev"; repo = "pdunehd"; rev = version; - sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh"; + sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw="; }; propagatedBuildInputs = [ From 9814de5032ed4bb09f6fe0c2468013cc7a1d94a1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 10:21:54 +0100 Subject: [PATCH 39/71] python311Packages.pdunehd: add changelog to meta --- pkgs/development/python-modules/pdunehd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pdunehd/default.nix b/pkgs/development/python-modules/pdunehd/default.nix index 8b01a45ec69a..e3ae53ecb85e 100644 --- a/pkgs/development/python-modules/pdunehd/default.nix +++ b/pkgs/development/python-modules/pdunehd/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "valentinalexeev"; repo = "pdunehd"; - rev = version; + rev = "refs/tags/${version}"; sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw="; }; @@ -30,6 +30,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python wrapper for Dune HD media player API"; homepage = "https://github.com/valentinalexeev/pdunehd"; + changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ dotlambda ]; }; From 65217c32df798138081d5fd724998dfbcdc2dfe7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 09:49:02 +0000 Subject: [PATCH 40/71] powerstat: 0.03.03 -> 0.04.01 --- pkgs/os-specific/linux/powerstat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/powerstat/default.nix b/pkgs/os-specific/linux/powerstat/default.nix index 901a522fe8fa..605b97e4be2f 100644 --- a/pkgs/os-specific/linux/powerstat/default.nix +++ b/pkgs/os-specific/linux/powerstat/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "powerstat"; - version = "0.03.03"; + version = "0.04.01"; src = fetchFromGitHub { owner = "ColinIanKing"; repo = pname; rev = "V${version}"; - hash = "sha256-D8VwczXHUHQ8p03IgYW3t8hOIGHKp0n1c7FpAUWua74="; + hash = "sha256-Wf6V2zaUrirzd3hfkq74mHNqlzxyr8p4B4qe0kLozM8="; }; installFlags = [ From 055b31d670bcf561890705a8d69e2854561a389e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 11:04:02 +0100 Subject: [PATCH 41/71] python311Packages.aiolifx: 0.9.0 -> 1.0.0 Changelog: https://github.com/frawau/aiolifx/releases/tag/1.0.0 --- pkgs/development/python-modules/aiolifx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index 69292db13cd5..10e048866e8c 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "aiolifx"; - version = "0.9.0"; + version = "1.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-oK8Ih62EFwu3X5PNVFLH+Uce6ZBs7IMXet5/DHxfd5M="; + hash = "sha256-2lWC2eTYh/YX0Pn3W11uVqqT2ycsa993siiDR2BV4qU="; }; propagatedBuildInputs = [ From 144c241d6a7103d045c295107c81b4cf36fad800 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 11:06:43 +0100 Subject: [PATCH 42/71] python311Packages.aiolifx: refactor --- pkgs/development/python-modules/aiolifx/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index 10e048866e8c..9bda581ff39f 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -7,12 +7,13 @@ , ifaddr , inquirerpy , bitstring +, setuptools }: buildPythonPackage rec { pname = "aiolifx"; version = "1.0.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,6 +22,10 @@ buildPythonPackage rec { hash = "sha256-2lWC2eTYh/YX0Pn3W11uVqqT2ycsa993siiDR2BV4qU="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ async-timeout bitstring From 6568016fa3397dfb07965855f56171a9c55ef7d7 Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Fri, 16 Sep 2022 19:12:24 +0200 Subject: [PATCH 43/71] u-boot: ROCK64 RAM init improvements This switches the ROCK64 over to the open-source RAM init as it now works flawlessly. It also removes the HDCP flag from the ATF for the RK3328 as it cannot use it, it is only used in the RK3399. This makes the ROCK64 u-boot now fully open. There is also an issue with the ROCK64 v2 revision where the DRAM routing is marginal, making some of them unstable. So also package a variant which uses a lower-speed DDR3 timing configuration which is stable on these boards. --- pkgs/misc/arm-trusted-firmware/default.nix | 1 - pkgs/misc/uboot/default.nix | 42 ++++++++++------------ pkgs/top-level/all-packages.nix | 1 + 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/pkgs/misc/arm-trusted-firmware/default.nix b/pkgs/misc/arm-trusted-firmware/default.nix index 92bd7e0bee5b..444fcebe38fa 100644 --- a/pkgs/misc/arm-trusted-firmware/default.nix +++ b/pkgs/misc/arm-trusted-firmware/default.nix @@ -141,7 +141,6 @@ in { platform = "rk3328"; extraMeta.platforms = ["aarch64-linux"]; filesToInstall = [ "build/${platform}/release/bl31/bl31.elf"]; - platformCanUseHDCPBlob = true; }; armTrustedFirmwareRK3399 = buildArmTrustedFirmware rec { diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 54a5f6be0920..6f32434afaac 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -497,32 +497,28 @@ in { filesToInstall = ["u-boot.bin"]; }; - ubootRock64 = let - rkbin = fetchFromGitHub { - owner = "ayufan-rock64"; - repo = "rkbin"; - rev = "f79a708978232a2b6b06c2e4173c5314559e0d3a"; - sha256 = "0h7xm4ck3p3380c6bqm5ixrkxwcx6z5vysqdwvfa7gcqx5d6x5zz"; - }; - in buildUBoot { + ubootRock64 = buildUBoot { defconfig = "rock64-rk3328_defconfig"; - extraMeta = { - platforms = [ "aarch64-linux" ]; - license = lib.licenses.unfreeRedistributableFirmware; - }; + extraMeta.platforms = [ "aarch64-linux" ]; BL31="${armTrustedFirmwareRK3328}/bl31.elf"; - filesToInstall = [ "u-boot.itb" "idbloader.img"]; - # Derive MAC address from cpuid - # Submitted upstream: https://patchwork.ozlabs.org/patch/1203686/ - extraConfig = '' - CONFIG_MISC_INIT_R=y - ''; - # Close to being blob free, but the U-Boot TPL causes random memory - # corruption - postBuild = '' - ./tools/mkimage -n rk3328 -T rksd -d ${rkbin}/rk33/rk3328_ddr_786MHz_v1.13.bin idbloader.img - cat spl/u-boot-spl.bin >> idbloader.img + filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ]; + }; + + # A special build with much lower memory frequency (666 vs 1600 MT/s) which + # makes ROCK64 V2 boards stable. This is necessary because the DDR3 routing + # on that revision is marginal and not uncoditionally stable at the specified + # frequency. If your ROCK64 is unstable you can try this u-boot variant to + # see if it works better for you. The only disadvantage is lowered memory + # bandwidth. + ubootRock64v2 = buildUBoot { + prePatch = '' + substituteInPlace arch/arm/dts/rk3328-rock64-u-boot.dtsi \ + --replace rk3328-sdram-lpddr3-1600.dtsi rk3328-sdram-lpddr3-666.dtsi ''; + defconfig = "rock64-rk3328_defconfig"; + extraMeta.platforms = [ "aarch64-linux" ]; + BL31="${armTrustedFirmwareRK3328}/bl31.elf"; + filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ]; }; ubootRockPro64 = buildUBoot { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6d08259807ab..51181601f660 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28876,6 +28876,7 @@ with pkgs; ubootRaspberryPi4_64bit ubootRaspberryPiZero ubootRock64 + ubootRock64v2 ubootRockPi4 ubootRockPro64 ubootROCPCRK3399 From 861fb5c048f2118d591555b9bf90a2c0f410dabc Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 25 Nov 2023 11:15:00 +0100 Subject: [PATCH 44/71] python311Packages.pymc: 5.9.2 -> 5.10.0 Changelog: https://github.com/pymc-devs/pymc/releases/tag/v5.10.0 --- pkgs/development/python-modules/pymc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymc/default.nix b/pkgs/development/python-modules/pymc/default.nix index 4fd1a1535ecd..355d8511b6a4 100644 --- a/pkgs/development/python-modules/pymc/default.nix +++ b/pkgs/development/python-modules/pymc/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pymc"; - version = "5.9.2"; + version = "5.10.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "pymc-devs"; repo = "pymc"; rev = "refs/tags/v${version}"; - hash = "sha256-fbS4JSbmdOGz570awEpT6ut0NJ8TbiAeJWaETMBeI3c="; + hash = "sha256-cjvEP7vkFQKwUPwHw3JWbS8+U8PEaL3c1D2NwV3uLOU="; }; propagatedBuildInputs = [ From efc80f379c114f9070a7f2a9433bff40c9e30dde Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 11:44:35 +0100 Subject: [PATCH 45/71] ddosify: refactor --- pkgs/development/tools/ddosify/default.nix | 23 +++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/tools/ddosify/default.nix b/pkgs/development/tools/ddosify/default.nix index 7a47665bf062..b1e659ec8d6d 100644 --- a/pkgs/development/tools/ddosify/default.nix +++ b/pkgs/development/tools/ddosify/default.nix @@ -1,29 +1,34 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: buildGoModule rec { pname = "ddosify"; version = "1.0.6"; src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-5K/qXtdlDC09dEjRwYvoh9SapGLNmvywDMiNdwZDDTQ="; + owner = "ddosify"; + repo = "ddosify"; + rev = "refs/tags/v${version}"; + hash = "sha256-5K/qXtdlDC09dEjRwYvoh9SapGLNmvywDMiNdwZDDTQ="; }; vendorHash = "sha256-Wg4JzA2aEwNBsDrkauFUb9AS38ITLBGex9QHzDcdpoM="; ldflags = [ - "-s" "-w" - "-X main.GitVersion=${version}" - "-X main.GitCommit=unknown" - "-X main.BuildDate=unknown" + "-s" + "-w" + "-X=main.GitVersion=${version}" + "-X=main.GitCommit=unknown" + "-X=main.BuildDate=unknown" ]; # TestCreateHammerMultipartPayload error occurred - Get "https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg" doCheck = false; doInstallCheck = true; + installCheckPhase = '' $out/bin/ddosify -version | grep ${version} > /dev/null ''; From 7625075fae710416ac4c2228e6e801ad639b97cb Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 25 Nov 2023 21:05:31 +1000 Subject: [PATCH 46/71] terragrunt: 0.53.5 -> 0.53.6 --- pkgs/applications/networking/cluster/terragrunt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index d11f15d0ab89..07cdf772f7b1 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "terragrunt"; - version = "0.53.5"; + version = "0.53.6"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-1rGRtBDCw35y8x14lno+obUTzplFU5u3f87I5TVO7/8="; + hash = "sha256-v8e23jzSUHLJwg67Ype+kCM3g/ZyxiSd8cLuywqZj3Y="; }; vendorHash = "sha256-h1rDXxvPhQfGUpxOmnksy3l8kMq93nxOQ9adJFyZnOY="; From 1095d8934b11e76de30ff3b2e8d442e470436490 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 25 Nov 2023 12:10:50 +0100 Subject: [PATCH 47/71] rocksdb: use finalAttrs --- pkgs/development/libraries/rocksdb/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix index e48c812b3912..f33f90830887 100644 --- a/pkgs/development/libraries/rocksdb/default.nix +++ b/pkgs/development/libraries/rocksdb/default.nix @@ -16,14 +16,14 @@ , sse42Support ? stdenv.hostPlatform.sse4_2Support }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "rocksdb"; version = "8.3.2"; src = fetchFromGitHub { owner = "facebook"; - repo = pname; - rev = "v${version}"; + repo = finalAttrs.pname; + rev = "v${finalAttrs.version}"; hash = "sha256-mfIRQ8nkUbZ3Bugy3NAvOhcfzFY84J2kBUIUBcQ2/Qg="; }; @@ -77,7 +77,7 @@ stdenv.mkDerivation rec { mkdir -p $tools/bin cp tools/{ldb,sst_dump}${stdenv.hostPlatform.extensions.executable} $tools/bin/ '' + lib.optionalString stdenv.isDarwin '' - ls -1 $tools/bin/* | xargs -I{} install_name_tool -change "@rpath/librocksdb.${lib.versions.major version}.dylib" $out/lib/librocksdb.dylib {} + ls -1 $tools/bin/* | xargs -I{} install_name_tool -change "@rpath/librocksdb.${lib.versions.major finalAttrs.version}.dylib" $out/lib/librocksdb.dylib {} '' + lib.optionalString (stdenv.isLinux && enableShared) '' ls -1 $tools/bin/* | xargs -I{} patchelf --set-rpath $out/lib:${stdenv.cc.cc.lib}/lib {} ''; @@ -93,9 +93,9 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://rocksdb.org"; description = "A library that provides an embeddable, persistent key-value store for fast storage"; - changelog = "https://github.com/facebook/rocksdb/raw/v${version}/HISTORY.md"; + changelog = "https://github.com/facebook/rocksdb/raw/v${finalAttrs.version}/HISTORY.md"; license = licenses.asl20; platforms = platforms.all; maintainers = with maintainers; [ adev magenbluten ]; }; -} +}) From e4c1138cb75fd8fee16675e05199b7413f853251 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 25 Nov 2023 21:12:39 +1000 Subject: [PATCH 48/71] karmor: 0.14.2 -> 0.14.3 --- pkgs/applications/networking/cluster/karmor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/karmor/default.nix b/pkgs/applications/networking/cluster/karmor/default.nix index e4bd3be1e78e..2dee8f6fb148 100644 --- a/pkgs/applications/networking/cluster/karmor/default.nix +++ b/pkgs/applications/networking/cluster/karmor/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "karmor"; - version = "0.14.2"; + version = "0.14.3"; src = fetchFromGitHub { owner = "kubearmor"; repo = "kubearmor-client"; rev = "v${version}"; - hash = "sha256-SHijhYZyvaBkRVt0BO37OXEjaDGUIeO+PfrmUqPJf/M="; + hash = "sha256-D0BsjAZ7yhbZ8dJ3U/K2tdKhLTZBmK/HorApSYVb3ww="; }; - vendorHash = "sha256-fxbyAd2NaU1WQCPE+Feb1mrz6dzwCyZqanm+wfBL/IE="; + vendorHash = "sha256-vCcdQt8/jkUQVz0SpjWUhiJd7d3ePIF6qLD8NKCc618="; nativeBuildInputs = [ installShellFiles ]; From 11e39b43a0772cc4ead0101646e8fd4fd78f32ea Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 25 Nov 2023 12:11:06 +0100 Subject: [PATCH 49/71] rocksdb: fix build of versions < 8 There is a code that triggers "unused-but-set-variable" warning (in versions 7.x and 6.x) which is promoted to error. There is another code that triggers "deprecated-copy" warning (in versions 6.x). This change prevents this promotion, so older versions of rocksdb build successfully again. --- pkgs/development/libraries/rocksdb/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix index f33f90830887..c25a349ba32d 100644 --- a/pkgs/development/libraries/rocksdb/default.nix +++ b/pkgs/development/libraries/rocksdb/default.nix @@ -48,6 +48,10 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.cc.isClang [ "-Wno-error=unused-private-field" "-faligned-allocation" + ] ++ lib.optionals (lib.versionOlder finalAttrs.version "8") [ + "-Wno-error=unused-but-set-variable" + ] ++ lib.optionals (lib.versionOlder finalAttrs.version "7") [ + "-Wno-error=deprecated-copy" ]); cmakeFlags = [ From 9d1029f25386649794951d7354b3284ae06adf62 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 22 Nov 2023 23:05:09 +0100 Subject: [PATCH 50/71] anki: migrate to prefetch-yarn-deps --- pkgs/games/anki/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index b2be643b60ee..c28202dc1449 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -5,13 +5,13 @@ , cargo , fetchFromGitHub , fetchYarnDeps -, fixup_yarn_lock , installShellFiles , lame , mpv-unwrapped , ninja , nodejs , nodejs-slim +, prefetch-yarn-deps , protobuf , python3 , qt6 @@ -100,15 +100,15 @@ let inherit version src yarnOfflineCache; nativeBuildInputs = [ - fixup_yarn_lock nodejs-slim + prefetch-yarn-deps yarn ]; configurePhase = '' export HOME=$NIX_BUILD_TOP yarn config --offline set yarn-offline-mirror $yarnOfflineCache - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/ ''; @@ -135,8 +135,8 @@ python3.pkgs.buildPythonApplication { nativeBuildInputs = [ fakeGit - fixup_yarn_lock offlineYarn + prefetch-yarn-deps cargo installShellFiles @@ -232,7 +232,7 @@ python3.pkgs.buildPythonApplication { export HOME=$NIX_BUILD_TOP yarn config --offline set yarn-offline-mirror $yarnOfflineCache - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock patchShebangs ./ninja PIP_USER=1 ./ninja build wheels From ffe74b6158287a8730800ae81243f876b4bfef29 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 25 Nov 2023 21:47:14 +1000 Subject: [PATCH 51/71] pscale: 1.161.0 -> 1.162.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 5e3b6b7942b6..4cab671e64dd 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.161.0"; + version = "0.162.0"; src = fetchFromGitHub { owner = "planetscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-7PzuFhlOlU5uGsJyGOY761JfzqaPkkkftRlYrvUKEoU="; + sha256 = "sha256-F+iBO4R+JSOaNHw/+T8X2P+8Q/l0hKN2tu/rRshY/5A="; }; - vendorHash = "sha256-fhYd2C9xY0kQez6+MofimJP+brLvMDFXlW6kDSI4iqA="; + vendorHash = "sha256-WNbHnYCC8G0kxsLWOZWDFugBQ7E5YT2pTQy+wczZ1qU="; ldflags = [ "-s" "-w" From 232bf80bdc7ed6db0eb70a9b8f9ece3d80afe242 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 25 Nov 2023 22:05:40 +1000 Subject: [PATCH 52/71] civo: 1.0.68 -> 1.0.69 --- pkgs/applications/networking/cluster/civo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/applications/networking/cluster/civo/default.nix index f33d11a4c9a4..aaf76d727c62 100644 --- a/pkgs/applications/networking/cluster/civo/default.nix +++ b/pkgs/applications/networking/cluster/civo/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "civo"; - version = "1.0.68"; + version = "1.0.69"; src = fetchFromGitHub { owner = "civo"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-qvcMA8oPDyi8WoIzr/3mu+2cHDXn5rgLUmnsGdOQXVM="; + sha256 = "sha256-gecvS7Vwg1TQTjbDsKrwnf5/eA7XOnIvb6xw8MZDUkU="; }; - vendorHash = "sha256-C+XaX78iGKw6Ll7PMPFWWAy6fRwjrmbLhFdmqJPMrxc="; + vendorHash = "sha256-cJIdF+zujftCIBzzzUpXLUWXCP4+n+gSaPJsatEQuOs="; nativeBuildInputs = [ installShellFiles ]; From dd6c677c4d49ddb2f8c00e68b542acd48a917c7a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 25 Nov 2023 13:09:01 +0100 Subject: [PATCH 53/71] grafana-agent: migrate to prefetch-yarn-deps --- pkgs/servers/monitoring/grafana-agent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix index a970b998065a..bf341c0bfb17 100644 --- a/pkgs/servers/monitoring/grafana-agent/default.nix +++ b/pkgs/servers/monitoring/grafana-agent/default.nix @@ -2,7 +2,7 @@ , buildGoModule , fetchFromGitHub , fetchYarnDeps -, fixup_yarn_lock +, prefetch-yarn-deps , grafana-agent , nixosTests , nodejs @@ -43,7 +43,7 @@ buildGoModule rec { "-X ${prefix}.BuildDate=1980-01-01T00:00:00Z" ]; - nativeBuildInputs = [ fixup_yarn_lock nodejs yarn ]; + nativeBuildInputs = [ prefetch-yarn-deps nodejs yarn ]; tags = [ "builtinassets" @@ -62,7 +62,7 @@ buildGoModule rec { export HOME="$TMPDIR" pushd web/ui - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror $frontendYarnOfflineCache yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules From 5df1bb20c8ef1d8c54aed0aa8e43f66ace1e8162 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 12:13:00 +0000 Subject: [PATCH 54/71] python311Packages.vertica-python: 1.3.6 -> 1.3.7 --- pkgs/development/python-modules/vertica-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vertica-python/default.nix b/pkgs/development/python-modules/vertica-python/default.nix index 26660fec990a..018b0b27bf52 100644 --- a/pkgs/development/python-modules/vertica-python/default.nix +++ b/pkgs/development/python-modules/vertica-python/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "vertica-python"; - version = "1.3.6"; + version = "1.3.7"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-LLlaLP9NgzpJyxsEGPd7sdcVX/qXY8mO3ZQNm39gocM="; + hash = "sha256-Kl8NARHTzEZrh5I//TwmITKp+g44lk5D7vkKPM2ldFI="; }; propagatedBuildInputs = [ From d1941e77241c3ff1e2008c35130c6e903c75dcf2 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 25 Nov 2023 13:28:30 +0100 Subject: [PATCH 55/71] gotify-server: migrate to prefetch-yarn-deps --- pkgs/servers/gotify/ui.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/gotify/ui.nix b/pkgs/servers/gotify/ui.nix index 811fa41540ab..e22831cfbbdc 100644 --- a/pkgs/servers/gotify/ui.nix +++ b/pkgs/servers/gotify/ui.nix @@ -1,6 +1,6 @@ { stdenv , yarn -, fixup_yarn_lock +, prefetch-yarn-deps , nodejs-slim , fetchFromGitHub , fetchYarnDeps @@ -18,12 +18,12 @@ stdenv.mkDerivation rec { hash = "sha256-ejHzo6NHCMlNiYePWvfMY9Blb58pj3UQ5PFI0V84flI="; }; - nativeBuildInputs = [ yarn fixup_yarn_lock nodejs-slim ]; + nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs-slim ]; postPatch = '' export HOME=$NIX_BUILD_TOP/fake_home yarn config --offline set yarn-offline-mirror $offlineCache - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/ ''; From fc235bb0fcb324cbce510f4cf1e1e51a6615a195 Mon Sep 17 00:00:00 2001 From: Alexandre Macabies Date: Sat, 25 Nov 2023 13:38:39 +0100 Subject: [PATCH 56/71] python/hooks: use python.pythonVersion to support PyPy f292ef4 introduced a check for the Python version but uses `.version`, which isn't friendly to other Pythons like PyPy which use versions strings like 7.3, failing the >=3.10 check. Using `.pythonVersion` fixes this check. Co-authored-by: Pierre Bourdon --- pkgs/development/interpreters/python/hooks/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix index 0a4600b9d6c3..35116b38f810 100644 --- a/pkgs/development/interpreters/python/hooks/default.nix +++ b/pkgs/development/interpreters/python/hooks/default.nix @@ -107,7 +107,7 @@ in { makePythonHook { name = "python-catch-conflicts-hook"; substitutions = let - useLegacyHook = lib.versionOlder python.version "3.10"; + useLegacyHook = lib.versionOlder python.pythonVersion "3.10"; in { inherit pythonInterpreter pythonSitePackages; catchConflicts = if useLegacyHook then From f6ef3d2527bf033808951d304ab759b3ea08ec9f Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 25 Nov 2023 22:39:35 +1000 Subject: [PATCH 57/71] exoscale-cli: 1.74.4 -> 1.75.0 --- pkgs/tools/admin/exoscale-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/exoscale-cli/default.nix b/pkgs/tools/admin/exoscale-cli/default.nix index e7d889e9009c..f400d7f537c7 100644 --- a/pkgs/tools/admin/exoscale-cli/default.nix +++ b/pkgs/tools/admin/exoscale-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "exoscale-cli"; - version = "1.74.4"; + version = "1.75.0"; src = fetchFromGitHub { owner = "exoscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-PzjIcdzEmX+0PRurOX5ZQ4LQnBny9Av8eKhPsyiZb6c="; + sha256 = "sha256-9BGcP35nTEHccDKLIBNgZbU2xjtFAKtEHLRt8kTlgv0="; }; vendorHash = null; From 3e96f75e85822d7b643b894eb1d0c4665122f82e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 25 Nov 2023 13:55:24 +0100 Subject: [PATCH 58/71] river: 0.2.5 -> 0.2.6 Diff: https://github.com/riverwm/river/compare/refs/tags/v0.2.5...v0.2.6 Changelog: https://github.com/ifreund/river/releases/tag/v0.2.6 --- pkgs/applications/window-managers/river/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/river/default.nix b/pkgs/applications/window-managers/river/default.nix index 55ab62be1322..4c59222d31bb 100644 --- a/pkgs/applications/window-managers/river/default.nix +++ b/pkgs/applications/window-managers/river/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "river"; - version = "0.2.5"; + version = "0.2.6"; outputs = [ "out" ] ++ lib.optionals withManpages [ "man" ]; @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { repo = "river"; rev = "refs/tags/v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-Xd9hg7UGTBlEyw8BDpTQYq/IRC7vUXhMx9j7YcCaQ20="; + hash = "sha256-JPb8l5ANxYCqinWNoQK5PAyn4CaiSj0e9mAhZwd9HOw="; }; nativeBuildInputs = [ From fb1cc4af9c3ff397b0732ddfdeafd826ad54119b Mon Sep 17 00:00:00 2001 From: Manuel Frischknecht Date: Sat, 25 Nov 2023 13:42:02 +0100 Subject: [PATCH 59/71] Skip `sqlite3_bind_bug68849.phpt` php unit test on i686 linux PHP unit tests are broken with SQLite >= 3.43 [1]. If I understand the discussion in the SQLite forums [2] on the issue correctly, the trigger for this should not be a problem with SQLite itself but the test itself (and thus using a current SQLite version shouldn't generally be a problem for actual PHP code). [1]: https://github.com/php/php-src/issues/12076 [2]: https://www.sqlite.org/forum/forumpost/abbb95376ec6cd5f --- .../php/skip-sqlite3_bind_bug68849.phpt.patch | 75 +++++++++++++++++++ pkgs/top-level/php-packages.nix | 10 ++- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/interpreters/php/skip-sqlite3_bind_bug68849.phpt.patch diff --git a/pkgs/development/interpreters/php/skip-sqlite3_bind_bug68849.phpt.patch b/pkgs/development/interpreters/php/skip-sqlite3_bind_bug68849.phpt.patch new file mode 100644 index 000000000000..8e208e52dbab --- /dev/null +++ b/pkgs/development/interpreters/php/skip-sqlite3_bind_bug68849.phpt.patch @@ -0,0 +1,75 @@ +diff --git a/ext/sqlite3/tests/sqlite3_bind_bug68849.phpt b/ext/sqlite3/tests/sqlite3_bind_bug68849.phpt +deleted file mode 100644 +index 6324d079..00000000 +--- a/ext/sqlite3/tests/sqlite3_bind_bug68849.phpt ++++ /dev/null +@@ -1,69 +0,0 @@ +---TEST-- +-Bug #68849 bindValue is not using the right data type +---EXTENSIONS-- +-sqlite3 +---FILE-- +-exec("CREATE TABLE test (a INTEGER, b TEXT, c REAL);" . +- "INSERT INTO test VALUES (1, 'hello', 3.14);" . +- "INSERT INTO test VALUES (3, 'world', 3.15);" . +- "INSERT INTO test VALUES (0, '42', 0.42);" +-); +- +-$s = $db->prepare('SELECT * FROM test WHERE (a+2) = ?;'); +-$s->bindValue(1, 3); +-$r = $s->execute(); +-var_dump($r->fetchArray(SQLITE3_ASSOC)); +- +-$s = $db->prepare('SELECT * FROM test WHERE a = ?;'); +-$s->bindValue(1, true); +-$r = $s->execute(); +-var_dump($r->fetchArray(SQLITE3_ASSOC)); +- +-$s = $db->prepare('SELECT * FROM test WHERE a = ?;'); +-$s->bindValue(1, false); +-$r = $s->execute(); +-var_dump($r->fetchArray(SQLITE3_ASSOC)); +- +-$s = $db->prepare('SELECT * FROM test WHERE c = ?;'); +-$s->bindValue(1, 3.15); +-$r = $s->execute(); +-var_dump($r->fetchArray(SQLITE3_ASSOC)); +- +-?> +---EXPECT-- +-array(3) { +- ["a"]=> +- int(1) +- ["b"]=> +- string(5) "hello" +- ["c"]=> +- float(3.14) +-} +-array(3) { +- ["a"]=> +- int(1) +- ["b"]=> +- string(5) "hello" +- ["c"]=> +- float(3.14) +-} +-array(3) { +- ["a"]=> +- int(0) +- ["b"]=> +- string(2) "42" +- ["c"]=> +- float(0.42) +-} +-array(3) { +- ["a"]=> +- int(3) +- ["b"]=> +- string(5) "world" +- ["c"]=> +- float(3.15) +-} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 20e39d98fb42..a6c8905132c6 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -600,7 +600,15 @@ lib.makeScope pkgs.newScope (self: with self; { doCheck = false; } { name = "sodium"; buildInputs = [ libsodium ]; } - { name = "sqlite3"; buildInputs = [ sqlite ]; } + { + name = "sqlite3"; + buildInputs = [ sqlite ]; + + # The `sqlite3_bind_bug68849.phpt` test is currently broken for i686 Linux systems since sqlite 3.43, cf.: + # - https://github.com/php/php-src/issues/12076 + # - https://www.sqlite.org/forum/forumpost/abbb95376ec6cd5f + patches = lib.optional (stdenv.isi686 && stdenv.isLinux) ../development/interpreters/php/skip-sqlite3_bind_bug68849.phpt.patch; + } { name = "sysvmsg"; } { name = "sysvsem"; } { name = "sysvshm"; } From 2fc0b97e57f3a0437a865663fc92452aa23568ca Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 13:24:33 +0000 Subject: [PATCH 60/71] xmrig-proxy: 6.20.0 -> 6.21.0 --- pkgs/applications/misc/xmrig/proxy.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/xmrig/proxy.nix b/pkgs/applications/misc/xmrig/proxy.nix index b6047ec13b6f..0acaece4cc02 100644 --- a/pkgs/applications/misc/xmrig/proxy.nix +++ b/pkgs/applications/misc/xmrig/proxy.nix @@ -13,13 +13,13 @@ let in stdenv.mkDerivation rec { pname = "xmrig-proxy"; - version = "6.20.0"; + version = "6.21.0"; src = fetchFromGitHub { owner = "xmrig"; repo = "xmrig-proxy"; rev = "v${version}"; - hash = "sha256-RliH4cr96lsigtoJiq5ymkIY8rbXG4xYmhWDAwZpSY0="; + hash = "sha256-ICRzd1iCm/TciVe0RqVFiiY74RK0KpEGPJ2v+wSRIEo="; }; postPatch = '' From 3ccf35fa5339d4d21f649db625305f1886d12cb9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Oct 2023 01:47:36 +0000 Subject: [PATCH 61/71] khronos: 3.7.0 -> 4.0.1 --- pkgs/applications/office/khronos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/khronos/default.nix b/pkgs/applications/office/khronos/default.nix index 26a435203582..6dfa848c7b88 100644 --- a/pkgs/applications/office/khronos/default.nix +++ b/pkgs/applications/office/khronos/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "khronos"; - version = "3.7.0"; + version = "4.0.1"; src = fetchFromGitHub { owner = "lainsce"; repo = pname; rev = version; - sha256 = "sha256-k3U8ICnwMbR6vN+gELWytI2Etri5lvbE6AX6lUpr7dQ="; + sha256 = "sha256-2mO2ZMDxZ7sx2EVTN0tsAv8MisGxlK/1h61N+hOqyGI="; }; nativeBuildInputs = [ From 833354eb44a29e921f7c9e8f519fee9cb61785aa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Nov 2023 13:38:58 +0000 Subject: [PATCH 62/71] gerrit: 3.8.2 -> 3.8.3 --- pkgs/applications/version-management/gerrit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/gerrit/default.nix b/pkgs/applications/version-management/gerrit/default.nix index f5a8e8b25bb9..4ec89b050931 100644 --- a/pkgs/applications/version-management/gerrit/default.nix +++ b/pkgs/applications/version-management/gerrit/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "gerrit"; - version = "3.8.2"; + version = "3.8.3"; src = fetchurl { url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war"; - hash = "sha256-irzzG8qLJaBdRULGRyoYkn0tc4Yfcg/xe2SLriD8mtM="; + hash = "sha256-EfXnJ7oyXsnAajUPJTmBQE/lUCW8Xm/hF4+N6BvX6fQ="; }; buildCommand = '' From 5304b1a4eaee5234751103751c93d0d8533950b2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 25 Nov 2023 10:55:57 +0100 Subject: [PATCH 63/71] vimPlugins.fidget-nvim: switch branch from legacy to main --- pkgs/applications/editors/vim/plugins/generated.nix | 6 +++--- pkgs/applications/editors/vim/plugins/vim-plugin-names | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 010c0c89d538..179d90c7199b 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -3348,12 +3348,12 @@ final: prev: fidget-nvim = buildVimPlugin { pname = "fidget.nvim"; - version = "2023-11-09"; + version = "2023-11-20"; src = fetchFromGitHub { owner = "j-hui"; repo = "fidget.nvim"; - rev = "2f7c08f45639a64a5c0abcf67321d52c3f499ae6"; - sha256 = "0x4vbqbpzsw1pkqnm6l8hymm35vnfpl5vdaa91g6890q9q57csgh"; + rev = "a1493d94ecb3464ab3ae4d5855765310566dace4"; + sha256 = "sha256-701UBfmtSH/XyEq80EfoGlukLpAVdwRGHpIs4AcVGSY="; }; meta.homepage = "https://github.com/j-hui/fidget.nvim/"; }; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 2ecd1bdb171a..4f7d3b239633 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -278,7 +278,7 @@ https://github.com/freddiehaddad/feline.nvim/,, https://github.com/bakpakin/fennel.vim/,, https://github.com/lambdalisue/fern.vim/,, https://github.com/wincent/ferret/,, -https://github.com/j-hui/fidget.nvim/,legacy, +https://github.com/j-hui/fidget.nvim/,, https://github.com/bogado/file-line/,, https://github.com/glacambre/firenvim/,HEAD, https://github.com/andviro/flake8-vim/,, From 0e0c9a6646a90abba3106fc62a0fdac80f14e821 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 25 Nov 2023 04:20:00 +0000 Subject: [PATCH 64/71] bundix: fix license attribute --- pkgs/development/ruby-modules/bundix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/bundix/default.nix b/pkgs/development/ruby-modules/bundix/default.nix index 36e453b9f7e6..82dcca4e71a8 100644 --- a/pkgs/development/ruby-modules/bundix/default.nix +++ b/pkgs/development/ruby-modules/bundix/default.nix @@ -42,7 +42,7 @@ buildRubyGem rec { dependencies of a ruby package. ''; homepage = "https://github.com/manveru/bundix"; - license = "MIT"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ manveru marsam zimbatm ]; platforms = lib.platforms.all; }; From b0a49f1bf173a211702edcbf60a6d27d64ede130 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 25 Nov 2023 04:20:00 +0000 Subject: [PATCH 65/71] bundix: update homepage --- pkgs/development/ruby-modules/bundix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/bundix/default.nix b/pkgs/development/ruby-modules/bundix/default.nix index 82dcca4e71a8..784144909a36 100644 --- a/pkgs/development/ruby-modules/bundix/default.nix +++ b/pkgs/development/ruby-modules/bundix/default.nix @@ -41,7 +41,7 @@ buildRubyGem rec { The output is then usable by the bundlerEnv derivation to list all the dependencies of a ruby package. ''; - homepage = "https://github.com/manveru/bundix"; + homepage = "https://github.com/nix-community/bundix"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ manveru marsam zimbatm ]; platforms = lib.platforms.all; From 694ddfae79e82174af41da825193dd9441624854 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 25 Nov 2023 15:37:27 +0100 Subject: [PATCH 66/71] python311Packages.dash: migrate to prefetch-yarn-deps --- pkgs/development/python-modules/dash/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/dash/default.nix b/pkgs/development/python-modules/dash/default.nix index 59e28a31daf4..890a6e08d7db 100644 --- a/pkgs/development/python-modules/dash/default.nix +++ b/pkgs/development/python-modules/dash/default.nix @@ -5,7 +5,7 @@ , nodejs , yarn -, fixup_yarn_lock +, prefetch-yarn-deps , fetchYarnDeps , setuptools @@ -52,7 +52,7 @@ buildPythonPackage rec { nativeBuildInputs = [ nodejs yarn - fixup_yarn_lock + prefetch-yarn-deps ]; yarnDeps = fetchYarnDeps { @@ -66,7 +66,7 @@ buildPythonPackage rec { export HOME=$(mktemp -d) yarn config --offline set yarn-offline-mirror ${yarnDeps} - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock substituteInPlace package.json --replace jlpm yarn yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts From fa07aaf5a91f1330a7a130015a5a9098a30812cf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 13 Nov 2023 09:09:14 +0000 Subject: [PATCH 67/71] colima: 0.5.6 -> 0.6.0 --- pkgs/applications/virtualization/colima/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/colima/default.nix b/pkgs/applications/virtualization/colima/default.nix index 153a22712665..a60c3ad93cad 100644 --- a/pkgs/applications/virtualization/colima/default.nix +++ b/pkgs/applications/virtualization/colima/default.nix @@ -17,13 +17,13 @@ buildGoModule rec { pname = "colima"; - version = "0.5.6"; + version = "0.6.0"; src = fetchFromGitHub { owner = "abiosoft"; repo = pname; rev = "v${version}"; - sha256 = "sha256-1Tvh1K/jdJoCHeDO1ckbd793UqB6pn4Qvts3vk8PFTM="; + sha256 = "sha256-qVuBF5glWcAvV4XF6XOPwlJGCBj/znDgUSAe/5u3j6I="; # We need the git revision leaveDotGit = true; postFetch = '' @@ -35,7 +35,7 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles makeWrapper ] ++ lib.optionals stdenv.isDarwin [ darwin.DarwinTools ]; - vendorHash = "sha256-IQKfv+bwDQMuDytfYvirBfrmGexj3LGnIQjoJv1NEoU="; + vendorHash = "sha256-7DIhSjHpaCyHyXKhR8KWQc2YGaD8CMq+BZHF4zIkL50="; # disable flaky Test_extractZones # https://hydra.nixos.org/build/212378003/log From 617b95347a4b45c0849933ca917fdee57171c11e Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sat, 25 Nov 2023 16:20:37 +0100 Subject: [PATCH 68/71] colima: 0.6.0 -> 0.6.5 --- pkgs/applications/virtualization/colima/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/colima/default.nix b/pkgs/applications/virtualization/colima/default.nix index a60c3ad93cad..3c4281d8e734 100644 --- a/pkgs/applications/virtualization/colima/default.nix +++ b/pkgs/applications/virtualization/colima/default.nix @@ -17,13 +17,13 @@ buildGoModule rec { pname = "colima"; - version = "0.6.0"; + version = "0.6.5"; src = fetchFromGitHub { owner = "abiosoft"; repo = pname; rev = "v${version}"; - sha256 = "sha256-qVuBF5glWcAvV4XF6XOPwlJGCBj/znDgUSAe/5u3j6I="; + sha256 = "sha256-lIYLoCFYOwu1iqGgE/jhaqrXAL5ooFHDUnwL56qcGIE="; # We need the git revision leaveDotGit = true; postFetch = '' From b7a8d59e3ab68bc6e01ff660e5b8165eb399f443 Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Sat, 25 Nov 2023 14:44:15 +0100 Subject: [PATCH 69/71] pyqt6: fix build on darwin Disable error on -address-of-temporary through linker flag. --- pkgs/development/python-modules/pyqt/6.x.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyqt/6.x.nix b/pkgs/development/python-modules/pyqt/6.x.nix index 51f0341703e1..641b12f4e50d 100644 --- a/pkgs/development/python-modules/pyqt/6.x.nix +++ b/pkgs/development/python-modules/pyqt/6.x.nix @@ -133,7 +133,10 @@ buildPythonPackage rec { ; # fix build with qt 6.6 - env.NIX_CFLAGS_COMPILE = "-fpermissive"; + env.NIX_CFLAGS_COMPILE = toString ([ + "-fpermissive" + ] + ++ lib.optional (stdenv.isDarwin) "-Wno-address-of-temporary"); meta = with lib; { description = "Python bindings for Qt6"; From 679cb8ff4db11edf3ac27b188f75a3cc55909cd5 Mon Sep 17 00:00:00 2001 From: happysalada Date: Sat, 25 Nov 2023 11:33:16 +0100 Subject: [PATCH 70/71] nushellPlugins: update for nu 0.87.1 and build on hydra --- pkgs/shells/nushell/plugins/formats.nix | 2 +- pkgs/shells/nushell/plugins/gstat.nix | 2 +- pkgs/shells/nushell/plugins/net.nix | 8 ++++---- pkgs/shells/nushell/plugins/query.nix | 2 +- pkgs/top-level/all-packages.nix | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index 15c134018e65..279edd1f6bca 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec { pname = "nushell_plugin_formats"; inherit (nushell) version src; - cargoHash = "sha256-fpqXXgvTuRnU4NkJ/B4m3VTkeujE7sMWOma4KEvlxYw="; + cargoHash = "sha256-rryKNRCf8i/jlqN5O6+UDvV5tDNxcVxS+KewCaIlZVM="; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ]; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index 10ab89368a86..5e3a8186245f 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec { pname = "nushell_plugin_gstat"; inherit (nushell) version src; - cargoHash = "sha256-o/cOHlwo2TBlO+e6DBBKf5x6bgVGozVNMGRb2nCWPT4="; + cargoHash = "sha256-9wUOKj6kMfXEFdYvVBqxme4MRkR6HORx+spTVT9t9VM="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; diff --git a/pkgs/shells/nushell/plugins/net.nix b/pkgs/shells/nushell/plugins/net.nix index 031fa30eb61e..97fa54b19634 100644 --- a/pkgs/shells/nushell/plugins/net.nix +++ b/pkgs/shells/nushell/plugins/net.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage { pname = "nu-plugin-net"; - version = "unstable-2023-10-24"; + version = "unstable-2023-11-15"; src = fetchFromGitHub { owner = "fennewald"; repo = "nu_plugin_net"; - rev = "8b63996ea2ff8bf282c9b0f5f6d01960cfe3d074"; - hash = "sha256-QFo2cMI41GDBsuPNay5MyVyY+HdrLjAWedz8kDNA3JY="; + rev = "20a0a18be0e11650f453d6f186d99d3691a1cd6a"; + hash = "sha256-GHUis38mz9sI5s+E/eLyA0XPyuNpPoS1TyhU3pMEsvs="; }; - cargoHash = "sha256-ekfUQOsaWdpDASnRzoYh5Y/p3BnP7rvSYCCWQ6DJDnE="; + cargoHash = "sha256-T5kUVtJty8pfPihtkJqCgF3AUFcBuu2cwX4cVGM8n5U="; nativeBuildInputs = [ rustPlatform.bindgenHook diff --git a/pkgs/shells/nushell/plugins/query.nix b/pkgs/shells/nushell/plugins/query.nix index 72094adc2a70..0994182305c4 100644 --- a/pkgs/shells/nushell/plugins/query.nix +++ b/pkgs/shells/nushell/plugins/query.nix @@ -10,7 +10,7 @@ rustPlatform.buildRustPackage { pname = "nushell_plugin_query"; inherit (nushell) version src; - cargoHash = "sha256-seqr4FZHg/f/8iMwSurJRKr41pUbKKti6H2z/JfYkuU="; + cargoHash = "sha256-HCGq0tvSNvWlZBD0Kn9H9qKFW+VgGON3z2ly3qaURSE="; buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ]; cargoBuildFlags = [ "--package nu_plugin_query" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 44e8876d1977..743d895c07f0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28321,9 +28321,9 @@ with pkgs; nu_scripts = callPackage ../shells/nushell/nu_scripts { }; - nushellPlugins = callPackage ../shells/nushell/plugins { + nushellPlugins = recurseIntoAttrs (callPackage ../shells/nushell/plugins { inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation Foundation Security; - }; + }); nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { } From 68a2749b5bbdb351b5a07a6a0e9270424898b495 Mon Sep 17 00:00:00 2001 From: Antoine Pietri Date: Sat, 25 Nov 2023 14:02:52 +0000 Subject: [PATCH 71/71] instawow: init at 3.1.0 --- pkgs/games/instawow/default.nix | 48 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 50 insertions(+) create mode 100644 pkgs/games/instawow/default.nix diff --git a/pkgs/games/instawow/default.nix b/pkgs/games/instawow/default.nix new file mode 100644 index 000000000000..36e60d548842 --- /dev/null +++ b/pkgs/games/instawow/default.nix @@ -0,0 +1,48 @@ +{ lib, python3, fetchFromGitHub, plugins ? [ ] }: + +python3.pkgs.buildPythonApplication rec { + pname = "instawow"; + version = "v3.1.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "layday"; + repo = pname; + rev = version; + sha256 = "sha256-xJw/tgHBfOlv5JYsWWdEJ8vpel348YtXCQsaLqgp3Z0="; + }; + + extras = [ ]; # Disable GUI, most dependencies are not packaged. + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + poetry-dynamic-versioning + ]; + propagatedBuildInputs = with python3.pkgs; [ + aiohttp + aiohttp-client-cache + alembic + attrs + cattrs + click + iso8601 + loguru + mako + packaging + pluggy + prompt-toolkit + questionary + rapidfuzz + sqlalchemy + truststore + typing-extensions + yarl + ] ++ plugins; + + meta = with lib; { + homepage = "https://github.com/layday/instawow"; + description = "World of Warcraft add-on manager CLI and GUI"; + license = licenses.gpl3; + maintainers = with maintainers; [ seirl ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 44e8876d1977..e6ac12d82727 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16395,6 +16395,8 @@ with pkgs; indradb-server indradb-client; + instawow = callPackage ../games/instawow/default.nix { }; + intel-graphics-compiler = callPackage ../development/compilers/intel-graphics-compiler { }; intercal = callPackage ../development/compilers/intercal { };