From 2021b9b81570abcdc6499666156b695b1696b152 Mon Sep 17 00:00:00 2001 From: Red Penguin Date: Tue, 17 Dec 2024 08:29:35 +0000 Subject: [PATCH 01/53] maintainers: add renpenguin --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 23b0e5213116..9b1d6b42c993 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -18935,6 +18935,12 @@ githubId = 93167100; keys = [ { fingerprint = "9075 CEF8 9850 D261 6599 641A A2C9 36D5 B88C 139C"; } ]; }; + renpenguin = { + email = "redpenguin777@yahoo.com"; + github = "renpenguin"; + githubId = 79577742; + name = "ren"; + }; renzo = { email = "renzocarbonara@gmail.com"; github = "k0001"; From 10274ff528a3de5ecea67a340093ae88945c900a Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 14 Jan 2025 20:00:44 +0100 Subject: [PATCH 02/53] sonic-lineup: fix strictDeps build --- pkgs/applications/audio/sonic-lineup/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/audio/sonic-lineup/default.nix b/pkgs/applications/audio/sonic-lineup/default.nix index e464c4a00f46..6d41c1cb7abb 100644 --- a/pkgs/applications/audio/sonic-lineup/default.nix +++ b/pkgs/applications/audio/sonic-lineup/default.nix @@ -72,10 +72,13 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ + capnproto # capnp pkg-config wrapQtAppsHook ]; + strictDeps = true; + enableParallelBuilding = true; # comment out the tests From 51f6a82f6d50208f3c1f53028338536fc7962c2e Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 14 Jan 2025 20:00:44 +0100 Subject: [PATCH 03/53] libcryptui: fix strictDeps build --- pkgs/development/libraries/libcryptui/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/libcryptui/default.nix b/pkgs/development/libraries/libcryptui/default.nix index ab3f1bff6b81..a019b9437ec8 100644 --- a/pkgs/development/libraries/libcryptui/default.nix +++ b/pkgs/development/libraries/libcryptui/default.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config + dbus-glib # dbus-binding-tool + gtk3 # AM_GLIB_GNU_GETTEXT intltool autoreconfHook ]; @@ -44,6 +46,9 @@ stdenv.mkDerivation rec { ]; propagatedBuildInputs = [ dbus-glib ]; + env.GNUPG = lib.getExe gnupg; + env.GPGME_CONFIG = lib.getExe' (lib.getDev gpgme) "gpgme-config"; + enableParallelBuilding = true; passthru = { @@ -59,5 +64,8 @@ stdenv.mkDerivation rec { homepage = "https://gitlab.gnome.org/GNOME/libcryptui"; license = licenses.lgpl21Plus; platforms = platforms.unix; + # ImportError: lib/gobject-introspection/giscanner/_giscanner.cpython-312-x86_64-linux-gnu.so + # cannot open shared object file: No such file or directory + broken = stdenv.buildPlatform != stdenv.hostPlatform; }; } From 9a903fd7b09487d0552457665b94b95ffb1da862 Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Fri, 17 Jan 2025 13:16:36 +1100 Subject: [PATCH 04/53] xxgdb: fix build failure --- pkgs/by-name/xx/xxgdb/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/xx/xxgdb/package.nix b/pkgs/by-name/xx/xxgdb/package.nix index 3eac7f58c30e..1942e11a88e2 100644 --- a/pkgs/by-name/xx/xxgdb/package.nix +++ b/pkgs/by-name/xx/xxgdb/package.nix @@ -11,12 +11,12 @@ libXt, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "xxgdb"; version = "1.12"; src = fetchurl { - url = "http://deb.debian.org/debian/pool/main/x/xxgdb/xxgdb_${version}.orig.tar.gz"; + url = "http://deb.debian.org/debian/pool/main/x/xxgdb/xxgdb_${finalAttrs.version}.orig.tar.gz"; sha256 = "0jwazg99wk2l7r390ggw0yr8xipl07bp0qynni141xss530i6d1a"; }; @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { ./xxgdb-pty.patch ]; + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration -Wno-error=implicit-int"; + nativeBuildInputs = [ imake gccmakedep @@ -62,4 +64,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ emilytrau ]; platforms = platforms.all; }; -} +}) From fdf0d3c72eadcfefc3cf92e5ca2f54e1fda32c06 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 18 Jan 2025 22:53:41 +0000 Subject: [PATCH 05/53] redict.tests: fix the eval Without the change the test fails to eval as it does not exits: $ nix build --no-link -f. redict.tests.redict error: attribute 'redict' missing at pkgs/by-name/re/redict/package.nix:83:27: 82| 83| passthru.tests.redict = nixosTests.redict; | ^ 84| Did you mean redis? --- pkgs/by-name/re/redict/package.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/by-name/re/redict/package.nix b/pkgs/by-name/re/redict/package.nix index 5cc3d0f42615..cbda55fa8b01 100644 --- a/pkgs/by-name/re/redict/package.nix +++ b/pkgs/by-name/re/redict/package.nix @@ -6,7 +6,6 @@ lua, jemalloc, pkg-config, - nixosTests, tcl, which, ps, @@ -104,8 +103,6 @@ stdenv.mkDerivation (finalAttrs: { runHook postCheck ''; - passthru.tests.redict = nixosTests.redict; - meta = { homepage = "https://redict.io"; description = "Distributed key/value store"; From 35ff9ddce1346004ee2fba191afb27697357501a Mon Sep 17 00:00:00 2001 From: danjujan <44864658+danjujan@users.noreply.github.com> Date: Fri, 24 Jan 2025 22:32:13 +0100 Subject: [PATCH 06/53] pineflash: fix start on wayland --- pkgs/by-name/pi/pineflash/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/pi/pineflash/package.nix b/pkgs/by-name/pi/pineflash/package.nix index d19f28b583c9..2793af702c51 100644 --- a/pkgs/by-name/pi/pineflash/package.nix +++ b/pkgs/by-name/pi/pineflash/package.nix @@ -15,6 +15,7 @@ libGL, libxkbcommon, nix-update-script, + wayland, }: rustPlatform.buildRustPackage rec { pname = "pineflash"; @@ -46,6 +47,7 @@ rustPlatform.buildRustPackage rec { runtimeDependencies = [ libGL libxkbcommon + wayland ]; postPatch = From d62ea22c2b8512fbf620234fa13963934d263a2b Mon Sep 17 00:00:00 2001 From: Andrew Voynov Date: Sat, 25 Jan 2025 10:30:16 +0300 Subject: [PATCH 07/53] docs: removed internal `security.wrapperDir` --- nixos/modules/security/wrappers/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix index c885c25c2620..62a6608d533d 100644 --- a/nixos/modules/security/wrappers/default.nix +++ b/nixos/modules/security/wrappers/default.nix @@ -203,9 +203,8 @@ in description = '' This option effectively allows adding setuid/setgid bits, capabilities, changing file ownership and permissions of a program without directly - modifying it. This works by creating a wrapper program under the - {option}`security.wrapperDir` directory, which is then added to - the shell `PATH`. + modifying it. This works by creating a wrapper program in a directory + (not configurable), which is then added to the shell `PATH`. ''; }; From 5d57a90e2abf555de084876009bffba7dc40f0f2 Mon Sep 17 00:00:00 2001 From: James Atkins Date: Sun, 26 Jan 2025 17:34:36 -0600 Subject: [PATCH 08/53] rstudio: fix build Boost 1.87 deprecated io_service and breaks the build. Pin boost to 1.86 as a workaround. --- pkgs/applications/editors/rstudio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/rstudio/default.nix b/pkgs/applications/editors/rstudio/default.nix index 4df8046de30f..858a38cf5ee7 100644 --- a/pkgs/applications/editors/rstudio/default.nix +++ b/pkgs/applications/editors/rstudio/default.nix @@ -5,7 +5,7 @@ fetchFromGitHub, replaceVars, cmake, - boost, + boost186, zlib, openssl, R, @@ -85,7 +85,7 @@ stdenv.mkDerivation rec { buildInputs = [ - boost + boost186 zlib openssl R From df88061665aa5bb8bada79466e12721daa91d7dc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 27 Jan 2025 13:19:11 +0000 Subject: [PATCH 09/53] jwasm: 2.18 -> 2.19 --- pkgs/by-name/jw/jwasm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/jw/jwasm/package.nix b/pkgs/by-name/jw/jwasm/package.nix index a069cbda51d6..42808118b645 100644 --- a/pkgs/by-name/jw/jwasm/package.nix +++ b/pkgs/by-name/jw/jwasm/package.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "jwasm"; - version = "2.18"; + version = "2.19"; src = fetchFromGitHub { owner = "Baron-von-Riedesel"; repo = "JWasm"; rev = "v${finalAttrs.version}"; - hash = "sha256-xbiyGBTzIkAfUy45JdAl77gbvArzVUQNPOxa+H2uGFo="; + hash = "sha256-rWn/PhdOkA8aKDPx5GlfM6RuHcy1Hhudh1auVfaNtdI="; }; outputs = [ From 7401d8c7b2d31b63da03d8071494f8a7f245fb5a Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sat, 1 Feb 2025 09:19:00 +0100 Subject: [PATCH 10/53] python312Packages.pytrends: drop --- .../python-modules/pytrends/default.nix | 59 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 pkgs/development/python-modules/pytrends/default.nix diff --git a/pkgs/development/python-modules/pytrends/default.nix b/pkgs/development/python-modules/pytrends/default.nix deleted file mode 100644 index c9e20859086b..000000000000 --- a/pkgs/development/python-modules/pytrends/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - setuptools, - setuptools-scm, - wheel, - requests, - lxml, - pandas, - pytestCheckHook, - pytest-recording, - responses, -}: - -buildPythonPackage rec { - pname = "pytrends"; - version = "4.9.2"; - format = "pyproject"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-aRxuNrGuqkdU82kr260N/0RuUo/7BS7uLn8TmqosaYk="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'addopts = "--cov pytrends/"' "" - ''; - - nativeBuildInputs = [ - setuptools - setuptools-scm - wheel - ]; - - propagatedBuildInputs = [ - requests - lxml - pandas - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-recording - responses - ]; - - pytestFlagsArray = [ "--block-network" ]; - - pythonImportsCheck = [ "pytrends" ]; - - meta = with lib; { - description = "Pseudo API for Google Trends"; - homepage = "https://github.com/GeneralMills/pytrends"; - license = [ licenses.asl20 ]; - maintainers = [ maintainers.mmahut ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 49eec3d93d70..704405de164c 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -375,6 +375,7 @@ mapAliases ({ PyMVGLive = pymvglive; # added 2023-02-19 pymyq = python-myq; # added 2023-10-20 python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07 + pytrends = throw "pytrends has been removed, as it no longer works and is abandoned upstream"; # added 2025-02-02 pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09 pyqt5_sip = pyqt5-sip; # added 2024-01-07 pyqt5_with_qtmultimedia = pyqt5-multimedia; # added 2024-01-07 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 150965f1d205..495137f2534c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12645,8 +12645,6 @@ self: super: with self; { pytransportnswv2 = callPackage ../development/python-modules/pytransportnswv2 { }; - pytrends = callPackage ../development/python-modules/pytrends { }; - pytricia = callPackage ../development/python-modules/pytricia { }; pytrydan = callPackage ../development/python-modules/pytrydan { }; From ff23b19e01dd7bcdea59844155e684506471e95a Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 2 Feb 2025 11:26:58 +0100 Subject: [PATCH 11/53] python313Packages.inform: fix tests --- pkgs/development/python-modules/inform/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix index d69941e15a85..ba25c90f66db 100644 --- a/pkgs/development/python-modules/inform/default.nix +++ b/pkgs/development/python-modules/inform/default.nix @@ -9,6 +9,7 @@ num2words, pytestCheckHook, pythonOlder, + pythonAtLeast, }: buildPythonPackage rec { @@ -38,7 +39,12 @@ buildPythonPackage rec { hypothesis ]; - disabledTests = [ "test_prostrate" ]; + disabledTests = + [ "test_prostrate" ] + ++ lib.optionals (pythonAtLeast "3.13") [ + # doctest runs one more test than expected + "test_inform" + ]; meta = with lib; { description = "Print and logging utilities"; From d250c32be71d2d757db32a1b22d4cabba55c95b4 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 26 Jan 2025 22:44:30 +0100 Subject: [PATCH 12/53] services.mysqlBackup: make singleTransaction configurable per database --- nixos/modules/services/backup/mysql-backup.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index 33dc1c35ebeb..a8d874eaa668 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -39,6 +39,13 @@ let selectedAlg = compressionAlgs.${cfg.compressionAlg}; compressionCmd = selectedAlg.cmd compressionLevelFlag; + shouldUseSingleTransaction = + db: + if lib.isBool cfg.singleTransaction then + cfg.singleTransaction + else + lib.elem db cfg.singleTransaction; + backupScript = '' set -o pipefail failed="" @@ -51,7 +58,7 @@ let backupDatabaseScript = db: '' dest="${cfg.location}/${db}${selectedAlg.ext}" - if ${pkgs.mariadb}/bin/mysqldump ${lib.optionalString cfg.singleTransaction "--single-transaction"} ${db} | ${compressionCmd} > $dest.tmp; then + if ${pkgs.mariadb}/bin/mysqldump ${lib.optionalString (shouldUseSingleTransaction db) "--single-transaction"} ${db} | ${compressionCmd} > $dest.tmp; then mv $dest.tmp $dest echo "Backed up to $dest" else @@ -126,9 +133,13 @@ in singleTransaction = lib.mkOption { default = false; - type = lib.types.bool; + type = lib.types.oneOf [ + lib.types.bool + (lib.types.listOf lib.types.str) + ]; description = '' - Whether to create database dump in a single transaction + Whether to create database dump in a single transaction. + Can be either a boolean for all databases or a list of database names. ''; }; From 00f0c5cf3264189205230d6a383432940cafad82 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 27 Jan 2025 15:57:30 +0100 Subject: [PATCH 13/53] services.mysqlBackup: use new path of mariadb-dump if mysql service package is a modern mariadb --- nixos/modules/services/backup/mysql-backup.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index a8d874eaa668..ffa9af5ded79 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -8,6 +8,17 @@ let cfg = config.services.mysqlBackup; defaultUser = "mysqlbackup"; + dumpBinary = + if + ( + lib.getName config.services.mysql.package == lib.getName pkgs.mariadb + && lib.versionAtLeast config.services.mysql.package.version "11.0.0" + ) + then + "${config.services.mysql.package}/bin/mariadb-dump" + else + "${config.services.mysql.package}/bin/mysqldump"; + compressionAlgs = { gzip = rec { pkg = pkgs.gzip; @@ -58,7 +69,7 @@ let backupDatabaseScript = db: '' dest="${cfg.location}/${db}${selectedAlg.ext}" - if ${pkgs.mariadb}/bin/mysqldump ${lib.optionalString (shouldUseSingleTransaction db) "--single-transaction"} ${db} | ${compressionCmd} > $dest.tmp; then + if ${dumpBinary} ${lib.optionalString (shouldUseSingleTransaction db) "--single-transaction"} ${db} | ${compressionCmd} > $dest.tmp; then mv $dest.tmp $dest echo "Backed up to $dest" else From 16553f2c836371d3fab643be15549bceab93da85 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 30 Jan 2025 15:27:56 +0100 Subject: [PATCH 14/53] services.mysqlBackup: add assertion that all databases in singleTransaction must be included in the databases option --- nixos/modules/services/backup/mysql-backup.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index ffa9af5ded79..7e6a0b76d08f 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -175,6 +175,12 @@ in || selectedAlg.minLevel <= cfg.compressionLevel && cfg.compressionLevel <= selectedAlg.maxLevel; message = "${cfg.compressionAlg} compression level must be between ${toString selectedAlg.minLevel} and ${toString selectedAlg.maxLevel}"; } + { + assertion = + !(lib.isList cfg.singleTransaction) + || lib.all (db: lib.elem db cfg.databases) cfg.singleTransaction; + message = "All databases in singleTransaction must be included in the databases option"; + } ]; # ensure unix user to be used to perform backup exist. From e8a255c09a299398efb99cb98a53330edfe5f9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 25 Jan 2025 19:32:45 +0100 Subject: [PATCH 15/53] xtrlock-pam: drop --- pkgs/by-name/xt/xtrlock-pam/package.nix | 42 ------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/by-name/xt/xtrlock-pam/package.nix diff --git a/pkgs/by-name/xt/xtrlock-pam/package.nix b/pkgs/by-name/xt/xtrlock-pam/package.nix deleted file mode 100644 index 0136fbc5c287..000000000000 --- a/pkgs/by-name/xt/xtrlock-pam/package.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - python39, - pkg-config, - pam, - xorg, -}: - -stdenv.mkDerivation { - pname = "xtrlock-pam"; - version = "3.4-post-20150909"; - - src = fetchFromGitHub { - owner = "aanatoly"; - repo = "xtrlock-pam"; - rev = "6f4920fcfff54791c0779057e9efacbbbbc05df6"; - sha256 = "sha256-TFfs418fpjBrAJNGW8U3jE0K7jQkfL4vCquAViKkXPw="; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - python39 - pam - xorg.libX11 - ]; - - configurePhase = '' - substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h - substituteInPlace src/xtrlock.c --replace system-local-login xscreensaver - python configure --prefix=$out - ''; - - meta = { - homepage = "https://github.com/aanatoly/xtrlock-pam"; - description = "PAM based X11 screen locker"; - license = "unknown"; - maintainers = with lib.maintainers; [ ondt ]; - platforms = with lib.platforms; linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6157b05df0af..28a6488a5241 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1543,6 +1543,7 @@ mapAliases { xplayer = throw "xplayer has been removed as the upstream project was archived"; # Added 2024-12-27 xprite-editor = throw "'xprite-editor' has been removed due to lack of maintenance upstream. Consider using 'pablodraw' or 'aseprite' instead"; # Added 2024-09-14 xsv = throw "'xsv' has been removed due to lack of upstream maintenance. Please see 'xan' for a maintained alternative"; + xtrlock-pam = throw "xtrlock-pam has been removed because it is unmaintained for 10 years and doesn't support Python 3.10 or newer"; # Added 2025-01-25 xulrunner = firefox-unwrapped; # Added 2023-11-03 xvfb_run = throw "'xvfb_run' has been renamed to/replaced by 'xvfb-run'"; # Converted to throw 2024-10-17 xwaylandvideobridge = libsForQt5.xwaylandvideobridge; # Added 2024-09-27 From c569f990dfabc6cec3a8979fdee4d1b8fa24b2a3 Mon Sep 17 00:00:00 2001 From: Red Penguin Date: Sat, 1 Feb 2025 00:56:46 +0000 Subject: [PATCH 16/53] display3d: init at 0.2.1 --- pkgs/by-name/di/display3d/package.nix | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/di/display3d/package.nix diff --git a/pkgs/by-name/di/display3d/package.nix b/pkgs/by-name/di/display3d/package.nix new file mode 100644 index 000000000000..74efa2eedc3b --- /dev/null +++ b/pkgs/by-name/di/display3d/package.nix @@ -0,0 +1,36 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, + nix-update-script, +}: + +rustPlatform.buildRustPackage rec { + pname = "display3d"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "renpenguin"; + repo = "display3d"; + tag = "v${version}"; + hash = "sha256-WGcocX3WYtTleh2f3F0yi3KBAMo1/dtlfVy1pQVhWgw="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-E4Ncg9OPlYGra794pPS9u9oyqep+k3Ser5ZxfV+uSRM="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + versionCheckProgramArg = "--version"; + + passthru.updateScript = nix-update-script {}; + + meta = { + description = "CLI for rendering and animating 3D objects"; + homepage = "https://github.com/renpenguin/display3d"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ renpenguin ]; + mainProgram = "display3d"; + }; +} From 6adcba9704a299587128fa05a6e11e8db6b445fa Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman <145775305+xokdvium@users.noreply.github.com> Date: Thu, 6 Feb 2025 10:53:22 +0300 Subject: [PATCH 17/53] mbuffer: fix and enable strictDeps `openssl` is also a native check dependency. This doesn't affect cross, but only native strictDeps builds. --- pkgs/by-name/mb/mbuffer/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/mb/mbuffer/package.nix b/pkgs/by-name/mb/mbuffer/package.nix index 25b5f00be30f..d20292c5269c 100644 --- a/pkgs/by-name/mb/mbuffer/package.nix +++ b/pkgs/by-name/mb/mbuffer/package.nix @@ -25,8 +25,12 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ which ]; + nativeCheckInputs = [ + openssl + ]; doCheck = true; + strictDeps = true; meta = { description = "Tool for buffering data streams with a large set of unique features"; From af3198dd1c85f7bfde40abf92c1b2dfe3a70a13e Mon Sep 17 00:00:00 2001 From: linuxissuper Date: Fri, 7 Feb 2025 22:13:40 +0100 Subject: [PATCH 18/53] lxqt-panel-profiles: fix paths adjust out paths so the bin and .desktop file are found --- pkgs/by-name/lx/lxqt-panel-profiles/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lx/lxqt-panel-profiles/package.nix b/pkgs/by-name/lx/lxqt-panel-profiles/package.nix index d87630bddf16..0587b72220cf 100644 --- a/pkgs/by-name/lx/lxqt-panel-profiles/package.nix +++ b/pkgs/by-name/lx/lxqt-panel-profiles/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { substituteInPlace usr/bin/lxqt-panel-profiles \ --replace-fail "/bin/bash" "${bash}/bin/bash" \ - --replace-fail "/usr/share/" "$out/usr/share/" \ + --replace-fail "/usr/share/" "$out/share/" \ --replace-fail "python3" "${pythonWithPyqt6}/bin/python" substituteInPlace usr/share/lxqt-panel-profiles/lxqt-panel-profiles.py \ @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { installPhase = '' mkdir $out - mv usr $out/usr + mv usr/* $out ''; meta = { From a457935bb3fac8bec9c015c6985e3d9cff8b15f5 Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Sun, 9 Feb 2025 16:55:48 +0100 Subject: [PATCH 19/53] venta: fix broken symlink to marwaita The `venta` theme package contained a broken symlink to "../../Marwaita/plank" in "$out/share/themes/Venta/plank/plank". From the perspective of an FHS-compatible directory structure, this symlink certainly wants to point to "/share/themes/Marwaita/plank". So redirecting this symlink to point to that position inside the `marwaita` theme package is the right thing to do. The commit at hand thereby also fixes the `venta` package, as dangling symlinks are no longer tolerated due to the new `no-broken-symlinks` setup hook introduced in commit aa1405b6e792e6cb110c46a732ae53e445fc0eaf . --- pkgs/by-name/ve/venta/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ve/venta/package.nix b/pkgs/by-name/ve/venta/package.nix index 733f0aacac59..49d628894f11 100644 --- a/pkgs/by-name/ve/venta/package.nix +++ b/pkgs/by-name/ve/venta/package.nix @@ -6,6 +6,7 @@ gtk-engine-murrine, gtk_engines, librsvg, + marwaita, }: stdenv.mkDerivation rec { @@ -35,6 +36,7 @@ stdenv.mkDerivation rec { runHook preInstall mkdir -p $out/share/themes cp -a Venta* $out/share/themes + ln -sfT ${marwaita}/share/themes/Marwaita/plank $out/share/themes/Venta/plank/plank runHook postInstall ''; From b5404e7f51a546c9c805cdf79c33c0e3eaa097d9 Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Sun, 9 Feb 2025 17:48:20 -0800 Subject: [PATCH 20/53] termusic: fix build --- pkgs/by-name/te/termusic/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/te/termusic/package.nix b/pkgs/by-name/te/termusic/package.nix index 1557d1d407c3..a2465c9c5516 100644 --- a/pkgs/by-name/te/termusic/package.nix +++ b/pkgs/by-name/te/termusic/package.nix @@ -41,9 +41,9 @@ rustPlatform.buildRustPackage rec { ]; postPatch = '' - pushd $cargoDepsCopy/stream-download + pushd $cargoDepsCopy/stream-download-0.6.0 oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1) - substituteInPlace $cargoDepsCopy/stream-download/src/lib.rs \ + substituteInPlace $cargoDepsCopy/stream-download-0.6.0/src/lib.rs \ --replace-warn '#![doc = include_str!("../README.md")]' "" substituteInPlace .cargo-checksum.json \ --replace-warn $oldHash $(sha256sum src/lib.rs | cut -d " " -f 1) From eae985d14073118441213212e0ad8a119d5110a3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 10 Feb 2025 15:28:57 +0000 Subject: [PATCH 21/53] ventoy-full: 1.1.00 -> 1.1.01 --- pkgs/by-name/ve/ventoy/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ve/ventoy/package.nix b/pkgs/by-name/ve/ventoy/package.nix index 82b06dc9dd8b..97edd77d3a89 100644 --- a/pkgs/by-name/ve/ventoy/package.nix +++ b/pkgs/by-name/ve/ventoy/package.nix @@ -56,11 +56,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "ventoy"; - version = "1.1.00"; + version = "1.1.01"; src = fetchurl { url = "https://github.com/ventoy/Ventoy/releases/download/v${finalAttrs.version}/ventoy-${finalAttrs.version}-linux.tar.gz"; - hash = "sha256-J6Krr/pTHGcwWRkJdUVdt6YVg/IhUo4G2h7jjR6lcC8="; + hash = "sha256-YR0/zet8EuhkWv4OsHD8yK4NvAVWJ3ExyPaV4t2PKvE="; }; patches = [ From b8c6de64ab9f64574bf21aac1084f519551416f3 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:42:39 -0300 Subject: [PATCH 22/53] docker-init: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guidelines. --- pkgs/by-name/do/docker-init/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/do/docker-init/package.nix b/pkgs/by-name/do/docker-init/package.nix index 46b951515d91..279f533da8ab 100644 --- a/pkgs/by-name/do/docker-init/package.nix +++ b/pkgs/by-name/do/docker-init/package.nix @@ -6,7 +6,8 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "docker-init"; - version = "v1.4.0"; + version = "1.4.0"; + tag = "175267"; src = fetchurl { From fc024b25c5f0f617aabee11e62cb35359545ec5f Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:45:41 -0300 Subject: [PATCH 23/53] influxdb2: remove "v" prefix from version in libflux The version string must start with a digit per nixpkgs versioning guidelines. --- pkgs/servers/nosql/influxdb2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/nosql/influxdb2/default.nix b/pkgs/servers/nosql/influxdb2/default.nix index 7fcb072926f6..c90a77f4af36 100644 --- a/pkgs/servers/nosql/influxdb2/default.nix +++ b/pkgs/servers/nosql/influxdb2/default.nix @@ -32,7 +32,7 @@ let flux = rustPlatform.buildRustPackage { pname = "libflux"; - version = "v${libflux_version}"; + version = libflux_version; src = fetchFromGitHub { owner = "influxdata"; repo = "flux"; From c70b85d5e045c065ce0de0e603f3e4a8623ff859 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:47:21 -0300 Subject: [PATCH 24/53] lora: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guidelines --- pkgs/by-name/lo/lora/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/lora/package.nix b/pkgs/by-name/lo/lora/package.nix index a062c11e04d0..fa2389de0f91 100644 --- a/pkgs/by-name/lo/lora/package.nix +++ b/pkgs/by-name/lo/lora/package.nix @@ -7,12 +7,12 @@ stdenvNoCC.mkDerivation rec { pname = "lora"; - version = "v3.005"; + version = "3.005"; src = fetchFromGitHub { owner = "cyrealtype"; repo = "lora"; - rev = version; + rev = "v${version}"; hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s="; }; From 41d706f5e2289c2465e9b4d4a3f4ef69ccfe1d88 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:48:06 -0300 Subject: [PATCH 25/53] lora: use `tag` in fetchFromGitHub --- pkgs/by-name/lo/lora/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/lo/lora/package.nix b/pkgs/by-name/lo/lora/package.nix index fa2389de0f91..63bd4b81fa05 100644 --- a/pkgs/by-name/lo/lora/package.nix +++ b/pkgs/by-name/lo/lora/package.nix @@ -12,7 +12,7 @@ stdenvNoCC.mkDerivation rec { src = fetchFromGitHub { owner = "cyrealtype"; repo = "lora"; - rev = "v${version}"; + tag = "v${version}"; hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s="; }; From abc4b21161a6841d75efbcd65c4573d4023a1f31 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:49:27 -0300 Subject: [PATCH 26/53] lora: use `finalAttrs` instead of `rec` --- pkgs/by-name/lo/lora/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/lo/lora/package.nix b/pkgs/by-name/lo/lora/package.nix index 63bd4b81fa05..711760bf474d 100644 --- a/pkgs/by-name/lo/lora/package.nix +++ b/pkgs/by-name/lo/lora/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -stdenvNoCC.mkDerivation rec { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "lora"; version = "3.005"; src = fetchFromGitHub { owner = "cyrealtype"; repo = "lora"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s="; }; @@ -37,4 +37,4 @@ stdenvNoCC.mkDerivation rec { platforms = platforms.all; maintainers = with maintainers; [ ofalvai ]; }; -} +}) From 4346407a05d2c0b30b1be73edadf722f6a73c652 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:50:35 -0300 Subject: [PATCH 27/53] lora: remove `with lib` from meta --- pkgs/by-name/lo/lora/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/lo/lora/package.nix b/pkgs/by-name/lo/lora/package.nix index 711760bf474d..590d32405d66 100644 --- a/pkgs/by-name/lo/lora/package.nix +++ b/pkgs/by-name/lo/lora/package.nix @@ -30,11 +30,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - meta = with lib; { + meta = { description = "Lora is a well-balanced contemporary serif with roots in calligraphy"; homepage = "https://github.com/cyrealtype/lora"; - license = licenses.ofl; - platforms = platforms.all; - maintainers = with maintainers; [ ofalvai ]; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ ofalvai ]; }; }) From 6600f70b44e003aa93a6e25f53a72a3df141e253 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 17:53:04 -0300 Subject: [PATCH 28/53] phpExtensions.uuid: remove "v" prefix in version The version string must start with a digit per nixpkgs versioning guidelines. --- pkgs/development/php-packages/uuid/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/php-packages/uuid/default.nix b/pkgs/development/php-packages/uuid/default.nix index f3efc0e8792c..0d54c7d07f6f 100644 --- a/pkgs/development/php-packages/uuid/default.nix +++ b/pkgs/development/php-packages/uuid/default.nix @@ -6,7 +6,7 @@ }: let - version = "v1.2.1"; + version = "1.2.1"; in buildPecl { inherit version; @@ -15,7 +15,7 @@ buildPecl { src = fetchFromGitHub { owner = "php"; repo = "pecl-networking-uuid"; - tag = version; + tag = "v${version}"; hash = "sha256-C4SoSKkCTQOLKM1h47vbBgiHTG+ChocDB9tzhWfKUsw="; }; @@ -26,7 +26,7 @@ buildPecl { env.PHP_UUID_DIR = libuuid; meta = { - changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/${version}"; + changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/v${version}"; description = "A wrapper around Universally Unique IDentifier library (libuuid)."; license = lib.licenses.php301; homepage = "https://github.com/php/pecl-networking-uuid"; From ce3377bf570dd1691e98950c80fba38b5d7df4a7 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:03:51 -0300 Subject: [PATCH 29/53] msgraph-cli: remove "v" prefix in version The version string must start with a digit per nixpkgs versioning guidelines. --- pkgs/by-name/ms/msgraph-cli/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ms/msgraph-cli/package.nix b/pkgs/by-name/ms/msgraph-cli/package.nix index e874a2706c7b..b2e3711a189e 100644 --- a/pkgs/by-name/ms/msgraph-cli/package.nix +++ b/pkgs/by-name/ms/msgraph-cli/package.nix @@ -7,12 +7,12 @@ }: buildDotnetModule rec { pname = "msgraph-cli"; - version = "v1.9.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "microsoftgraph"; repo = "msgraph-cli"; - rev = version; + tag = "v${version}"; hash = "sha256-bpdxzVlQWQLNYTZHN25S6qa3NKHhDc+xV6NvzSNMVnQ="; }; From f4b56e7f60bcca958f330a3963281c1d21157fa1 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:05:59 -0300 Subject: [PATCH 30/53] pythonPackages.falconpy: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/development/python-modules/falconpy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/falconpy/default.nix b/pkgs/development/python-modules/falconpy/default.nix index 3b44df20b090..161ec4a7730e 100644 --- a/pkgs/development/python-modules/falconpy/default.nix +++ b/pkgs/development/python-modules/falconpy/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "falconpy"; - version = "v1.4.6"; + version = "1.4.6"; pyproject = true; src = fetchFromGitHub { owner = "CrowdStrike"; repo = "falconpy"; - tag = version; + tag = "v${version}"; hash = "sha256-boebQI//NenEqctQbEdxiXKU3/07C6jVzWVHecmJjPk="; }; @@ -29,7 +29,7 @@ buildPythonPackage rec { meta = { description = "The CrowdStrike Falcon SDK for Python"; homepage = "https://github.com/CrowdStrike/falconpy"; - changelog = "https://github.com/CrowdStrike/falconpy/releases/tag/${version}"; + changelog = "https://github.com/CrowdStrike/falconpy/releases/tag/v${version}"; license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ levigross ]; }; From 9b40045dfbd3bad7acc85c4bbfb65aa63dc8b387 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:08:42 -0300 Subject: [PATCH 31/53] hullcaster: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/by-name/hu/hullcaster/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/hu/hullcaster/package.nix b/pkgs/by-name/hu/hullcaster/package.nix index 268556d544bb..1fe9c515b884 100644 --- a/pkgs/by-name/hu/hullcaster/package.nix +++ b/pkgs/by-name/hu/hullcaster/package.nix @@ -6,12 +6,12 @@ rustPlatform.buildRustPackage rec { pname = "hullcaster"; - version = "v0.1.2"; + version = "0.1.2"; src = fetchFromGitHub { owner = "gilcu3"; repo = "hullcaster"; - rev = version; + tag = "v${version}"; hash = "sha256-TaELX/xMxm7OTmVnvkgEmdhnVrIlxSNqlE73+I5qxCc="; }; From 9cb6a2b262f296304eced767a35f2edbf25d87ef Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:11:14 -0300 Subject: [PATCH 32/53] git-together: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/by-name/gi/git-together/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gi/git-together/package.nix b/pkgs/by-name/gi/git-together/package.nix index 2ecb8afd8129..8b56b68280a0 100644 --- a/pkgs/by-name/gi/git-together/package.nix +++ b/pkgs/by-name/gi/git-together/package.nix @@ -10,12 +10,12 @@ rustPlatform.buildRustPackage rec { pname = "git-together"; - version = "v0.1.0-alpha.26"; + version = "0.1.0-alpha.26"; src = fetchFromGitHub { owner = "kejadlen"; repo = "git-together"; - rev = version; + tag = "v${version}"; hash = "sha256-2HgOaqlX0mmmvRlALHm90NAdIhby/jWUJO63bQFqc+4="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-5LKKjHzIlXw0bUmF7GDCVW0cptCxohq6CNPIrMZKorM="; meta = with lib; { - changelog = "https://github.com/kejadlen/git-together/releases/tag/${src.rev}"; + changelog = "https://github.com/kejadlen/git-together/releases/tag/v${version}"; description = "Better commit attribution while pairing without messing with your git workflow"; homepage = "https://github.com/kejadlen/git-together"; license = licenses.mit; From a84b1a09e2d448ed5b068f39273b422552883cac Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:13:07 -0300 Subject: [PATCH 33/53] ncps: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/by-name/nc/ncps/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/nc/ncps/package.nix b/pkgs/by-name/nc/ncps/package.nix index b66c1d3ae1f2..be29560ce1a9 100644 --- a/pkgs/by-name/nc/ncps/package.nix +++ b/pkgs/by-name/nc/ncps/package.nix @@ -8,17 +8,17 @@ let finalAttrs = { pname = "ncps"; - version = "v0.1.1"; + version = "0.1.1"; src = fetchFromGitHub { owner = "kalbasit"; repo = "ncps"; - rev = finalAttrs.version; + tag = "v${finalAttrs.version}"; hash = "sha256-Vr/thppCABdZDl1LEc7l7c7Ih55U/EFwJInWSUWoLJA"; }; ldflags = [ - "-X github.com/kalbasit/ncps/cmd.Version=${finalAttrs.version}" + "-X github.com/kalbasit/ncps/cmd.Version=v${finalAttrs.version}" ]; subPackages = [ "." ]; From c24c2a6e043b812ccd0a459a1fb00ee5cd786c1b Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:14:53 -0300 Subject: [PATCH 34/53] gede: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/development/tools/misc/gede/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/gede/default.nix b/pkgs/development/tools/misc/gede/default.nix index dbe1c51b7b1c..f56769a9220b 100644 --- a/pkgs/development/tools/misc/gede/default.nix +++ b/pkgs/development/tools/misc/gede/default.nix @@ -13,12 +13,12 @@ mkDerivation rec { pname = "gede"; - version = "v2.22.1"; + version = "2.22.1"; src = fetchFromGitHub { owner = "jhn98032"; repo = "gede"; - rev = version; + tag = "v${version}"; hash = "sha256-6YSrqLDuV4G/uvtYy4vzbwqrMFftMvZdp3kr3R436rs="; }; From 6e37a9a488f4eb2fe3cda635877b82d90b4fa467 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:16:26 -0300 Subject: [PATCH 35/53] vmctl: remove "v" prefix from version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/by-name/vm/vmctl/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/vm/vmctl/package.nix b/pkgs/by-name/vm/vmctl/package.nix index 910ecd5f9d6d..fd6f7a145da6 100644 --- a/pkgs/by-name/vm/vmctl/package.nix +++ b/pkgs/by-name/vm/vmctl/package.nix @@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation { pname = "vmctl"; - version = "v0.99-unstable-2024-05-14"; + version = "0.99-unstable-2024-05-14"; src = fetchFromGitHub { owner = "SamsungDS"; From c4ea434f1bc038dce4764841f2bce65b23bf9e26 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:18:50 -0300 Subject: [PATCH 36/53] criterion: remove "v" prefix from version of test derivation The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/by-name/cr/criterion/tests/001-version.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/cr/criterion/tests/001-version.nix b/pkgs/by-name/cr/criterion/tests/001-version.nix index 25a98b5a0c30..e9cf7278a370 100644 --- a/pkgs/by-name/cr/criterion/tests/001-version.nix +++ b/pkgs/by-name/cr/criterion/tests/001-version.nix @@ -5,7 +5,7 @@ }: stdenv.mkDerivation rec { name = "version-tester"; - version = "v${criterion.version}"; + inherit (criterion) version; src = ./test_dummy.c; dontUnpack = true; From 9a9523f75e046db42e33a730d2c90cf17144d83a Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 18:31:51 -0300 Subject: [PATCH 37/53] gnomeExtensions.pano: remove "v" prefix in version The version string must start with a digit per nixpkgs versioning guideline. --- pkgs/desktops/gnome/extensions/extensionOverrides.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/extensions/extensionOverrides.nix b/pkgs/desktops/gnome/extensions/extensionOverrides.nix index b3f1929c3cef..9b3ca5cd3c5a 100644 --- a/pkgs/desktops/gnome/extensions/extensionOverrides.nix +++ b/pkgs/desktops/gnome/extensions/extensionOverrides.nix @@ -144,9 +144,9 @@ super: lib.trivial.pipe super [ })) (patchExtension "pano@elhan.io" (final: prev: { - version = "v23-alpha3"; + version = "23-alpha3"; src = fetchzip { - url = "https://github.com/oae/gnome-shell-pano/releases/download/${final.version}/pano@elhan.io.zip"; + url = "https://github.com/oae/gnome-shell-pano/releases/download/v${final.version}/pano@elhan.io.zip"; hash = "sha256-LYpxsl/PC8hwz0ZdH5cDdSZPRmkniBPUCqHQxB4KNhc="; stripRoot = false; }; From df198feb81c109cbafe36fc9cf20f7dc71187cc3 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Mon, 10 Feb 2025 19:49:47 -0300 Subject: [PATCH 38/53] influxdb: remove "v" prefix in version in libflux The version string must start with a digit per nixpkgs versioning guidelines. --- pkgs/servers/nosql/influxdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/nosql/influxdb/default.nix b/pkgs/servers/nosql/influxdb/default.nix index d60d167e4d9f..a6f053467a5b 100644 --- a/pkgs/servers/nosql/influxdb/default.nix +++ b/pkgs/servers/nosql/influxdb/default.nix @@ -16,11 +16,11 @@ let # This is copied from influxdb2 with the required flux version flux = rustPlatform.buildRustPackage rec { pname = "libflux"; - version = "v${libflux_version}"; + version = libflux_version; src = fetchFromGitHub { owner = "influxdata"; repo = "flux"; - rev = "v${libflux_version}"; + tag = "v${libflux_version}"; hash = "sha256-XHT/+JMu5q1cPjZT2x/OKEPgxFJcnjrQKqn8w9/Mb3s="; }; patches = [ From 441b3b201e1911d59228d9eb3f01692da1681e54 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Mon, 10 Feb 2025 20:30:09 -0800 Subject: [PATCH 39/53] llvmPackages.libc: use clang by default --- .../compilers/llvm/common/default.nix | 6 ++++ .../compilers/llvm/common/libc/default.nix | 31 ++++++++++--------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/default.nix b/pkgs/development/compilers/llvm/common/default.nix index a40ffd4044b4..3b657ce5bb3f 100644 --- a/pkgs/development/compilers/llvm/common/default.nix +++ b/pkgs/development/compilers/llvm/common/default.nix @@ -1221,10 +1221,16 @@ let // lib.optionalAttrs (lib.versionAtLeast metadata.release_version "20") { libc-overlay = callPackage ./libc { isFullBuild = false; + # Use clang due to "gnu::naked" not working on aarch64. + # Issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 + stdenv = overrideCC stdenv buildLlvmTools.clang; }; libc-full = callPackage ./libc { isFullBuild = true; + # Use clang due to "gnu::naked" not working on aarch64. + # Issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 + stdenv = overrideCC stdenv buildLlvmTools.clangNoLibcNoRt; }; libc = if stdenv.targetPlatform.libc == "llvm" then libraries.libc-full else libraries.libc-overlay; diff --git a/pkgs/development/compilers/llvm/common/libc/default.nix b/pkgs/development/compilers/llvm/common/libc/default.nix index 09fbeb5e7cc6..900c884c72b4 100644 --- a/pkgs/development/compilers/llvm/common/libc/default.nix +++ b/pkgs/development/compilers/llvm/common/libc/default.nix @@ -14,6 +14,7 @@ ninja, isFullBuild ? true, linuxHeaders, + fetchpatch, }: let pname = "libc"; @@ -25,26 +26,28 @@ let cp -r ${monorepoSrc}/llvm "$out" cp -r ${monorepoSrc}/${pname} "$out" ''); - - stdenv' = - if stdenv.cc.isClang then - stdenv.override { - cc = stdenv.cc.override { - nixSupport = stdenv.cc.nixSupport // { - cc-cflags = lib.remove "-lunwind" (stdenv.cc.nixSupport.cc-cflags or [ ]); - }; - }; - } - else - stdenv; in -stdenv'.mkDerivation (finalAttrs: { - inherit pname version patches; +stdenv.mkDerivation (finalAttrs: { + inherit pname version; src = src'; sourceRoot = "${finalAttrs.src.name}/runtimes"; + patches = + lib.optional (lib.versions.major version == "20") + # Removes invalid token from the LLVM version being placed in the namespace. + # Can be removed when LLVM 20 bumps to rc2. + # PR: https://github.com/llvm/llvm-project/pull/126284 + ( + fetchpatch { + url = "https://github.com/llvm/llvm-project/commit/3a3a3230d171e11842a9940b6da0f72022b1c5b3.patch"; + stripLen = 1; + hash = "sha256-QiU1cWp+027ZZNVdvfGVwbIoRd9jqtSbftGsmaW1gig="; + } + ) + ++ patches; + nativeBuildInputs = [ cmake From d2a61b2dd4759f7be8e2cbe241f95532ab8cfffc Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Tue, 4 Feb 2025 22:56:00 +0100 Subject: [PATCH 40/53] sdl3: fix building for static windows --- pkgs/by-name/sd/sdl3/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sd/sdl3/package.nix b/pkgs/by-name/sd/sdl3/package.nix index 004dee8aa8d1..78f564388f47 100644 --- a/pkgs/by-name/sd/sdl3/package.nix +++ b/pkgs/by-name/sd/sdl3/package.nix @@ -173,7 +173,8 @@ stdenv.mkDerivation (finalAttrs: { # Many dependencies are not directly linked to, but dlopen()'d at runtime. Adding them to the RPATH # helps them be found NIX_LDFLAGS = - lib.optionalString (stdenv.hostPlatform.extensions.sharedLibrary == ".so") + lib.optionalString + (stdenv.hostPlatform.hasSharedLibraries && stdenv.hostPlatform.extensions.sharedLibrary == ".so") "-rpath ${ lib.makeLibraryPath (finalAttrs.dlopenBuildInputs ++ finalAttrs.dlopenPropagatedBuildInputs) }"; @@ -230,7 +231,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://github.com/libsdl-org/SDL/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.zlib; maintainers = with lib.maintainers; [ getchoo ]; - platforms = lib.platforms.unix; + platforms = lib.platforms.unix ++ lib.platforms.windows; pkgConfigModules = [ "sdl3" ]; }; }) From fd442c50f9514c3b778ed08034914d7064dc2f01 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Wed, 5 Feb 2025 20:28:35 +0100 Subject: [PATCH 41/53] sdl3: assert that wayland is built with opengl Wayland support in SDL3 requires OpenGL. Without it the wayland support is silently skipped in the built library. --- pkgs/by-name/sd/sdl3/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/sd/sdl3/package.nix b/pkgs/by-name/sd/sdl3/package.nix index 78f564388f47..6f7f818984aa 100644 --- a/pkgs/by-name/sd/sdl3/package.nix +++ b/pkgs/by-name/sd/sdl3/package.nix @@ -51,6 +51,10 @@ x11Support ? !stdenv.hostPlatform.isAndroid && !stdenv.hostPlatform.isWindows, }: +assert lib.assertMsg ( + waylandSupport -> openglSupport +) "SDL3 requires OpenGL support to enable Wayland"; + stdenv.mkDerivation (finalAttrs: { pname = "sdl3"; version = "3.2.2"; From ab27b065977d94ec609be2456c24b4f1acf906b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Feb 2025 21:29:15 +0000 Subject: [PATCH 42/53] python312Packages.pysoundfile: 0.13.0 -> 0.13.1 --- pkgs/development/python-modules/soundfile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/soundfile/default.nix b/pkgs/development/python-modules/soundfile/default.nix index 4d095f06c9cb..aec21950eed7 100644 --- a/pkgs/development/python-modules/soundfile/default.nix +++ b/pkgs/development/python-modules/soundfile/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "soundfile"; - version = "0.13.0"; + version = "0.13.1"; pyproject = true; # https://github.com/bastibe/python-soundfile/issues/157 disabled = isPyPy || stdenv.hostPlatform.isi686; src = fetchPypi { inherit pname version; - hash = "sha256-6DOZ2L3n1zsRfDPWoeyFcTGDOPic5y9MPUV+l2h5g1U="; + hash = "sha256-ssaNqx4wKXMXCApbQ99X4wJYTEnilC3v3eCszMU/Dls="; }; postPatch = '' From 87be39f10b9341df08a3c6afd4a3f042b6077be8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Feb 2025 22:07:52 +0000 Subject: [PATCH 43/53] python312Packages.dom-toml: 2.0.0 -> 2.0.1 --- pkgs/development/python-modules/dom-toml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dom-toml/default.nix b/pkgs/development/python-modules/dom-toml/default.nix index 99ff069ce49f..76ff28c51b6a 100644 --- a/pkgs/development/python-modules/dom-toml/default.nix +++ b/pkgs/development/python-modules/dom-toml/default.nix @@ -9,13 +9,13 @@ }: buildPythonPackage rec { pname = "dom-toml"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; src = fetchPypi { inherit version; pname = "dom_toml"; - hash = "sha256-PAfoQ2U4mUl0Ensa4DdmHRp3mskVxE/Qazq1/hQP9Yk="; + hash = "sha256-McWHRZXHd/QcwZHDTGbb6iFcgomnsUi0Jft6EMP0+8g="; }; build-system = [ flit-core ]; From 9c53679a1a978811476f29585f25ea06bc3bd29c Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 11 Feb 2025 23:56:38 +0100 Subject: [PATCH 44/53] lomiri.lomiri-music-app: Fix passthru.updateScript Tags are prefixed with v, need to remove that. --- pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix index f3688b33d9e3..4d27e18dd569 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix @@ -107,7 +107,7 @@ stdenv.mkDerivation (finalAttrs: { passthru = { tests.vm = nixosTests.lomiri-music-app; - updateScript = gitUpdater { }; + updateScript = gitUpdater { rev-prefix = "v"; }; }; meta = { From 0ac2f6f4eec2493c4ac4fe3d0a324dfd0e8ebf06 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Feb 2025 23:57:55 +0000 Subject: [PATCH 45/53] python312Packages.hid: 1.0.6 -> 1.0.7 --- pkgs/development/python-modules/hid/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hid/default.nix b/pkgs/development/python-modules/hid/default.nix index f8d0535409a5..59af2d501e9a 100644 --- a/pkgs/development/python-modules/hid/default.nix +++ b/pkgs/development/python-modules/hid/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "hid"; - version = "1.0.6"; + version = "1.0.7"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-SNdk166XRroSO5bb9FeJPKgCaLd5HEsdLgUTEO64OGA="; + hash = "sha256-P4CeKSq1LEQ1rRRCyO8gW+TJyk7rgPtHx9mODHVSeyo="; }; postPatch = '' From d1e4020ac2653d4e5dbb68723b89d7ae1b40ac8d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 12 Feb 2025 00:31:57 +0000 Subject: [PATCH 46/53] api-linter: 1.68.0 -> 1.69.0 --- pkgs/by-name/ap/api-linter/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ap/api-linter/package.nix b/pkgs/by-name/ap/api-linter/package.nix index 6e77539b60cc..86c08979d205 100644 --- a/pkgs/by-name/ap/api-linter/package.nix +++ b/pkgs/by-name/ap/api-linter/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "api-linter"; - version = "1.68.0"; + version = "1.69.0"; src = fetchFromGitHub { owner = "googleapis"; repo = "api-linter"; rev = "v${version}"; - hash = "sha256-pYzdI7bcAPP47K4EKjsAV7UY2RLGX9m3tksYRZeGdTQ="; + hash = "sha256-a+TBI4rm/6JzDH6PZyYfX6ThZuA6FW7H6ml5K9lorG4="; }; - vendorHash = "sha256-vdoEMMlFwS+BBd0EsrahVL3ZZE4PHQJP4CNwsqIo5Y8="; + vendorHash = "sha256-wQQGQHz7Z8iSaDbfGWR/MazCo27uLycN0rKerRqzCDc="; subPackages = [ "cmd/api-linter" ]; From e937874e091144f60b1839c0aa5c4764f0d9ec2e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 12 Feb 2025 00:37:24 +0000 Subject: [PATCH 47/53] thermald: 2.5.8 -> 2.5.9 --- pkgs/by-name/th/thermald/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/th/thermald/package.nix b/pkgs/by-name/th/thermald/package.nix index 590b813f6644..fbf1e7fdf9aa 100644 --- a/pkgs/by-name/th/thermald/package.nix +++ b/pkgs/by-name/th/thermald/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { pname = "thermald"; - version = "2.5.8"; + version = "2.5.9"; outputs = [ "out" @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { owner = "intel"; repo = "thermal_daemon"; rev = "v${version}"; - sha256 = "sha256-aqNaXg+XznIgsMzORcRcwfTI5tBYmSGA2pma2oUu8K4="; + sha256 = "sha256-ydv6wZ3r2QxVji9bSx0sgpaOQNtgN+Y4rPZ44XtxNh8="; }; nativeBuildInputs = [ From 062abf015545737d3e76126213885725b25e9e22 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 12 Feb 2025 02:32:49 +0000 Subject: [PATCH 48/53] ndpi: 4.10 -> 4.12 --- pkgs/by-name/nd/ndpi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nd/ndpi/package.nix b/pkgs/by-name/nd/ndpi/package.nix index ffade02b5b4a..134487ef4e96 100644 --- a/pkgs/by-name/nd/ndpi/package.nix +++ b/pkgs/by-name/nd/ndpi/package.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "ndpi"; - version = "4.10"; + version = "4.12"; src = fetchFromGitHub { owner = "ntop"; repo = "nDPI"; tag = finalAttrs.version; - hash = "sha256-iXqvDMJsOXcg9YkqKFgInLLfH6j/HEp4bEaIl6dpVtc="; + hash = "sha256-jdyKvM/Tb9pRWQPxpB/UQOOKamWrTS24Ofc3M5M1Zso="; }; nativeBuildInputs = [ From 0932d53270d1417cf2b7012db38defae169f5faa Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 12 Feb 2025 03:42:22 +0100 Subject: [PATCH 49/53] services.mysqlBackup: document why we need different dumpBinary paths --- nixos/modules/services/backup/mysql-backup.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index 7e6a0b76d08f..7a2e6df8a1be 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -8,6 +8,7 @@ let cfg = config.services.mysqlBackup; defaultUser = "mysqlbackup"; + # Newer mariadb versions warn of the usage of 'mysqldump' and recommend 'mariadb-dump' (https://mariadb.com/kb/en/mysqldump/) dumpBinary = if ( From 9361081879eb1cc2ceab714eb273a5befa4cf8f0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 6 Feb 2025 06:39:42 +0100 Subject: [PATCH 50/53] ocamlPackages.httpun-lwt: init at 0.2.0 --- pkgs/development/ocaml-modules/httpun/lwt.nix | 24 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/ocaml-modules/httpun/lwt.nix diff --git a/pkgs/development/ocaml-modules/httpun/lwt.nix b/pkgs/development/ocaml-modules/httpun/lwt.nix new file mode 100644 index 000000000000..c4c671a8c4e6 --- /dev/null +++ b/pkgs/development/ocaml-modules/httpun/lwt.nix @@ -0,0 +1,24 @@ +{ + buildDunePackage, + httpun, + lwt, + gluten, + gluten-lwt, +}: + +buildDunePackage { + pname = "httpun-lwt"; + + inherit (httpun) version src; + + propagatedBuildInputs = [ + gluten + gluten-lwt + httpun + lwt + ]; + + meta = httpun.meta // { + description = "Lwt support for httpun"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4706d9fa0ecd..68aa44eb0c35 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -711,6 +711,8 @@ let httpun-eio = callPackage ../development/ocaml-modules/httpun/eio.nix { }; + httpun-lwt = callPackage ../development/ocaml-modules/httpun/lwt.nix { }; + httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { }; httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { }; From 8e1bf1897df2222a076db70ff8d30960feaee739 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 6 Feb 2025 06:39:46 +0100 Subject: [PATCH 51/53] ocamlPackages.httpun-lwt-unix: init at 0.2.0 --- .../ocaml-modules/httpun/lwt-unix.nix | 20 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/ocaml-modules/httpun/lwt-unix.nix diff --git a/pkgs/development/ocaml-modules/httpun/lwt-unix.nix b/pkgs/development/ocaml-modules/httpun/lwt-unix.nix new file mode 100644 index 000000000000..3e56ca768532 --- /dev/null +++ b/pkgs/development/ocaml-modules/httpun/lwt-unix.nix @@ -0,0 +1,20 @@ +{ + buildDunePackage, + httpun-lwt, + gluten-lwt-unix, +}: + +buildDunePackage { + pname = "httpun-lwt-unix"; + + inherit (httpun-lwt) version src; + + propagatedBuildInputs = [ + httpun-lwt + gluten-lwt-unix + ]; + + meta = httpun-lwt.meta // { + description = "Lwt + Unix support for httpun"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 68aa44eb0c35..09bda1d9cebe 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -713,6 +713,8 @@ let httpun-lwt = callPackage ../development/ocaml-modules/httpun/lwt.nix { }; + httpun-lwt-unix = callPackage ../development/ocaml-modules/httpun/lwt-unix.nix { }; + httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { }; httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { }; From 0aed334603b6fcd9135f6444ee0bb5c5ec4bcc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 11 Feb 2025 19:39:23 -0800 Subject: [PATCH 52/53] python313Packages.h5netcdf: 1.4.1 -> 1.5.0 Changelog: https://github.com/h5netcdf/h5netcdf/releases/tag/v1.5.0 --- .../python-modules/h5netcdf/default.nix | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/h5netcdf/default.nix b/pkgs/development/python-modules/h5netcdf/default.nix index 30693abfd054..722f5b17a8f8 100644 --- a/pkgs/development/python-modules/h5netcdf/default.nix +++ b/pkgs/development/python-modules/h5netcdf/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, h5py, pytestCheckHook, netcdf4, @@ -12,22 +12,22 @@ buildPythonPackage rec { pname = "h5netcdf"; - version = "1.4.1"; - format = "pyproject"; + version = "1.5.0"; + pyproject = true; - disabled = pythonOlder "3.9"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-fIQBq4B/83yXmO3JDZlGdZWJLmxUGl1avrj1OqtTNf4="; + src = fetchFromGitHub { + owner = "h5netcdf"; + repo = "h5netcdf"; + tag = "v${version}"; + hash = "sha256-fhLL8/XgYQmdHckh5xhYvnlc+MTIc2wcTOZaohFFGlk="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ h5py ]; + dependencies = [ h5py ]; nativeCheckInputs = [ pytestCheckHook @@ -39,9 +39,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "h5netcdf" ]; meta = with lib; { - description = "netCDF4 via h5py"; + description = "Pythonic interface to netCDF4 via h5py"; homepage = "https://github.com/shoyer/h5netcdf"; - changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/v${version}"; + changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = [ ]; }; From ec32f93eb220a5ddc34bdc04dbe6d5b9fdf07dc0 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 11 Feb 2025 22:20:48 +0100 Subject: [PATCH 53/53] workflows/eval-lib-tests: Run on maintainer changes The lib tests also check maintainers, not doing so can cause problems: https://github.com/NixOS/nixpkgs/pull/379894 --- .github/workflows/eval-lib-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/eval-lib-tests.yml b/.github/workflows/eval-lib-tests.yml index 065fe8fdb282..f0f5fbf376c2 100644 --- a/.github/workflows/eval-lib-tests.yml +++ b/.github/workflows/eval-lib-tests.yml @@ -4,6 +4,7 @@ on: pull_request_target: paths: - 'lib/**' + - 'maintainers/**' permissions: {}