From 753cb6817d72c51dddadf9c23305082c2a8920e1 Mon Sep 17 00:00:00 2001 From: Evils Date: Wed, 15 May 2024 22:00:49 +0200 Subject: [PATCH 01/81] wxGTK32: 3.2.4 -> 3.2.5 --- pkgs/development/libraries/wxwidgets/wxGTK32.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/wxwidgets/wxGTK32.nix b/pkgs/development/libraries/wxwidgets/wxGTK32.nix index 3094f253a01a..1664552b8ce0 100644 --- a/pkgs/development/libraries/wxwidgets/wxGTK32.nix +++ b/pkgs/development/libraries/wxwidgets/wxGTK32.nix @@ -51,23 +51,15 @@ let in stdenv.mkDerivation rec { pname = "wxwidgets"; - version = "3.2.4"; + version = "3.2.5"; src = fetchFromGitHub { owner = "wxWidgets"; repo = "wxWidgets"; rev = "v${version}"; - hash = "sha256-YkV150sDsfBEHvHne0GF6i8Y5881NrByPkLtPAmb24E="; + hash = "sha256-ibkXs693xO+z3JuMvlG4b/+A8f4Lf5TYqdDa67fb9ck="; }; - patches = [ - (fetchpatch { - name = "avoid_gtk3_crash.patch"; - url = "https://github.com/wxWidgets/wxWidgets/commit/8ea22b5e92bf46add0b20059f6e39a938858ff97.patch"; - hash = "sha256-zAyqVTdej4F3R7vVMLiKkXqJTAHDtGYJnyjaRyDmMOM="; - }) - ]; - nativeBuildInputs = [ pkg-config ]; buildInputs = [ From a5d889421111dcf23fd692e0b9baff648660ff5a Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 18 May 2024 00:01:12 +0200 Subject: [PATCH 02/81] challenger: init at 0.10.0 --- pkgs/by-name/ch/challenger/package.nix | 81 ++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 pkgs/by-name/ch/challenger/package.nix diff --git a/pkgs/by-name/ch/challenger/package.nix b/pkgs/by-name/ch/challenger/package.nix new file mode 100644 index 000000000000..ca3a7cf36534 --- /dev/null +++ b/pkgs/by-name/ch/challenger/package.nix @@ -0,0 +1,81 @@ +{ + lib, + stdenv, + fetchgit, + autoreconfHook, + libgcrypt, + pkg-config, + texinfo, + curl, + gnunet, + jansson, + libgnurl, + libmicrohttpd, + libsodium, + libtool, + postgresql, + taler-exchange, + taler-merchant, + runtimeShell, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "challenger"; + version = "0.10.0"; + + src = fetchgit { + url = "https://git.taler.net/challenger.git"; + rev = "v${finalAttrs.version}"; + hash = "sha256-fjT3igPQ9dQtOezwZVfK5fBaL22FKOCbjUF0U1urK0g="; + }; + + # https://git.taler.net/challenger.git/tree/bootstrap + preAutoreconf = '' + # Generate Makefile.am in contrib/ + pushd contrib + rm -f Makefile.am + find wallet-core/challenger/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext + # Remove extra '\' at the end of the file + truncate -s -2 Makefile.am.ext + cat Makefile.am.in Makefile.am.ext >> Makefile.am + # Prevent accidental editing of the generated Makefile.am + chmod -w Makefile.am + popd + ''; + + strictDeps = true; + + nativeBuildInputs = [ + autoreconfHook + libgcrypt + pkg-config + texinfo + ]; + + buildInputs = [ + curl + gnunet + jansson + libgcrypt + libgnurl + libmicrohttpd + libsodium + libtool + postgresql + taler-exchange + taler-merchant + ]; + + preFixup = '' + substituteInPlace $out/bin/challenger-{dbconfig,send-post.sh} \ + --replace-fail "/bin/bash" "${runtimeShell}" + ''; + + meta = { + description = "OAuth 2.0-based authentication service that validates user can receive messages at a certain address"; + homepage = "https://git.taler.net/challenger.git"; + license = lib.licenses.agpl3Plus; + maintainers = with lib.maintainers; [ wegank ]; + platforms = lib.platforms.linux; + }; +}) From babcf8c5b31195f371d66fce749ea9902df8f065 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 30 May 2024 12:01:34 +0200 Subject: [PATCH 03/81] geesefs: init at 0.41.0 This is a fork of Goofys. --- pkgs/by-name/ge/geesefs/package.nix | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/ge/geesefs/package.nix diff --git a/pkgs/by-name/ge/geesefs/package.nix b/pkgs/by-name/ge/geesefs/package.nix new file mode 100644 index 000000000000..5d0277040141 --- /dev/null +++ b/pkgs/by-name/ge/geesefs/package.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +}: + +let version = "0.41.0"; +in buildGoModule { + pname = "geesefs"; + inherit version; + + src = fetchFromGitHub { + owner = "yandex-cloud"; + repo = "geesefs"; + rev = "v${version}"; + hash = "sha256-tOioEimL4+xf19sdMwRS8tRmKKxLXmR8DWMEmvRqdJM="; + }; + + # hashes differ per architecture otherwise. + proxyVendor = true; + vendorHash = "sha256-pO6ZngGw9vp47cstOTpQ/lBpBQRXIUuSuhsldZPR5Sk="; + + subPackages = [ "." ]; + + meta = { + homepage = "https://github.com/yandex-cloud/geesefs"; + description = "Finally, a good FUSE FS implementation over S3"; + license = [ lib.licenses.mit ]; + maintainers = [ lib.maintainers.flokli ]; + platforms = lib.platforms.unix; + mainProgram = "geesefs"; + }; +} From 2093ef28d9410f274af967c44f7386a6749ae89e Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 29 May 2024 15:26:56 +0300 Subject: [PATCH 04/81] doc/meta: mention how Hydra and other tools don't run passthru.tests --- doc/stdenv/meta.chapter.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index 575d3368326d..da0546a4367a 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -125,6 +125,8 @@ $ cd path/to/nixpkgs $ nix-build -A your-package.tests ``` +Note that Hydra and [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review) don't build these derivations by default, and that ([`@ofborg`](https://github.com/NixOS/ofborg)) only builds them when evaluating PRs for that particular package (or when manually instructed). + #### Package tests {#var-meta-tests-packages} Tests that are part of the source package are often executed in the `installCheckPhase`. From f4e7ce7719ef657ee9de9fb23e750c44e46989df Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 29 May 2024 15:27:04 +0300 Subject: [PATCH 05/81] doc/meta: small link target shortenning Shorten the path from the link to the to actual content about passthru.tests - the content was moved into pkgs/README.md . --- doc/stdenv/meta.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index da0546a4367a..c47c4be87d5d 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -137,7 +137,7 @@ Prefer `passthru.tests` for tests that are introduced in nixpkgs because: * we can run `passthru.tests` independently * `installCheckPhase` adds overhead to each build -For more on how to write and run package tests, see [](#sec-package-tests). +For more on how to write and run package tests, see [`pkgs/README.md`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests). #### NixOS tests {#var-meta-tests-nixos} From f4e6f41b726bae27f110b78c67480d9ab154dc9a Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 29 May 2024 15:29:29 +0300 Subject: [PATCH 06/81] doc/meta: better explain an advantage or passthru.tests --- doc/stdenv/meta.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index c47c4be87d5d..f9044fdfc9d2 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -134,7 +134,7 @@ Tests that are part of the source package are often executed in the `installChec Prefer `passthru.tests` for tests that are introduced in nixpkgs because: * `passthru.tests` tests the 'real' package, independently from the environment in which it was built -* we can run `passthru.tests` independently +* We can run and debug a `passthru.tests` independently, after the package was built (useful if it takes a long time). * `installCheckPhase` adds overhead to each build For more on how to write and run package tests, see [`pkgs/README.md`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests). From 444c2b6dd06e02f4bd8f153fb6a574e2350d861f Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 29 May 2024 15:29:39 +0300 Subject: [PATCH 07/81] doc/meta: Mention --version as a good usecase for installCheckPhase --- doc/stdenv/meta.chapter.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index f9044fdfc9d2..e2a5a5c31a6e 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -129,9 +129,29 @@ Note that Hydra and [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review) #### Package tests {#var-meta-tests-packages} -Tests that are part of the source package are often executed in the `installCheckPhase`. +Tests that are part of the source package are often executed in the `installCheckPhase`. This phase is also suitable for performing a `--version` test for packages that support such flag. Here's an example: -Prefer `passthru.tests` for tests that are introduced in nixpkgs because: +```nix +# Say the package is git +stdenv.mkDerivation(finalAttrs: { + pname = "git"; + version = "..."; + # ... + + doInstallCheck = true; + installCheckPhase = '' + runHook preInstallCheck + + echo checking if 'git --version' mentions ${finalAttrs.version} + $out/bin/git --version | grep ${finalAttrs.version} + + runHook postInstallCheck + ''; + # ... +}) +``` + +Most programs distributed by Nixpkgs support such a `--version` flag, and it can help give confidence that the package at least got compiled properly. However, tests that are slightly non trivial will better fit into `passthru.tests`, because: * `passthru.tests` tests the 'real' package, independently from the environment in which it was built * We can run and debug a `passthru.tests` independently, after the package was built (useful if it takes a long time). From 0aa9043370cc9ea101b5c5b9427c74298252ed5c Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 30 May 2024 16:33:27 +0300 Subject: [PATCH 08/81] doc/meta: still mention testVersion near the installCheckPhase recommendation --- doc/stdenv/meta.chapter.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index e2a5a5c31a6e..6d9b61b0647c 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -157,6 +157,8 @@ Most programs distributed by Nixpkgs support such a `--version` flag, and it can * We can run and debug a `passthru.tests` independently, after the package was built (useful if it takes a long time). * `installCheckPhase` adds overhead to each build +It is also possible to still use `passthru.tests` to test the version, with [testVersion](#tester-testVersion). + For more on how to write and run package tests, see [`pkgs/README.md`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests). #### NixOS tests {#var-meta-tests-nixos} From 9e65a7fba2f52b391271fb1de5c700f72591da87 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 30 May 2024 17:24:03 +0200 Subject: [PATCH 09/81] tinycc: fix build on x86_64-darwin --- pkgs/development/compilers/tinycc/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix index a848accf1666..b36eb44229d1 100644 --- a/pkgs/development/compilers/tinycc/default.nix +++ b/pkgs/development/compilers/tinycc/default.nix @@ -79,6 +79,11 @@ stdenv.mkDerivation (finalAttrs: { configureFlagsArray+=("--elfinterp=$(< $NIX_CC/nix-support/dynamic-linker)") ''; + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ + "-Wno-error=implicit-int" + "-Wno-error=int-conversion" + ]); + # Test segfault for static build doCheck = !stdenv.hostPlatform.isStatic; From 0ba898546b24fa642a00c010ff5dbdcb788fb568 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 00:58:33 +0300 Subject: [PATCH 10/81] alt-tab-macos: 6.69.0 -> 6.70.1 Diff: https://github.com/lwouis/alt-tab-macos/compare/v6.69.0...v6.70.1 Changelog: https://github.com/lwouis/alt-tab-macos/releases/tag/v6.70.1 --- pkgs/by-name/al/alt-tab-macos/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/al/alt-tab-macos/package.nix b/pkgs/by-name/al/alt-tab-macos/package.nix index e5b22dedcb82..3f252b16a069 100644 --- a/pkgs/by-name/al/alt-tab-macos/package.nix +++ b/pkgs/by-name/al/alt-tab-macos/package.nix @@ -8,11 +8,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "alt-tab-macos"; - version = "6.69.0"; + version = "6.70.1"; src = fetchurl { url = "https://github.com/lwouis/alt-tab-macos/releases/download/v${finalAttrs.version}/AltTab-${finalAttrs.version}.zip"; - hash = "sha256-v0HeucpDGdnK0p9zoYUbEBoHzRMlcJBEIIS1vQZ00A0="; + hash = "sha256-4LdlLoc6hMF1jIlHeC89m1unStCsID6/nWJuuYUX96o="; }; sourceRoot = "."; From 11967e5d840372f8d6828d0474c49b1732cc2af7 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 00:59:01 +0300 Subject: [PATCH 11/81] alt-tab-macos: refactor updateScript - Simplify the updateScript --- pkgs/by-name/al/alt-tab-macos/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/al/alt-tab-macos/package.nix b/pkgs/by-name/al/alt-tab-macos/package.nix index 3f252b16a069..0654ea53b897 100644 --- a/pkgs/by-name/al/alt-tab-macos/package.nix +++ b/pkgs/by-name/al/alt-tab-macos/package.nix @@ -2,7 +2,7 @@ lib, stdenvNoCC, fetchurl, - gitUpdater, + nix-update-script, unzip, }: @@ -28,10 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - passthru.updateScript = gitUpdater { - url = "https://github.com/lwouis/alt-tab-macos"; - rev-prefix = "v"; - }; + passthru.updateScript = nix-update-script { }; meta = { description = "Windows alt-tab on macOS"; From 2bbaf390ffd24c277a68d6c86b33a400a7ac5d2a Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:29:08 +0300 Subject: [PATCH 12/81] iina: 1.3.4 -> 1.3.5 Diff: https://github.com/iina/iina/compare/v1.3.4...v1.3.5 Changelog: https://github.com/iina/iina/releases/tag/v1.3.5 --- pkgs/by-name/ii/iina/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index 2288a688cf0d..f53f869e933d 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "iina"; - version = "1.3.4"; + version = "1.3.5"; src = fetchurl { url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg"; - hash = "sha256-feUPWtSi/Vsnv1mjGyBgB0wFMxx6r6UzrUratlAo14w="; + hash = "sha256-O4uRmfQaGMKqizDlgk0MnazMHVkXaDLqZQ9TP8vcajg="; }; nativeBuildInputs = [ undmg ]; From 7173015b46aa27a081a58d4f83f9540e4d9a2849 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:29:18 +0300 Subject: [PATCH 13/81] iina: add maintainer donteatoreo --- pkgs/by-name/ii/iina/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index f53f869e933d..8210f3b72c26 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -33,6 +33,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; mainProgram = "iina"; - maintainers = with maintainers; [ arkivm stepbrobd ]; + maintainers = with maintainers; [ arkivm donteatoreo stepbrobd ]; }; } From 0cac0b7e95d585ef093366d5cde3610fa3265dcb Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:31:41 +0300 Subject: [PATCH 14/81] iina: use finalAttrs pattern --- pkgs/by-name/ii/iina/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index 8210f3b72c26..2f6aaefd36dc 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -5,12 +5,12 @@ , nix-update-script }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "iina"; version = "1.3.5"; src = fetchurl { - url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg"; + url = "https://github.com/iina/iina/releases/download/v${finalAttrs.version}/IINA.v${finalAttrs.version}.dmg"; hash = "sha256-O4uRmfQaGMKqizDlgk0MnazMHVkXaDLqZQ9TP8vcajg="; }; @@ -35,4 +35,4 @@ stdenv.mkDerivation rec { mainProgram = "iina"; maintainers = with maintainers; [ arkivm donteatoreo stepbrobd ]; }; -} +}) From 5b281e4f3008329550b6b50fe77191c1a8f7cf40 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:33:48 +0300 Subject: [PATCH 15/81] iina: sort meta alphabetically --- pkgs/by-name/ii/iina/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index 2f6aaefd36dc..d1ca49d94ed6 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -27,12 +27,12 @@ stdenv.mkDerivation (finalAttrs: { passthru.updateScript = nix-update-script { }; meta = with lib; { - homepage = "https://iina.io/"; description = "The modern media player for macOS"; - platforms = platforms.darwin; + homepage = "https://iina.io/"; license = licenses.gpl3; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - mainProgram = "iina"; maintainers = with maintainers; [ arkivm donteatoreo stepbrobd ]; + mainProgram = "iina"; + platforms = platforms.darwin; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; }) From ff3bced431be3fddbe3514320430de0e0df68a85 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:34:40 +0300 Subject: [PATCH 16/81] iina: remove `with lib;` from meta --- pkgs/by-name/ii/iina/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index d1ca49d94ed6..726c28f7d892 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation (finalAttrs: { passthru.updateScript = nix-update-script { }; - meta = with lib; { + meta = { description = "The modern media player for macOS"; homepage = "https://iina.io/"; - license = licenses.gpl3; - maintainers = with maintainers; [ arkivm donteatoreo stepbrobd ]; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ arkivm donteatoreo stepbrobd ]; mainProgram = "iina"; - platforms = platforms.darwin; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + platforms = lib.platforms.darwin; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) From f19a7101dec159bc0efa5fb875fc354272af0338 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:35:45 +0300 Subject: [PATCH 17/81] iina: refactor stdenv -> stdenvNoCC - Since no C compiler is needed, we should prefer stdenvNoCC --- pkgs/by-name/ii/iina/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index 726c28f7d892..bb91238521ff 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -1,11 +1,11 @@ { lib , fetchurl -, stdenv +, stdenvNoCC , undmg , nix-update-script }: -stdenv.mkDerivation (finalAttrs: { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "iina"; version = "1.3.5"; From 8ea8729f12371422e602730c726360c43179f692 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:37:09 +0300 Subject: [PATCH 18/81] iina: format with nixfmt-rfc-style --- pkgs/by-name/ii/iina/package.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ii/iina/package.nix b/pkgs/by-name/ii/iina/package.nix index bb91238521ff..d2c19a077ff9 100644 --- a/pkgs/by-name/ii/iina/package.nix +++ b/pkgs/by-name/ii/iina/package.nix @@ -1,8 +1,9 @@ -{ lib -, fetchurl -, stdenvNoCC -, undmg -, nix-update-script +{ + lib, + fetchurl, + stdenvNoCC, + undmg, + nix-update-script, }: stdenvNoCC.mkDerivation (finalAttrs: { @@ -30,7 +31,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { description = "The modern media player for macOS"; homepage = "https://iina.io/"; license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ arkivm donteatoreo stepbrobd ]; + maintainers = with lib.maintainers; [ + arkivm + donteatoreo + stepbrobd + ]; mainProgram = "iina"; platforms = lib.platforms.darwin; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; From fbd37219c3f829a4ef6974053c175d7470740d9e Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 2 Jun 2024 20:50:21 +0300 Subject: [PATCH 19/81] goodvibes: 0.7.9 -> 0.8.0 Diff: https://gitlab.com/goodvibes/goodvibes/-/compare/v0.7.9...v0.8.0 --- pkgs/applications/audio/goodvibes/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/goodvibes/default.nix b/pkgs/applications/audio/goodvibes/default.nix index d2eb394e59b3..f857e6971e9b 100644 --- a/pkgs/applications/audio/goodvibes/default.nix +++ b/pkgs/applications/audio/goodvibes/default.nix @@ -1,13 +1,14 @@ { lib , stdenv , fetchFromGitLab +, fetchpatch , meson , ninja , pkg-config , glib , glib-networking , gtk3 -, libsoup +, libsoup_3 , keybinder3 , gst_all_1 , wrapGAppsHook3 @@ -17,14 +18,21 @@ stdenv.mkDerivation rec { pname = "goodvibes"; - version = "0.7.9"; + version = "0.8.0"; src = fetchFromGitLab { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-yXrCE3nsdZP4JHKVslzQafjZ380zC8sZv5TJf8dJqJw="; + hash = "sha256-KflLEc6BFA3pBY9HukEm5NluGi2igFNP6joOMdmZ0Ds="; }; + patches = [ + # Fixes a compilation error + (fetchpatch { + url = "https://gitlab.com/goodvibes/goodvibes/-/commit/e332f831b91ee068a1a58846d7607b30ab010116.patch"; + hash = "sha256-PzbTltbD0xWJAytCGg1TAwBLrICP+9QZbCbG1QQ8Qmw="; + }) + ]; nativeBuildInputs = [ meson @@ -40,7 +48,7 @@ stdenv.mkDerivation rec { # for libsoup TLS support glib-networking gtk3 - libsoup + libsoup_3 keybinder3 ] ++ (with gst_all_1; [ gstreamer From c71ebe0dc8f5540a9f5526d88377a906192b5d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 19 May 2024 13:12:57 +0200 Subject: [PATCH 20/81] netboot: drop syslinux and grub The comment says this is required by other modules but to be honest, I cannot see where. Bootloaders will be included automatically by nixos generation if their `installBootLoader` attribute references it. This helps us to make kexec images even smaller espeically when combined with the perlless profile. --- nixos/modules/installer/netboot/netboot.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix index 2228766aca96..93f806b75eb1 100644 --- a/nixos/modules/installer/netboot/netboot.nix +++ b/nixos/modules/installer/netboot/netboot.nix @@ -37,11 +37,6 @@ with lib; # here and it causes a cyclic dependency. boot.loader.grub.enable = false; - # !!! Hack - attributes expected by other modules. - environment.systemPackages = [ pkgs.grub2_efi ] - ++ (lib.optionals (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.syslinux) - [pkgs.grub2 pkgs.syslinux]); - fileSystems."/" = mkImageMediaOverride { fsType = "tmpfs"; options = [ "mode=0755" ]; From e823f8a4b1b7162d3d6da285e35ddf75b3179069 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 17:35:39 +0900 Subject: [PATCH 21/81] python311Packages.langfuse: init at 2.33.1 --- .../python-modules/langfuse/default.nix | 63 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 65 insertions(+) create mode 100644 pkgs/development/python-modules/langfuse/default.nix diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix new file mode 100644 index 000000000000..ba8cb7db308f --- /dev/null +++ b/pkgs/development/python-modules/langfuse/default.nix @@ -0,0 +1,63 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + backoff, + httpx, + idna, + langchain, + llama-index, + openai, + packaging, + poetry-core, + pydantic, + pythonRelaxDepsHook, + wrapt, +}: + +buildPythonPackage rec { + pname = "langfuse"; + version = "2.33.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "langfuse"; + repo = "langfuse-python"; + rev = "refs/tags/v${version}"; + hash = "sha256-ZPCL3Xle4qEw2pNIcja252meep26W/RbVEk2suzywYI="; + }; + + build-system = [ poetry-core ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + pythonRelaxDeps = [ "packaging" ]; + + dependencies = [ + backoff + httpx + idna + packaging + pydantic + wrapt + ]; + + optional-dependencies = { + langchain = [ langchain ]; + llama-index = [ llama-index ]; + openai = [ openai ]; + }; + + pythonImportsCheck = [ "langfuse" ]; + + # tests require network access and openai api key + doCheck = false; + + meta = { + description = "Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability"; + homepage = "https://github.com/langfuse/langfuse-python"; + changelog = "https://github.com/langfuse/langfuse-python/releases/tag/${src.rev}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 39101401e482..87bf8f9c06db 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6491,6 +6491,8 @@ self: super: with self; { langdetect = callPackage ../development/python-modules/langdetect { }; + langfuse = callPackage ../development/python-modules/langfuse { }; + langid = callPackage ../development/python-modules/langid { }; langsmith = callPackage ../development/python-modules/langsmith { }; From 527e89135f73f17a94559e24141eb94bc342c458 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 18:03:01 +0900 Subject: [PATCH 22/81] python311Packages.langchain-chroma: init at 0.1.1 --- .../langchain-chroma/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/langchain-chroma/default.nix diff --git a/pkgs/development/python-modules/langchain-chroma/default.nix b/pkgs/development/python-modules/langchain-chroma/default.nix new file mode 100644 index 000000000000..fb11a1abeed4 --- /dev/null +++ b/pkgs/development/python-modules/langchain-chroma/default.nix @@ -0,0 +1,52 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + chromadb, + langchain-core, + numpy, + poetry-core, + pytestCheckHook, + nix-update-script, +}: + +buildPythonPackage rec { + pname = "langchain-chroma"; + version = "0.1.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "langchain-ai"; + repo = "langchain"; + rev = "refs/tags/langchain-chroma==${version}"; + hash = "sha256-PW4vfZVccuYnaR0jtOfHVaXXYoUyQbCfB8NwM+mXFGc="; + }; + + sourceRoot = "${src.name}/libs/partners/chroma"; + + build-system = [ poetry-core ]; + + dependencies = [ + langchain-core + chromadb + numpy + ]; + + pythonImportsCheck = [ "langchain_chroma" ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "langchain-chroma==(.*)" + ]; + }; + + meta = { + description = "Build context-aware reasoning applications"; + homepage = "https://github.com/langchain-ai/langchain"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 39101401e482..5f2f5c06fe16 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6481,6 +6481,8 @@ self: super: with self; { langchain = callPackage ../development/python-modules/langchain { }; + langchain-chroma = callPackage ../development/python-modules/langchain-chroma { }; + langchain-community = callPackage ../development/python-modules/langchain-community { }; langchain-core = callPackage ../development/python-modules/langchain-core { }; From 6f193b016287f7cef2f448583888edc081012243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 4 Jun 2024 14:26:32 +0200 Subject: [PATCH 23/81] nvidia-x11: add meta to libXNVCtrl --- .../os-specific/linux/nvidia-x11/settings.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index e13f3a157b64..32a026ba879e 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -30,6 +30,14 @@ let inherit sha256; }; + meta = with lib; { + homepage = "https://www.nvidia.com/object/unix.html"; + license = licenses.unfreeRedistributable; + platforms = nvidia_x11.meta.platforms; + mainProgram = "nvidia-settings"; + maintainers = with maintainers; [ abbradar aidalgol ]; + }; + libXNVCtrl = stdenv.mkDerivation { pname = "libXNVCtrl"; version = nvidia_x11.settingsVersion; @@ -62,6 +70,10 @@ let cp NVCtrlLib.h $out/include/NVCtrl cp -P libXNVCtrl.so* $out/lib ''; + + meta = meta // { + description = "NVIDIA NV-CONTROL X extension"; + }; }; in @@ -141,12 +153,7 @@ stdenv.mkDerivation { inherit libXNVCtrl; }; - meta = with lib; { - homepage = "https://www.nvidia.com/object/unix.html"; + meta = meta // { description = "Settings application for NVIDIA graphics cards"; - license = licenses.unfreeRedistributable; - platforms = nvidia_x11.meta.platforms; - mainProgram = "nvidia-settings"; - maintainers = with maintainers; [ abbradar aidalgol ]; }; } From ce9d9ba554e35000863a30bbdc83722d9ffc711b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 4 Jun 2024 14:26:48 +0200 Subject: [PATCH 24/81] nvidia-x11: minor cleanups --- pkgs/os-specific/linux/nvidia-x11/settings.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 32a026ba879e..97d6d362749d 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -121,14 +121,11 @@ stdenv.mkDerivation { installFlags = [ "PREFIX=$(out)" ]; - postInstall = '' - ${lib.optionalString (!withGtk2) '' - rm -f $out/lib/libnvidia-gtk2.so.* - ''} - ${lib.optionalString (!withGtk3) '' - rm -f $out/lib/libnvidia-gtk3.so.* - ''} - + postInstall = lib.optionalString (!withGtk2) '' + rm -f $out/lib/libnvidia-gtk2.so.* + '' + lib.optionalString (!withGtk3) '' + rm -f $out/lib/libnvidia-gtk3.so.* + '' + '' # Install the desktop file and icon. # The template has substitution variables intended to be replaced resulting # in absolute paths. Because absolute paths break after the desktop file is From c06c5c6f919b02f176e91574a5bc41c504911037 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:05:46 +1000 Subject: [PATCH 25/81] go_1_21: 1.21.10 -> 1.21.11 Changelog: https://go.dev/doc/devel/release#go1.21 --- pkgs/development/compilers/go/1.21.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/go/1.21.nix b/pkgs/development/compilers/go/1.21.nix index 4d9982f2b265..335161623300 100644 --- a/pkgs/development/compilers/go/1.21.nix +++ b/pkgs/development/compilers/go/1.21.nix @@ -47,11 +47,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "go"; - version = "1.21.10"; + version = "1.21.11"; src = fetchurl { url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; - hash = "sha256-kA4K/okAwe5lqKjE8MWjygLc+FwdHLE6ZSviLCE5k5Q="; + hash = "sha256-Qq7pvytpVsdaetaqPwpRtYIf/qxX9aLnM6LW6uHm2dI="; }; strictDeps = true; From ac8e61947ffaf49efad4ed409cb44f2158020c9d Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 5 Jun 2024 15:35:49 +0800 Subject: [PATCH 26/81] dialect: 2.3.0 -> 2.4.1 --- pkgs/applications/misc/dialect/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/dialect/default.nix b/pkgs/applications/misc/dialect/default.nix index 9eb7db6212cc..87c2ded56d85 100644 --- a/pkgs/applications/misc/dialect/default.nix +++ b/pkgs/applications/misc/dialect/default.nix @@ -2,7 +2,6 @@ , fetchFromGitHub , wrapGAppsHook4 , python3 -, appstream-glib , blueprint-compiler , desktop-file-utils , meson @@ -15,21 +14,21 @@ , libsoup_3 , glib-networking , libadwaita +, libsecret , nix-update-script }: python3.pkgs.buildPythonApplication rec { pname = "dialect"; - version = "2.3.0"; - - format = "other"; + version = "2.4.1"; + pyproject = false; # built with meson src = fetchFromGitHub { owner = "dialect-app"; repo = "dialect"; rev = version; fetchSubmodules = true; - hash = "sha256-A6jZHcSzHSmHLvyegyzxjQ6+jL6rLb7oefhryXoSrH4="; + hash = "sha256-WEeTdUdhDSfStu+rBYcuk6miuh5e0AsodbyF93Mg4mo="; }; nativeBuildInputs = [ @@ -51,6 +50,7 @@ python3.pkgs.buildPythonApplication rec { libsoup_3 glib-networking libadwaita + libsecret ]; propagatedBuildInputs = with python3.pkgs; [ @@ -74,12 +74,12 @@ python3.pkgs.buildPythonApplication rec { passthru.updateScript = nix-update-script { }; - meta = with lib; { + meta = { homepage = "https://github.com/dialect-app/dialect"; description = "A translation app for GNOME"; - maintainers = with maintainers; [ aleksana ]; - license = licenses.gpl3Plus; - platforms = platforms.linux; + maintainers = with lib.maintainers; [ aleksana ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; mainProgram = "dialect"; }; } From 8f2afba3ae40ca8b39a3cfd7249349f1abc52f9e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Jun 2024 02:27:39 +0000 Subject: [PATCH 27/81] cyanrip: 0.9.2 -> 0.9.3.1 --- pkgs/by-name/cy/cyanrip/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cy/cyanrip/package.nix b/pkgs/by-name/cy/cyanrip/package.nix index e1f1ae1648af..d3266c1dc311 100644 --- a/pkgs/by-name/cy/cyanrip/package.nix +++ b/pkgs/by-name/cy/cyanrip/package.nix @@ -12,13 +12,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "cyanrip"; - version = "0.9.2"; + version = "0.9.3.1"; src = fetchFromGitHub { owner = "cyanreg"; repo = "cyanrip"; rev = "v${finalAttrs.version}"; - hash = "sha256-sWgHf8S4GZDAIvMUf5KvGy2y0JcUbRS53IjArdgokqc="; + hash = "sha256-GAPHsYQYJQOBV4ok7omqhiDPKX+VC4Bw3Msb3pd8Zo8="; }; nativeBuildInputs = [ From 529cea7356497f3b570b5d9a069f337d212c72da Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 5 Jun 2024 20:48:36 +0200 Subject: [PATCH 28/81] python312Packages.youless-api: 2.0.0 -> 2.1.0 Diff: https://github.com/gjong/youless-python-bridge/compare/refs/tags/2.0.0...2.1.0 Changelog: https://github.com/gjong/youless-python-bridge/releases/tag/2.1.0 --- pkgs/development/python-modules/youless-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/youless-api/default.nix b/pkgs/development/python-modules/youless-api/default.nix index 7d5cf2f89b3e..d331e4f1771e 100644 --- a/pkgs/development/python-modules/youless-api/default.nix +++ b/pkgs/development/python-modules/youless-api/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "youless-api"; - version = "2.0.0"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "gjong"; repo = "youless-python-bridge"; rev = "refs/tags/${version}"; - hash = "sha256-FnbfwjrzorLDUi9GJLY+pt5zSn4VpVC3Umc/FH46Pzo="; + hash = "sha256-gygChn5yXuTrVGP82ijKJHcjEuNTu6ZNikc87n8WTrI="; }; build-system = [ setuptools ]; From cede15570ada8cf83053ebe39d896c33d6365e5f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jun 2024 00:13:44 +0200 Subject: [PATCH 29/81] python312Packages.cyclopts: init at 2.6.2 Module to create CLIs based on Python type hints https://github.com/BrianPugh/cyclopts --- .../python-modules/cyclopts/default.nix | 62 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 64 insertions(+) create mode 100644 pkgs/development/python-modules/cyclopts/default.nix diff --git a/pkgs/development/python-modules/cyclopts/default.nix b/pkgs/development/python-modules/cyclopts/default.nix new file mode 100644 index 000000000000..0e89c528057b --- /dev/null +++ b/pkgs/development/python-modules/cyclopts/default.nix @@ -0,0 +1,62 @@ +{ + lib, + attrs, + buildPythonPackage, + docstring-parser, + fetchFromGitHub, + importlib-metadata, + poetry-core, + poetry-dynamic-versioning, + pydantic, + pytest-mock, + pytestCheckHook, + pythonOlder, + rich, + rich-rst, + typing-extensions, +}: + +buildPythonPackage rec { + pname = "cyclopts"; + version = "2.6.2"; + pyproject = true; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "BrianPugh"; + repo = "cyclopts"; + rev = "refs/tags/v${version}"; + hash = "sha256-GWUD9Qu2EKrT7nwlmSpJ31LWSvv6mASxsXGznumusdw="; + }; + + build-system = [ + poetry-core + poetry-dynamic-versioning + ]; + + dependencies = [ + attrs + docstring-parser + importlib-metadata + rich + rich-rst + typing-extensions + ]; + + nativeCheckInputs = [ + pydantic + pytest-mock + pytestCheckHook + ]; + + pythonImportsCheck = [ "cyclopts" ]; + + meta = with lib; { + description = "Module to create CLIs based on Python type hints"; + homepage = "https://github.com/BrianPugh/cyclopts"; + changelog = "https://github.com/BrianPugh/cyclopts/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 061b75dfcffe..cbf82dbbccca 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2672,6 +2672,8 @@ self: super: with self; { cyclonedx-python-lib = callPackage ../development/python-modules/cyclonedx-python-lib { }; + cyclopts = callPackage ../development/python-modules/cyclopts { }; + cymem = callPackage ../development/python-modules/cymem { }; cypari2 = callPackage ../development/python-modules/cypari2 { }; From 1e801679c4d0a15f07b46e0a3587a42615883082 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jun 2024 08:10:22 +0200 Subject: [PATCH 30/81] python312Packages.aiomisc: 17.5.19 -> 17.5.24 Changelog: https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md --- pkgs/development/python-modules/aiomisc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiomisc/default.nix b/pkgs/development/python-modules/aiomisc/default.nix index 0b4bf7483d84..0a7e40e46ed9 100644 --- a/pkgs/development/python-modules/aiomisc/default.nix +++ b/pkgs/development/python-modules/aiomisc/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "aiomisc"; - version = "17.5.19"; + version = "17.5.24"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-0tcWfi4zxqDDMknDPOLNm+S+K1qmHQ5n/PqNFyNbwZg="; + hash = "sha256-9/7QI9z5dYADNRIWBelrUoNe/LaHqpb/Ch4e1Z9I1s4="; }; build-system = [ poetry-core ]; From 1a00c7665948b4adcebc0ee24dc1977e25903cc2 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 9 Apr 2020 23:15:16 +0300 Subject: [PATCH 31/81] LPCNet: init at 0.5 --- pkgs/by-name/lp/LPCNet/package.nix | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pkgs/by-name/lp/LPCNet/package.nix diff --git a/pkgs/by-name/lp/LPCNet/package.nix b/pkgs/by-name/lp/LPCNet/package.nix new file mode 100644 index 000000000000..0d94114f4e6d --- /dev/null +++ b/pkgs/by-name/lp/LPCNet/package.nix @@ -0,0 +1,56 @@ +{ + lib, + stdenv, + fetchFromGitHub, + fetchurl, + cmake, + codec2, + # for tests + octave, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "LPCNet"; + version = "0.5"; + + src = fetchFromGitHub { + owner = "drowe67"; + repo = "LPCNet"; + rev = "v${finalAttrs.version}"; + hash = "sha256-tHZLKXmuM86A6OpfS3CRRjhFbqj1Q/w1w56msdgLHb0="; + }; + passthru = { + # Prebuilt neural network model that is needed during the build - can be overrwritten + nnmodel = fetchurl { + url = "http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz"; + hash = "sha256-UJRAkkdR/dh/+qVoPuPd3ZN69cgzuRBMzOZdUWFJJsg="; + }; + }; + preConfigure = '' + mkdir build + cp \ + ${finalAttrs.finalPackage.passthru.nnmodel} \ + build/${finalAttrs.finalPackage.passthru.nnmodel.name} + ''; + + prePatch = '' + patchShebangs *.sh unittest/*.sh + ''; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ codec2 ]; + nativeCheckInputs = [ octave ]; + + doCheck = true; + preCheck = '' + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}/build/source/build/src" + ''; + + meta = with lib; { + description = "Experimental Neural Net speech coding for FreeDV"; + homepage = "https://github.com/drowe67/LPCNet"; + license = licenses.bsd3; + maintainers = with maintainers; [ doronbehar ]; + platforms = platforms.all; + }; +}) From 8a2f14aed868e038d766ef74167dc048625ea3a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jun 2024 08:28:05 +0200 Subject: [PATCH 32/81] python312Packages.azure-storage-queue: 12.9.0 -> 12.10.0 Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_12.10.0/sdk/storage/azure-storage-queue/CHANGELOG.md --- .../python-modules/azure-storage-queue/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-queue/default.nix b/pkgs/development/python-modules/azure-storage-queue/default.nix index 8f3a18b51c6e..50f5d701138b 100644 --- a/pkgs/development/python-modules/azure-storage-queue/default.nix +++ b/pkgs/development/python-modules/azure-storage-queue/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "azure-storage-queue"; - version = "12.9.0"; + version = "12.10.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-mBAbDhfaDUcM9XALbEDP50Q57Dycds84OYCW5zcbnRs="; + hash = "sha256-dnuj1czNtPcJdOXOYdFkx6t0cyz7K0Qd2HN2aaIRbag="; }; nativeBuildInputs = [ setuptools ]; From 693b9f2e5a4bf0d7537eba7d862dedd84e32c50b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jun 2024 09:01:03 +0200 Subject: [PATCH 33/81] python312Packages.pipdeptree: 2.21.0 -> 2.22.0 Diff: https://github.com/tox-dev/pipdeptree/compare/refs/tags/2.21.0...2.22.0 Changelog: https://github.com/tox-dev/pipdeptree/releases/tag/2.22.0 --- pkgs/development/python-modules/pipdeptree/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pipdeptree/default.nix b/pkgs/development/python-modules/pipdeptree/default.nix index 9b0177ce10ec..e7494472a12d 100644 --- a/pkgs/development/python-modules/pipdeptree/default.nix +++ b/pkgs/development/python-modules/pipdeptree/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "pipdeptree"; - version = "2.21.0"; + version = "2.22.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "tox-dev"; repo = "pipdeptree"; rev = "refs/tags/${version}"; - hash = "sha256-cs04HGmKG1I42AYH1BOfm9tnbSQuCAxo5KOdJ4/ysos="; + hash = "sha256-Kvse8eSlhzIBJvvJ7KoV0FCf9muQHkFS4ozwWp0WLz0="; }; build-system = [ From 0b72bdc88d98b724a7efc71c205781c3007f0df1 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Thu, 6 Jun 2024 19:56:17 +1200 Subject: [PATCH 34/81] dub: migrate to pkgs/by-name --- .../dub/default.nix => by-name/du/dub/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/build-managers/dub/default.nix => by-name/du/dub/package.nix} (100%) diff --git a/pkgs/development/tools/build-managers/dub/default.nix b/pkgs/by-name/du/dub/package.nix similarity index 100% rename from pkgs/development/tools/build-managers/dub/default.nix rename to pkgs/by-name/du/dub/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ad8d6d20c1c..07073ce6146a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7408,8 +7408,6 @@ with pkgs; dt-schema = callPackage ../development/tools/dt-schema { }; - dub = callPackage ../development/tools/build-managers/dub { }; - inherit (import ../build-support/dlang/dub-support.nix { inherit callPackage; }) buildDubPackage dub-to-nix; From f51b304e73a430a32e8e373f5ed9f358ce76d954 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Jun 2024 08:08:49 +0000 Subject: [PATCH 35/81] ghauri: 1.3.2 -> 1.3.4 --- pkgs/tools/security/ghauri/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ghauri/default.nix b/pkgs/tools/security/ghauri/default.nix index fc7cfd2bb1e1..4be441664060 100644 --- a/pkgs/tools/security/ghauri/default.nix +++ b/pkgs/tools/security/ghauri/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "ghauri"; - version = "1.3.2"; + version = "1.3.4"; format = "setuptools"; src = fetchFromGitHub { owner = "r0oth3x49"; repo = "ghauri"; rev = "refs/tags/${version}"; - hash = "sha256-zd+Uf2t8yBWi07+BJYYYQ+4fIissuBdXjj877ul4gAQ="; + hash = "sha256-1xrswAxavUz3ybmT0E00pjiR8pmHvuBXE4zhAPnz5MQ="; }; propagatedBuildInputs = with python3.pkgs; [ From d04c804ad999f38ab21508b4f84f5272eaaf7654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Thu, 6 Jun 2024 21:25:25 +1000 Subject: [PATCH 36/81] cpcfs: fix darwin build This code is written in gnu89. --- pkgs/tools/filesystems/cpcfs/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/filesystems/cpcfs/default.nix b/pkgs/tools/filesystems/cpcfs/default.nix index 3b1d54ba427c..654a88961440 100644 --- a/pkgs/tools/filesystems/cpcfs/default.nix +++ b/pkgs/tools/filesystems/cpcfs/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ncurses readline ronn ]; + env.NIX_CFLAGS_COMPILE = "-std=gnu89"; + postPatch = '' substituteInPlace Makefile \ --replace '-ltermcap' '-lncurses' \ From 15154642a9480d9fc13e481d4402e98c5a657e6d Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 24 Aug 2022 19:53:09 +0300 Subject: [PATCH 37/81] rtl_fm_streamer: init at unstable-2021-06-08 --- pkgs/by-name/rt/rtl_fm_streamer/package.nix | 49 +++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 pkgs/by-name/rt/rtl_fm_streamer/package.nix diff --git a/pkgs/by-name/rt/rtl_fm_streamer/package.nix b/pkgs/by-name/rt/rtl_fm_streamer/package.nix new file mode 100644 index 000000000000..13bb403e6fff --- /dev/null +++ b/pkgs/by-name/rt/rtl_fm_streamer/package.nix @@ -0,0 +1,49 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, libusb1 +, libev +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "rtl_fm_streamer"; + version = "unstable-2021-06-08"; + + src = fetchFromGitHub { + owner = "AlbrechtL"; + repo = "rtl_fm_streamer"; + rev = "ceb2bf06883f986ed01aa57c84989ba35b6b9a27"; + sha256 = "sha256-9M7GS6AC7HEJge04vl7V6ZdtwWvbMu/Rhaf9fwQa9WA="; + }; + + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace '/etc/udev/rules.d' "$out/etc/udev/rules.d" + + substituteInPlace rtl-sdr.rules \ + --replace 'MODE:="0666"' 'ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"' + ''; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + libusb1 + libev + ]; + + cmakeFlags = [ + (lib.cmakeBool "INSTALL_UDEV_RULES" stdenv.isLinux) + ]; + + meta = { + description = "Turns your Realtek RTL2832 based DVB dongle into a FM radio stereo receiver"; + homepage = "https://github.com/AlbrechtL/rtl_fm_streamer"; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ doronbehar ]; + }; +}) From f3f3baf0ed98b49843e3f6a8d9a1d31d7c6f94d7 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 6 Jun 2024 15:33:43 +0300 Subject: [PATCH 38/81] rtl_fm_streamer: mark as broken on x86_64-darwin --- pkgs/by-name/rt/rtl_fm_streamer/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/rt/rtl_fm_streamer/package.nix b/pkgs/by-name/rt/rtl_fm_streamer/package.nix index 13bb403e6fff..05874d646108 100644 --- a/pkgs/by-name/rt/rtl_fm_streamer/package.nix +++ b/pkgs/by-name/rt/rtl_fm_streamer/package.nix @@ -45,5 +45,6 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/AlbrechtL/rtl_fm_streamer"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ doronbehar ]; + broken = stdenv.isDarwin && stdenv.isx86_64; }; }) From f70e7461191b8ade2f34860824ca2f32016667d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 4 Jun 2024 15:22:22 +0200 Subject: [PATCH 39/81] nvidia-x11: don't require gtk2 input when it is disabled --- pkgs/os-specific/linux/nvidia-x11/settings.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 97d6d362749d..ba23fbfe8567 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -116,7 +116,8 @@ stdenv.mkDerivation { nativeBuildInputs = [ pkg-config m4 addOpenGLRunpath ]; - buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 gtk2 dbus ] + buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 dbus ] + ++ lib.optionals (withGtk2 || lib.versionOlder nvidia_x11.settingsVersion "525.53") [ gtk2 ] ++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook3 ]; installFlags = [ "PREFIX=$(out)" ]; From e22ff752ff7af20006f4fa57fcd4cdfe7a4eb864 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Thu, 6 Jun 2024 18:39:41 +0200 Subject: [PATCH 40/81] keypunch: set meta.platforms to linux only --- pkgs/by-name/ke/keypunch/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ke/keypunch/package.nix b/pkgs/by-name/ke/keypunch/package.nix index b903a4d2d1a2..31365c7431ce 100644 --- a/pkgs/by-name/ke/keypunch/package.nix +++ b/pkgs/by-name/ke/keypunch/package.nix @@ -60,5 +60,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl3Plus; mainProgram = "keypunch"; maintainers = with lib.maintainers; [ tomasajt ]; + platforms = lib.platforms.linux; }; }) From 11cf96a167b1bef2b09d948c2bd60ff7ec2d1037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Thu, 6 Jun 2024 17:20:25 -0300 Subject: [PATCH 41/81] latexminted: 0.1.0b2 -> 0.1.0b5 --- pkgs/by-name/la/latexminted/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/la/latexminted/package.nix b/pkgs/by-name/la/latexminted/package.nix index c1c391c51144..fc5cb3a3a7e9 100644 --- a/pkgs/by-name/la/latexminted/package.nix +++ b/pkgs/by-name/la/latexminted/package.nix @@ -7,12 +7,12 @@ python3Packages.buildPythonApplication rec { pname = "latexminted"; - version = "0.1.0b2"; + version = "0.1.0b5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Yl/2zvNMYuYkwR5tDZ0vhBLO964GBUx1DeyLK/Q3T5c="; + hash = "sha256-1K43rX3hs+ywMzOyeKX+GmAGUVHTDZB3Yo87dZ/uYaQ="; }; build-system = with python3Packages; [ From ae2d3e6823f98b55dfa064fff5a81ed26be9343c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 6 Jun 2024 23:20:53 +0200 Subject: [PATCH 42/81] python311Packages.rye: 2.23.0 -> 2.24.0 Changelog: https://github.com/ray-project/ray/releases/tag/ray-2.24.0 --- pkgs/development/python-modules/ray/binary-hashes.nix | 4 ++-- pkgs/development/python-modules/ray/default.nix | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ray/binary-hashes.nix b/pkgs/development/python-modules/ray/binary-hashes.nix index 10f3e946bdf8..45e06d9caff8 100644 --- a/pkgs/development/python-modules/ray/binary-hashes.nix +++ b/pkgs/development/python-modules/ray/binary-hashes.nix @@ -1,8 +1,8 @@ { cp310 = { - hash = "sha256-VWEPjq5lzlaGvedaV4LOY+KgESzNImK4rNcHJk2m2+o="; + hash = "sha256-e0B3uGc5Yp4BC8bQAaiQCaouH+qUxAjA7jB2f8DA6m0="; }; cp311 = { - hash = "sha256-FcEJ/ZlpMmMjyL2wcBzZryHIX0ZQAvdJUGIvmlgOxOU="; + hash = "sha256-cZX0rjCgfyGqAM99lFZI7WlotjyksCpb3H/DCFP0lBA="; }; } diff --git a/pkgs/development/python-modules/ray/default.nix b/pkgs/development/python-modules/ray/default.nix index 412dffc4925f..e169a6a66f10 100644 --- a/pkgs/development/python-modules/ray/default.nix +++ b/pkgs/development/python-modules/ray/default.nix @@ -53,7 +53,7 @@ let pname = "ray"; - version = "2.23.0"; + version = "2.24.0"; in buildPythonPackage rec { inherit pname version; @@ -122,7 +122,7 @@ buildPythonPackage rec { "virtualenv" ]; - propagatedBuildInputs = [ + dependencies = [ attrs aiohttp aiohttp-cors @@ -158,12 +158,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "ray" ]; - meta = with lib; { + meta = { description = "A unified framework for scaling AI and Python applications"; homepage = "https://github.com/ray-project/ray"; changelog = "https://github.com/ray-project/ray/releases/tag/ray-${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ billhuang ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ billhuang ]; platforms = [ "x86_64-linux" ]; }; } From b6e0e270bb0641d13a0412d70c8e7d2d572d85e4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Jun 2024 22:48:53 +0000 Subject: [PATCH 43/81] qovery-cli: 0.93.6 -> 0.94.4 --- pkgs/tools/admin/qovery-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index eebb57eaa863..001ec55fb8d6 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "qovery-cli"; - version = "0.93.6"; + version = "0.94.4"; src = fetchFromGitHub { owner = "Qovery"; repo = "qovery-cli"; rev = "refs/tags/v${version}"; - hash = "sha256-5HGLzdygcM7GldtU24Arbr/AaGJYlyqEVIpc+arfFsw="; + hash = "sha256-wPP3ca76y+Tdp/GgoIMS3DdxDi7hXLUShO5anRaX4ks="; }; - vendorHash = "sha256-wGgzVtQc4e0thiM9fJb7BxJl348wCDZvPCx0+Qlw0mQ="; + vendorHash = "sha256-P34ff6yPnQcAUlNEnfFCu1QG31eoWM7h1OrznoFlRDo="; nativeBuildInputs = [ installShellFiles ]; From 068dda7325ade9e0fd73bbbb2e9a74f3ed0314fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 7 Jun 2024 00:56:10 +0200 Subject: [PATCH 44/81] nvidia-x11: move wrapGAppsHook3 to nativeBuildInputs --- pkgs/os-specific/linux/nvidia-x11/settings.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index ba23fbfe8567..6db6644d88fe 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -114,11 +114,12 @@ stdenv.mkDerivation { fi ''; - nativeBuildInputs = [ pkg-config m4 addOpenGLRunpath ]; + nativeBuildInputs = [ pkg-config m4 addOpenGLRunpath ] + ++ lib.optionals withGtk3 [ wrapGAppsHook3 ]; buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 dbus ] ++ lib.optionals (withGtk2 || lib.versionOlder nvidia_x11.settingsVersion "525.53") [ gtk2 ] - ++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook3 ]; + ++ lib.optionals withGtk3 [ gtk3 librsvg ]; installFlags = [ "PREFIX=$(out)" ]; From 06f646cbecb48678b6d1e6b8af887d26bc9c7742 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Jun 2024 22:59:19 +0000 Subject: [PATCH 45/81] werf: 2.3.3 -> 2.4.1 --- pkgs/applications/networking/cluster/werf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/werf/default.nix b/pkgs/applications/networking/cluster/werf/default.nix index 10b952569b1b..58753489ad49 100644 --- a/pkgs/applications/networking/cluster/werf/default.nix +++ b/pkgs/applications/networking/cluster/werf/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "werf"; - version = "2.3.3"; + version = "2.4.1"; src = fetchFromGitHub { owner = "werf"; repo = "werf"; rev = "v${version}"; - hash = "sha256-nodWxHLVg5bSuixQirAsVfQZ1g38IgZJEl/3O/b3NIE="; + hash = "sha256-kHNjdwAIGJi1/ryEioRwZIYm4UziT2Ig1y2PgnbA0ZE="; }; - vendorHash = "sha256-mAA5S9t+mHMxSV8l7H9XxJ80k4pJRWDDZ0BSJrmQO1I="; + vendorHash = "sha256-cWOnIEvVer+USqNQJmhZ7pYSJfzY2xjq2oTxRd/y94w="; proxyVendor = true; From 6f528eca318caff4ca953578256295e2ab9515e3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Jun 2024 23:34:31 +0000 Subject: [PATCH 46/81] python311Packages.dsmr-parser: 1.4.0 -> 1.4.1 --- pkgs/development/python-modules/dsmr-parser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dsmr-parser/default.nix b/pkgs/development/python-modules/dsmr-parser/default.nix index a5a91f975c78..70cc28459df3 100644 --- a/pkgs/development/python-modules/dsmr-parser/default.nix +++ b/pkgs/development/python-modules/dsmr-parser/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "dsmr-parser"; - version = "1.4.0"; + version = "1.4.1"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "ndokter"; repo = "dsmr_parser"; rev = "refs/tags/v${version}"; - hash = "sha256-4L7hLDd/hYYdhnkcPRK48FnHutbyDXpnhQoVXUQLoDo="; + hash = "sha256-lP4KU3k7dGYHv24uNffTNe60u11Xg7YG05F/joVZu/Q="; }; propagatedBuildInputs = [ From 93fdac5bd41b676a81c40f8166fee7d0c8c17987 Mon Sep 17 00:00:00 2001 From: jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> Date: Mon, 23 Oct 2023 20:01:22 +0800 Subject: [PATCH 47/81] chatgpt-shell-cli: init at unstable-2023-05-16 --- pkgs/by-name/ch/chatgpt-shell-cli/package.nix | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pkgs/by-name/ch/chatgpt-shell-cli/package.nix diff --git a/pkgs/by-name/ch/chatgpt-shell-cli/package.nix b/pkgs/by-name/ch/chatgpt-shell-cli/package.nix new file mode 100644 index 000000000000..25ab95c94127 --- /dev/null +++ b/pkgs/by-name/ch/chatgpt-shell-cli/package.nix @@ -0,0 +1,48 @@ +{ lib +, stdenv +, fetchFromGitHub +, jq +, curl +, glow +, makeWrapper +}: + +let + pname = "chatgpt-shell-cli"; + + # no tags + version = "master"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchFromGitHub { + owner = "0xacx"; + repo = "chatgpt-shell-cli"; + rev = version; + hash = "sha256-hYLrUya4UCsIB1J/n+jp1jFRCEqnGFJOr3ATxm0zwdY="; + }; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + install -Dm755 chatgpt.sh -t $out/bin + + runHook postInstall + ''; + + postInstall = '' + wrapProgram $out/bin/chatgpt.sh \ + --prefix PATH : ${lib.makeBinPath [ jq curl glow ]} + ''; + + meta = with lib; { + homepage = "https://github.com/0xacx/chatGPT-shell-cli"; + description = "Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required."; + license = licenses.mit; + maintainers = with maintainers; [ jfvillablanca ]; + }; + } From ce053c4bc8e2636d23a957ab81a664894eb1abff Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Fri, 7 Jun 2024 13:02:22 +1200 Subject: [PATCH 48/81] dub: clean up --- pkgs/by-name/du/dub/package.nix | 64 ++++++++++++++++----------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/pkgs/by-name/du/dub/package.nix b/pkgs/by-name/du/dub/package.nix index d815a9515dc6..afb6e2b16e67 100644 --- a/pkgs/by-name/du/dub/package.nix +++ b/pkgs/by-name/du/dub/package.nix @@ -1,8 +1,13 @@ -{ lib, stdenv, fetchFromGitHub, curl, libevent, rsync, ldc, dcompiler ? ldc }: +{ lib +, stdenv +, fetchFromGitHub +, curl +, ldc +, libevent +, rsync +}: -assert dcompiler != null; - -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "dub"; version = "1.33.0"; @@ -11,46 +16,34 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "dlang"; repo = "dub"; - rev = "v${version}"; - sha256 = "sha256-4Mha7WF6cg3DIccfpvOnheuvgfziv/7wo8iFsPXO4yY="; + rev = "v${finalAttrs.version}"; + hash = "sha256-4Mha7WF6cg3DIccfpvOnheuvgfziv/7wo8iFsPXO4yY="; }; - dubvar = "\\$DUB"; postPatch = '' patchShebangs test - - - # Can be removed with https://github.com/dlang/dub/pull/1368 - substituteInPlace test/fetchzip.sh \ - --replace "dub remove" "\"${dubvar}\" remove" ''; - nativeBuildInputs = [ dcompiler libevent rsync ]; + nativeBuildInputs = [ ldc libevent rsync ]; buildInputs = [ curl ]; buildPhase = '' - for dc_ in dmd ldmd2 gdmd; do - echo "... check for D compiler $dc_ ..." - dc=$(type -P $dc_ || echo "") - if [ ! "$dc" == "" ]; then - break - fi - done - if [ "$dc" == "" ]; then - exit "Error: could not find D compiler" - fi - echo "$dc_ found and used as D compiler to build $pname" - $dc ./build.d - ./build + runHook preBuild + + export DMD=${ldc}/bin/ldmd2 + ldc2 -run ./build.d + + runHook postBuild ''; doCheck = !stdenv.isDarwin; checkPhase = '' + runHook preCheck + export DUB=$NIX_BUILD_TOP/source/bin/dub export PATH=$PATH:$NIX_BUILD_TOP/source/bin/ - export DC=${dcompiler.out}/bin/${if dcompiler.pname=="ldc" then "ldc2" else dcompiler.pname} - echo "DC out --> $DC" + export DC=${lib.getExe ldc} export HOME=$TMP rm -rf test/issue502-root-import @@ -140,19 +133,24 @@ stdenv.mkDerivation rec { rm -r test/use-c-sources ./test/run-unittest.sh + + runHook postCheck ''; installPhase = '' - mkdir -p $out/bin - cp bin/dub $out/bin + runHook preInstall + + install -Dm755 bin/dub $out/bin/dub + + runHook postInstall ''; meta = with lib; { - description = "Package and build manager for D applications and libraries"; - mainProgram = "dub"; + description = "Package and build manager for D programs and libraries"; homepage = "https://code.dlang.org/"; license = licenses.mit; + mainProgram = "dub"; maintainers = with maintainers; [ jtbx ]; platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; }; -} +}) From 4599a6f571f39a03e84cb1d5813427a32984289f Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Fri, 7 Jun 2024 13:02:30 +1200 Subject: [PATCH 49/81] dub: 1.33.0 -> 1.38.0 Three more tests fail because they require fetching packages off the registry. --- pkgs/by-name/du/dub/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/du/dub/package.nix b/pkgs/by-name/du/dub/package.nix index afb6e2b16e67..9f419d1e10f4 100644 --- a/pkgs/by-name/du/dub/package.nix +++ b/pkgs/by-name/du/dub/package.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "dub"; - version = "1.33.0"; + version = "1.38.0"; enableParallelBuilding = true; @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "dlang"; repo = "dub"; rev = "v${finalAttrs.version}"; - hash = "sha256-4Mha7WF6cg3DIccfpvOnheuvgfziv/7wo8iFsPXO4yY="; + hash = "sha256-+cG7tR4nAL4fhk9/1FMkfjQ8Rtqf+uTvGfVegmnjloY="; }; postPatch = '' @@ -131,6 +131,9 @@ stdenv.mkDerivation (finalAttrs: { rm -r test/sdl-package-simple rm -r test/dpath-variable # requires execution of dpath-variable.sh rm -r test/use-c-sources + rm -r test/pr2642-cache-db + rm -r test/pr2644-describe-artifact-path + rm -r test/pr2647-build-deep ./test/run-unittest.sh From 1da4463227a52d0f6be2291437d1f02653407d3f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 01:02:33 +0000 Subject: [PATCH 50/81] go2rtc: 1.9.2 -> 1.9.3 --- pkgs/tools/video/go2rtc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/video/go2rtc/default.nix b/pkgs/tools/video/go2rtc/default.nix index 90a982335fac..44ebfbc4c4f9 100644 --- a/pkgs/tools/video/go2rtc/default.nix +++ b/pkgs/tools/video/go2rtc/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "go2rtc"; - version = "1.9.2"; + version = "1.9.3"; src = fetchFromGitHub { owner = "AlexxIT"; repo = "go2rtc"; rev = "refs/tags/v${version}"; - hash = "sha256-GqZs11g05xc3Nob/jqGbG/rFYBhyEPNdXYJuJBiAyko="; + hash = "sha256-p79LX7tHkQTVBWmXsKHMcXpC5idMgBmDtZxq+kQ0GEo="; }; - vendorHash = "sha256-5c3oauklMD9fEnVGPyWq6hR5jz6pSnq2kmdq+0JBfpo="; + vendorHash = "sha256-mUdUMZf3KhJyE0iv2yvWtkHa+pyXcv2RTZY+JtBLrSQ="; CGO_ENABLED = 0; From 586c14ed04db9407eb406167837c1633e3c7521c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 01:14:56 +0000 Subject: [PATCH 51/81] govulncheck: 1.1.1 -> 1.1.2 --- pkgs/tools/security/govulncheck/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/govulncheck/default.nix b/pkgs/tools/security/govulncheck/default.nix index 1151ee52bd5b..31afd30685b0 100644 --- a/pkgs/tools/security/govulncheck/default.nix +++ b/pkgs/tools/security/govulncheck/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "govulncheck"; - version = "1.1.1"; + version = "1.1.2"; src = fetchFromGitHub { owner = "golang"; repo = "vuln"; rev = "refs/tags/v${version}"; - hash = "sha256-aDt4TCbs5yBeJu/Fr95uI3BvPBaclnQMuJYPUXT7S+I="; + hash = "sha256-kpAk6Gn/uXWPzg6thp2RYrP0kouMmEaVxZSaJpf445Y="; }; patches = [ @@ -23,7 +23,7 @@ buildGoModule rec { }) ]; - vendorHash = "sha256-YsZ9CchThybwgUjBg6hDQZ0bEEO18lidbGf9CIfzICc="; + vendorHash = "sha256-0RtnyeOuvOv8cv4pFjRAR7VJB2FG6hqMML+Vz/FAjFM="; subPackages = [ "cmd/govulncheck" From e2bbb6841ef64147d2a7d39fc8ed90f50ddd7a0b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 05:22:24 +0000 Subject: [PATCH 52/81] python311Packages.reolink-aio: 0.9.0 -> 0.9.1 --- pkgs/development/python-modules/reolink-aio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reolink-aio/default.nix b/pkgs/development/python-modules/reolink-aio/default.nix index 7bccaef94720..640d64b51b20 100644 --- a/pkgs/development/python-modules/reolink-aio/default.nix +++ b/pkgs/development/python-modules/reolink-aio/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "reolink-aio"; - version = "0.9.0"; + version = "0.9.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "reolink_aio"; rev = "refs/tags/${version}"; - hash = "sha256-5rlPGmyBdEG9qjJPpEPr1oXLYlZiBtXzupPpVRrR9wA="; + hash = "sha256-Y07QBUZs7olagoJ+ihIpgkAt9yit+4WK/2YDfvHPYOk="; }; build-system = [ setuptools ]; From bc4bfcb82b6ee62c0f56a4b8b16516dea8e2851b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 05:38:09 +0000 Subject: [PATCH 53/81] goperf: 0-unstable-2024-05-10 -> 0-unstable-2024-06-04 --- pkgs/development/tools/goperf/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/goperf/default.nix b/pkgs/development/tools/goperf/default.nix index b4147456711d..f49859dd0db2 100644 --- a/pkgs/development/tools/goperf/default.nix +++ b/pkgs/development/tools/goperf/default.nix @@ -8,15 +8,15 @@ buildGoModule rec { pname = "goperf"; - version = "0-unstable-2024-05-10"; + version = "0-unstable-2024-06-04"; src = fetchgit { url = "https://go.googlesource.com/perf"; - rev = "bedb9135df6d63a551db71a3fa872a2816e90cf2"; - hash = "sha256-e2dr/eeKoc0Vpxx29bmxhfYsj13oEFs9h1/mBmDbWM4="; + rev = "3b48cf0e01640b30e676c2d0ffe23b85992be961"; + hash = "sha256-QOTTBc0pxVU2wf1BJt2GiTs28AuMlrjJ50J47EmQt+U="; }; - vendorHash = "sha256-MtDvOn+cjlEtObzmYnsQa2BkgIeKr/j18wk5QK3JDuk="; + vendorHash = "sha256-O1FxOtRcg4zM2X1YcVFBsy1OsRMZXmAT0ZmGWmCn81g="; passthru.updateScript = writeShellScript "update-goperf" '' export UPDATE_NIX_ATTR_PATH=goperf From f828b1cb5d6a0a5df0cfc06bd4941d539ad7eeff Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 05:38:46 +0000 Subject: [PATCH 54/81] checkov: 3.2.112 -> 3.2.128 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 2e270c265a06..2c6437656e0e 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.112"; + version = "3.2.128"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; rev = "refs/tags/${version}"; - hash = "sha256-VE9dxDDIZVT1aajEWHXbui711HjFvgZMEbXCBiq1nKc="; + hash = "sha256-BnfSKEetEofNs/74K0Pxqs6q55YQPGKAhV++pVl2tug="; }; patches = [ ./flake8-compat-5.x.patch ]; From 317f3ebe0a4c0f0eca138c530de7f9131ad0c8da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 05:43:06 +0000 Subject: [PATCH 55/81] usql: 0.19.1 -> 0.19.2 --- pkgs/by-name/us/usql/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/us/usql/package.nix b/pkgs/by-name/us/usql/package.nix index 1297da876c31..4071e6510d90 100644 --- a/pkgs/by-name/us/usql/package.nix +++ b/pkgs/by-name/us/usql/package.nix @@ -11,18 +11,18 @@ buildGoModule rec { pname = "usql"; - version = "0.19.1"; + version = "0.19.2"; src = fetchFromGitHub { owner = "xo"; repo = "usql"; rev = "v${version}"; - hash = "sha256-O0NsxOPp09W6FFdVjoCBUDSEkMct/MX/sLWDpoCmwwM="; + hash = "sha256-ahaRrSRk8n8gjFy/B/yG1ORUlNcmMuUF9eyirZMhxeI="; }; buildInputs = [ unixODBC icu ]; - vendorHash = "sha256-4WGxstIwjq7u+4UZ03IAONi58Vlg3p82fEOkfPS3eT4="; + vendorHash = "sha256-f0rpkYGaorOaIikUVcibyDMTbBJK6DF5EguSPHolsIk="; proxyVendor = true; # Exclude drivers from the bad group From db79845fb209424e6516c3f5f102910e6e694d6a Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 7 Jun 2024 07:44:19 +0200 Subject: [PATCH 56/81] python311Packages.jupyter-nbextensions-configurator: remove useless nose dependency --- .../jupyter-nbextensions-configurator/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix index b824fd000970..d0631dcf3963 100644 --- a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix +++ b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix @@ -8,7 +8,6 @@ notebook, pyyaml, tornado, - nose, pytestCheckHook, selenium, }: @@ -35,7 +34,6 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - nose pytestCheckHook selenium ]; From 1dcda38ec7aa24de2cc6b2ebe3c43b03a4616cf9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Jun 2024 08:38:40 +0200 Subject: [PATCH 57/81] mujoco: 3.1.5 -> 3.1.6 Diff: https://github.com/google-deepmind/mujoco/compare/refs/tags/3.1.5...3.1.6 Changelog: https://mujoco.readthedocs.io/en/latest/changelog.html#version-3-1-6-jun-3-2024 --- pkgs/applications/science/robotics/mujoco/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/robotics/mujoco/default.nix b/pkgs/applications/science/robotics/mujoco/default.nix index 76c18a788c30..b05089175d53 100644 --- a/pkgs/applications/science/robotics/mujoco/default.nix +++ b/pkgs/applications/science/robotics/mujoco/default.nix @@ -129,7 +129,7 @@ let in stdenv.mkDerivation rec { pname = "mujoco"; - version = "3.1.5"; + version = "3.1.6"; # Bumping version? Make sure to look though the MuJoCo's commit # history for bumped dependency pins! @@ -137,7 +137,7 @@ in stdenv.mkDerivation rec { owner = "google-deepmind"; repo = "mujoco"; rev = "refs/tags/${version}"; - hash = "sha256-XKN489oexHf2/Gv0MVxXUzqyeJJTJXV99+fNi8shdsg="; + hash = "sha256-64zUplr1E5WSb5RpTW9La1zKVT67a1VrftiUqc2SHlU="; }; patches = [ ./mujoco-system-deps-dont-fetch.patch ]; @@ -177,12 +177,12 @@ in stdenv.mkDerivation rec { passthru.pin = { inherit (pin) lodepng eigen3 abseil-cpp; }; - meta = with lib; { + meta = { description = "Multi-Joint dynamics with Contact. A general purpose physics simulator."; homepage = "https://mujoco.org/"; changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ samuela tmplt ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ samuela tmplt ]; broken = stdenv.isDarwin; }; } From 7e7ddf4e4cc4cbf4af00d3ea35a658d63ed03c19 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Jun 2024 11:49:07 +0200 Subject: [PATCH 58/81] mujoco: add GaetanLepage to maintainers --- pkgs/applications/science/robotics/mujoco/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/robotics/mujoco/default.nix b/pkgs/applications/science/robotics/mujoco/default.nix index b05089175d53..e923fe38cdc9 100644 --- a/pkgs/applications/science/robotics/mujoco/default.nix +++ b/pkgs/applications/science/robotics/mujoco/default.nix @@ -182,7 +182,11 @@ in stdenv.mkDerivation rec { homepage = "https://mujoco.org/"; changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ samuela tmplt ]; + maintainers = with lib.maintainers; [ + GaetanLepage + samuela + tmplt + ]; broken = stdenv.isDarwin; }; } From da2ccbae0d6082acf447bf33dcf78f41e9f7794c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Jun 2024 08:54:50 +0200 Subject: [PATCH 59/81] python311Packages.mujoco: 3.1.5 -> 3.1.6 Changelog: https://mujoco.readthedocs.io/en/latest/changelog.html#version-3-1-6-jun-3-2024 --- pkgs/development/python-modules/mujoco/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/mujoco/default.nix b/pkgs/development/python-modules/mujoco/default.nix index 2ff364503060..4045c0c7ac35 100644 --- a/pkgs/development/python-modules/mujoco/default.nix +++ b/pkgs/development/python-modules/mujoco/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "mujoco"; - version = "3.1.5"; + inherit (mujoco) version; pyproject = true; @@ -28,7 +28,7 @@ buildPythonPackage rec { # in the project's CI. src = fetchPypi { inherit pname version; - hash = "sha256-kJm6YAE0HMnji3uUuO96ZzRsdjj6PpT1IHQ6NXiR8pY="; + hash = "sha256-fPiIdSbwcedBHcAs4c1mXjm0tgg/3/Sf4TSKgtIxRlE="; }; nativeBuildInputs = [ @@ -82,11 +82,11 @@ buildPythonPackage rec { '' ); - meta = with lib; { + meta = { description = "Python bindings for MuJoCo: a general purpose physics simulator."; homepage = "https://mujoco.org/"; changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ tmplt ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ tmplt ]; }; } From 3970550db5728b85c66c7dbb4f28ed680881525d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Jun 2024 11:49:15 +0200 Subject: [PATCH 60/81] python311Packages.mujoco: add GaetanLepage to maintainers --- pkgs/development/python-modules/mujoco/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mujoco/default.nix b/pkgs/development/python-modules/mujoco/default.nix index 4045c0c7ac35..3f8fd526e643 100644 --- a/pkgs/development/python-modules/mujoco/default.nix +++ b/pkgs/development/python-modules/mujoco/default.nix @@ -87,6 +87,9 @@ buildPythonPackage rec { homepage = "https://mujoco.org/"; changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ tmplt ]; + maintainers = with lib.maintainers; [ + GaetanLepage + tmplt + ]; }; } From 92555723b73f186b80c9ec89f366e6c52a560e1b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Jun 2024 16:56:37 +0200 Subject: [PATCH 61/81] python311Packages.mujoco: add TODO for updating the dependencies --- pkgs/applications/science/robotics/mujoco/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/robotics/mujoco/default.nix b/pkgs/applications/science/robotics/mujoco/default.nix index e923fe38cdc9..03abaa2e29b4 100644 --- a/pkgs/applications/science/robotics/mujoco/default.nix +++ b/pkgs/applications/science/robotics/mujoco/default.nix @@ -11,7 +11,7 @@ let pin = { - + # TODO: Check the following file and ensure the dependencies are up-to-date # See https://github.com/google-deepmind/mujoco/blob//cmake/MujocoDependencies.cmake#L17-L64 abseil-cpp = fetchFromGitHub { owner = "abseil"; From 3ccd73d418c634588b54e898a25855c0e9e50ad2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 06:22:26 +0000 Subject: [PATCH 62/81] workout-tracker: 0.14.3 -> 0.15.0 --- pkgs/by-name/wo/workout-tracker/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/wo/workout-tracker/package.nix b/pkgs/by-name/wo/workout-tracker/package.nix index ab15fced522c..599973001df0 100644 --- a/pkgs/by-name/wo/workout-tracker/package.nix +++ b/pkgs/by-name/wo/workout-tracker/package.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "workout-tracker"; - version = "0.14.3"; + version = "0.15.0"; src = fetchFromGitHub { owner = "jovandeginste"; repo = "workout-tracker"; rev = "refs/tags/v${version}"; - hash = "sha256-NGj3W6SYZauaAhMinPzsSXM8Dqy+B+am985JJjh6xTs="; + hash = "sha256-pZe3X2W885MIV0stDTjQgcDDNgM4OUpUbReY+9RrYsw="; }; vendorHash = null; From ae7ffcf742cbca15a3e09317a7cb578a6304020f Mon Sep 17 00:00:00 2001 From: Xelden Date: Fri, 7 Jun 2024 01:13:30 -0500 Subject: [PATCH 63/81] python311Packages.rich-argparse: 1.4.0 -> 1.5.1 --- pkgs/development/python-modules/rich-argparse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rich-argparse/default.nix b/pkgs/development/python-modules/rich-argparse/default.nix index 459c5db23f99..85466f426203 100644 --- a/pkgs/development/python-modules/rich-argparse/default.nix +++ b/pkgs/development/python-modules/rich-argparse/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "rich-argparse"; - version = "1.4.0"; + version = "1.5.1"; format = "pyproject"; src = fetchFromGitHub { owner = "hamdanal"; repo = "rich-argparse"; rev = "refs/tags/v${version}"; - hash = "sha256-iQ8x8UM0zmb2qYUpSh6RSEaBMrDpwY0ZHaJ9GJqn4Hs="; + hash = "sha256-NcsEGImUAqwZI6Ga3UIqnoELvz6WRKyVqGkR4jPIKPI="; }; propagatedBuildInputs = [ From e4ce30ccd8588e16e187e0922472eea3b75bb4f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 06:35:16 +0000 Subject: [PATCH 64/81] python311Packages.securityreporter: 1.0.2 -> 1.1.0 --- pkgs/development/python-modules/securityreporter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/securityreporter/default.nix b/pkgs/development/python-modules/securityreporter/default.nix index e8ec6c6510cf..4535749ac2aa 100644 --- a/pkgs/development/python-modules/securityreporter/default.nix +++ b/pkgs/development/python-modules/securityreporter/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "securityreporter"; - version = "1.0.2"; + version = "1.1.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "dongit-org"; repo = "python-reporter"; rev = "refs/tags/v${version}"; - hash = "sha256-mBZVsoDnDRYHdcFzi4kuwmAJDRdpysUbNRcDzIhYRGY="; + hash = "sha256-Ddq1qjaQemawK+u3ArlsChrkzRbcuaj5LrswyTGwTrg="; }; build-system = [ poetry-core ]; From 2be5bbe055bed0e89de821fe9b879b49b0dbf805 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:43:26 +0200 Subject: [PATCH 65/81] python312Packages.adafruit-platformdetect: 3.68.0 -> 3.69.0 Changelog: https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/3.69.0 --- .../python-modules/adafruit-platformdetect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index 71edeb838745..cf941b68d402 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "adafruit-platformdetect"; - version = "3.68.0"; + version = "3.69.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "adafruit_platformdetect"; inherit version; - hash = "sha256-wJgnwe8szhLMQWABiWC8nluuJICezuhy//OMeMIjftk="; + hash = "sha256-J+4VSA+2xZCNoLrICNXpmIG8tU6cnOn4EjEnN1VFGYU="; }; build-system = [ setuptools-scm ]; From 9693ba8dc8448e1bd60abe49f902d3a56bf48c51 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:43:55 +0200 Subject: [PATCH 66/81] python312Packages.boto3-stubs: 1.34.120 -> 1.34.121 --- pkgs/development/python-modules/boto3-stubs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boto3-stubs/default.nix b/pkgs/development/python-modules/boto3-stubs/default.nix index 53044a753172..56d6af0a7f0f 100644 --- a/pkgs/development/python-modules/boto3-stubs/default.nix +++ b/pkgs/development/python-modules/boto3-stubs/default.nix @@ -366,7 +366,7 @@ buildPythonPackage rec { pname = "boto3-stubs"; - version = "1.34.120"; + version = "1.34.121"; pyproject = true; disabled = pythonOlder "3.7"; @@ -374,7 +374,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "boto3_stubs"; inherit version; - hash = "sha256-GXkBOFjyXhrti7Xmn60xedVnB1Fsfw9Sr5OYDQCIhWc="; + hash = "sha256-tqLJmBDBbkfVmHKmYSW/6H1a+5e1YTZXoVxoddXjU24="; }; build-system = [ setuptools ]; From 891a44e68a296e81a77aa7b16315ffafe734df9a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:44:00 +0200 Subject: [PATCH 67/81] python312Packages.botocore-stubs: 1.34.120 -> 1.34.121 --- pkgs/development/python-modules/botocore-stubs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/botocore-stubs/default.nix b/pkgs/development/python-modules/botocore-stubs/default.nix index 21bc9037d147..e7581a39eddf 100644 --- a/pkgs/development/python-modules/botocore-stubs/default.nix +++ b/pkgs/development/python-modules/botocore-stubs/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "botocore-stubs"; - version = "1.34.120"; + version = "1.34.121"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "botocore_stubs"; inherit version; - hash = "sha256-oeSSAAEsb7/0eyK6cURO+fQ1P+ErEa8bBjCHsIEe508="; + hash = "sha256-8OvFc9QA/HxK1thXU+N9pi8oZenlTH01KAtifZuoS94="; }; nativeBuildInputs = [ poetry-core ]; From a6574c05a915b37d3947563f45d0df2a6544c281 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:45:01 +0200 Subject: [PATCH 68/81] python312Packages.tencentcloud-sdk-python: 3.0.1163 -> 3.0.1164 Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1163...3.0.1164 Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1164/CHANGELOG.md --- .../python-modules/tencentcloud-sdk-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix index 2e8518013be4..f08fcd85ab5a 100644 --- a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix +++ b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "tencentcloud-sdk-python"; - version = "3.0.1163"; + version = "3.0.1164"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "TencentCloud"; repo = "tencentcloud-sdk-python"; rev = "refs/tags/${version}"; - hash = "sha256-b+b9z+UK0juhQW55mwTTY/j73Aio7N2aTYHEcwvX5RE="; + hash = "sha256-Z1/iSfhZ74gpQ6DdwcnlThz8kSQphXMUe7PsHiZQQu4="; }; build-system = [ setuptools ]; From 9c7a39e691e19c8ae8e16c85bc215e6b1dacdb85 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:47:07 +0200 Subject: [PATCH 69/81] python312Packages.twilio: 9.1.0 -> 9.1.1 Diff: https://github.com/twilio/twilio-python/compare/refs/tags/9.1.0...9.1.1 Changelog: https://github.com/twilio/twilio-python/blob/9.1.1/CHANGES.md --- pkgs/development/python-modules/twilio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/twilio/default.nix b/pkgs/development/python-modules/twilio/default.nix index ead211c160b1..b192152f66bc 100644 --- a/pkgs/development/python-modules/twilio/default.nix +++ b/pkgs/development/python-modules/twilio/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "twilio"; - version = "9.1.0"; + version = "9.1.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "twilio"; repo = "twilio-python"; rev = "refs/tags/${version}"; - hash = "sha256-jOjja+nuh2asYcIO5QVwmXC1vGlbzEhRnMyvq2paCPU="; + hash = "sha256-LluMl5NdyI4aobxNoLtBv5BU4sAq/EhqvqNAxhOA5Og="; }; build-system = [ setuptools ]; From 4d7e6d5bc406c135ba2563d6e6164fbf1f38e888 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 08:53:42 +0200 Subject: [PATCH 70/81] govulncheck: add changelog to meta --- pkgs/tools/security/govulncheck/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/govulncheck/default.nix b/pkgs/tools/security/govulncheck/default.nix index 31afd30685b0..13e2aa17bdda 100644 --- a/pkgs/tools/security/govulncheck/default.nix +++ b/pkgs/tools/security/govulncheck/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck"; downloadPage = "https://github.com/golang/vuln"; + changelog = "https://github.com/golang/vuln/releases/tag/v${version}"; description = "The database client and tools for the Go vulnerability database, also known as vuln"; mainProgram = "govulncheck"; longDescription = '' From d9dab762a00ec112eb139e7b9d806777a9b173b6 Mon Sep 17 00:00:00 2001 From: terru Date: Fri, 7 Jun 2024 09:01:57 +0200 Subject: [PATCH 71/81] =?UTF-8?q?mattermost:=209.5.5=20=E2=86=92=209.5.6?= =?UTF-8?q?=20(#317284)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is a security release. announcement & changelog by upstream: https://mattermost.com/blog/mattermost-security-updates-9-8-1-9-7-5-9-6-3-9-5-6-esr-released/ --- pkgs/servers/mattermost/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/mattermost/default.nix b/pkgs/servers/mattermost/default.nix index 2e4df7b51dc9..12be474fa5ae 100644 --- a/pkgs/servers/mattermost/default.nix +++ b/pkgs/servers/mattermost/default.nix @@ -12,13 +12,13 @@ buildGoModule rec { # See https://docs.mattermost.com/upgrade/extended-support-release.html # When a new ESR version is available (e.g. 8.1.x -> 9.5.x), update # the version regex in passthru.updateScript as well. - version = "9.5.5"; + version = "9.5.6"; src = fetchFromGitHub { owner = "mattermost"; repo = "mattermost"; rev = "v${version}"; - hash = "sha256-ZaFXuYm9SEE9ARN5PG8vjt9WnNfGiALilGzjfnDP7aA="; + hash = "sha256-bLnvbduP6h9o82BQUNh9MyFpW/Cbl6c5o9hrPV0Z8+0="; }; # Needed because buildGoModule does not support go workspaces yet. @@ -34,7 +34,7 @@ buildGoModule rec { webapp = fetchurl { url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz"; - hash = "sha256-tgds8eTBeisuJcLgtx6zOiFUcVL1oU0LLbPqmh4SQUU="; + hash = "sha256-ZlvO/7kdMopIHBDdFp6wSQCR+NobGdDC6PcVd1iG16E="; }; vendorHash = "sha256-TJCtgNf56A1U0EbV5gXjTro+YudVBRWiSZoBC3nJxnE="; From 6fda200fa49ff324652eb0e6a51840d58e14849d Mon Sep 17 00:00:00 2001 From: Keith Pine Date: Mon, 3 Jun 2024 07:49:36 -0700 Subject: [PATCH 72/81] nixos/inadyn: fix cache directory path The CacheDirectory subdirectory is already part of $CACHE_DIRECTORY. --- nixos/modules/services/networking/inadyn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/inadyn.nix b/nixos/modules/services/networking/inadyn.nix index baa4302096c2..7022673538c8 100644 --- a/nixos/modules/services/networking/inadyn.nix +++ b/nixos/modules/services/networking/inadyn.nix @@ -202,7 +202,7 @@ in startAt = cfg.interval; serviceConfig = { Type = "oneshot"; - ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY}/inadyn -1 --foreground -l ${cfg.logLevel}''; + ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY} -1 --foreground -l ${cfg.logLevel}''; LoadCredential = "config:${configFile}"; CacheDirectory = "inadyn"; From 5fd3d5abe12e1380e4022e34dc7c64d80664e2ba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 09:13:56 +0200 Subject: [PATCH 73/81] python312Packages.rich-argparse: refactor --- .../python-modules/rich-argparse/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/rich-argparse/default.nix b/pkgs/development/python-modules/rich-argparse/default.nix index 85466f426203..69d657d9b15c 100644 --- a/pkgs/development/python-modules/rich-argparse/default.nix +++ b/pkgs/development/python-modules/rich-argparse/default.nix @@ -3,14 +3,17 @@ buildPythonPackage, fetchFromGitHub, hatchling, - rich, pytestCheckHook, + pythonOlder, + rich, }: buildPythonPackage rec { pname = "rich-argparse"; version = "1.5.1"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "hamdanal"; @@ -19,17 +22,16 @@ buildPythonPackage rec { hash = "sha256-NcsEGImUAqwZI6Ga3UIqnoELvz6WRKyVqGkR4jPIKPI="; }; - propagatedBuildInputs = [ - hatchling - rich - ]; + build-system = [ hatchling ]; + + dependencies = [ rich ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "rich_argparse" ]; meta = with lib; { - description = "Format argparse help output using rich."; + description = "Format argparse help output using rich"; homepage = "https://github.com/hamdanal/rich-argparse"; changelog = "https://github.com/hamdanal/rich-argparse/blob/v${version}/CHANGELOG.md"; license = licenses.mit; From 5f66165919eacdb011b9f6b4fc740bce66234d9a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Jun 2024 09:25:15 +0200 Subject: [PATCH 74/81] ghauri: refactor --- pkgs/tools/security/ghauri/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/ghauri/default.nix b/pkgs/tools/security/ghauri/default.nix index 4be441664060..426cb66b7e6f 100644 --- a/pkgs/tools/security/ghauri/default.nix +++ b/pkgs/tools/security/ghauri/default.nix @@ -6,7 +6,7 @@ python3.pkgs.buildPythonApplication rec { pname = "ghauri"; version = "1.3.4"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "r0oth3x49"; @@ -15,7 +15,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-1xrswAxavUz3ybmT0E00pjiR8pmHvuBXE4zhAPnz5MQ="; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ chardet colorama requests @@ -31,10 +35,10 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for detecting and exploiting SQL injection security flaws"; - mainProgram = "ghauri"; homepage = "https://github.com/r0oth3x49/ghauri"; changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "ghauri"; }; } From 8e66e256f635155e68a34d625c2badda7bb0eb4e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 07:51:23 +0000 Subject: [PATCH 75/81] home-assistant-custom-lovelace-modules.mushroom: 3.6.1 -> 3.6.2 --- .../custom-lovelace-modules/mushroom/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix b/pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix index 0ea8b179c847..6ac81c919b2f 100644 --- a/pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix @@ -5,16 +5,16 @@ buildNpmPackage rec { pname = "mushroom"; - version = "3.6.1"; + version = "3.6.2"; src = fetchFromGitHub { owner = "piitaya"; repo = "lovelace-mushroom"; rev = "v${version}"; - hash = "sha256-vMBjVPMofQb2mXFCkkEQM8TcOI9BBoosppbBr8jUKh4="; + hash = "sha256-sH0Qgiv4VeWwWV3RFnp2M4RH79S+PR8Z2nhPtQp0EnY="; }; - npmDepsHash = "sha256-nufQRdBiYzB9+eTYNb0iwLIAF9OQ7feVfMFcGjFowoc="; + npmDepsHash = "sha256-L7r417eCfelQM6ZxxJvkZdGBhPmcM2mSHvLa8RN0D8k="; installPhase = '' runHook preInstall From 5ac829a12b398c11d5821ed600e301b4c104ee41 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 7 Jun 2024 09:59:35 +0200 Subject: [PATCH 76/81] python311Packages.torchrl: disable flaky tests --- pkgs/development/python-modules/torchrl/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/torchrl/default.nix b/pkgs/development/python-modules/torchrl/default.nix index 6951192f52c4..6a3932588b4e 100644 --- a/pkgs/development/python-modules/torchrl/default.nix +++ b/pkgs/development/python-modules/torchrl/default.nix @@ -150,6 +150,10 @@ buildPythonPackage rec { "test_trans_parallel_env_check" "test_trans_serial_env_check" "test_transform_env" + + # undeterministic + "test_distributed_collector_updatepolicy" + "test_timeit" ]; meta = with lib; { From 66c4c2c04a449ebeea5b79a3b118581c46e2e17c Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 7 Jun 2024 09:08:22 +0100 Subject: [PATCH 77/81] lix.tests: fix the eval Without the change evaluation fails as: $ nix build --no-link -f. lix.tests error: attribute 'passthru' missing at pkgs/tools/package-management/lix/common.nix:263:16: 262| tests = { 263| misc = nixosTests.nix-misc.lix.passthru.override { nixPackage = self; }; | ^ 264| }; --- pkgs/tools/package-management/lix/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/package-management/lix/common.nix b/pkgs/tools/package-management/lix/common.nix index 7154dd49c5f6..e0d504774235 100644 --- a/pkgs/tools/package-management/lix/common.nix +++ b/pkgs/tools/package-management/lix/common.nix @@ -260,7 +260,7 @@ let passthru = { inherit aws-sdk-cpp boehmgc; tests = { - misc = nixosTests.nix-misc.lix.passthru.override { nixPackage = self; }; + misc = nixosTests.nix-misc.lix; }; }; From 902ca5b470cf78d88b21d0c8fb6ba70dff055738 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 7 Jun 2024 12:06:26 +0300 Subject: [PATCH 78/81] nixos/opengl: fix typo --- nixos/modules/hardware/opengl.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index 72217e7a8af2..3ca9deec8961 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -138,7 +138,7 @@ in systemd.tmpfiles.settings.opengl = { "/run/opengl-driver"."L+".argument = toString package; - "/run/opengl-drive-32" = + "/run/opengl-driver-32" = if pkgs.stdenv.isi686 then { "L+".argument = "opengl-driver"; } else if cfg.driSupport32Bit then From 3b6aab1336a66f6a6457e47e6b9de5f3bec7a227 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 2 Jun 2024 23:45:27 +0900 Subject: [PATCH 79/81] mactop: init at 0.1.8 --- pkgs/by-name/ma/mactop/package.nix | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ma/mactop/package.nix diff --git a/pkgs/by-name/ma/mactop/package.nix b/pkgs/by-name/ma/mactop/package.nix new file mode 100644 index 000000000000..0d2730fd4dd4 --- /dev/null +++ b/pkgs/by-name/ma/mactop/package.nix @@ -0,0 +1,34 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "mactop"; + version = "0.1.8"; + + src = fetchFromGitHub { + owner = "context-labs"; + repo = "mactop"; + rev = "refs/tags/v${version}"; + hash = "sha256-BcBUOI5EE04ZTPoHGrNQjctsDFbMoe/6MZaLj/58c34="; + }; + + vendorHash = "sha256-/KecVx4Gp776t8gFSO29E1q9v29nwrKIWZYCpj7IlSo="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + description = "Terminal-based monitoring tool 'top' designed to display real-time metrics for Apple Silicon chips"; + homepage = "https://github.com/context-labs/mactop"; + changelog = "https://github.com/context-labs/mactop/releases/tag/${src.rev}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; + mainProgram = "mactop"; + platforms = [ "aarch64-darwin" ]; + }; +} From 4b572dece987b31c2581d79b679d80c0f0d87d7c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 09:35:45 +0000 Subject: [PATCH 80/81] mame: 0.265 -> 0.266 --- pkgs/applications/emulators/mame/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/emulators/mame/default.nix b/pkgs/applications/emulators/mame/default.nix index 4ba40b417c8c..29f9cf69292e 100644 --- a/pkgs/applications/emulators/mame/default.nix +++ b/pkgs/applications/emulators/mame/default.nix @@ -38,14 +38,14 @@ let in stdenv.mkDerivation rec { pname = "mame"; - version = "0.265"; + version = "0.266"; srcVersion = builtins.replaceStrings [ "." ] [ "" ] version; src = fetchFromGitHub { owner = "mamedev"; repo = "mame"; rev = "mame${srcVersion}"; - hash = "sha256-jXGmABFeoT8g2UtVV159gUpdWcBvb9aX3uiFi2neVQI="; + hash = "sha256-nggpDKcZURwC4SQHiRnF7lJNaAWSniVHvsF/IjAPd9E="; }; outputs = [ "out" "tools" ]; From 7316e2d8796e6a00aa61133481fd9de5a0349669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 27 May 2024 17:30:59 +0200 Subject: [PATCH 81/81] webp-pixbuf-loader: fix cross-comilation --- pkgs/development/libraries/webp-pixbuf-loader/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/webp-pixbuf-loader/default.nix b/pkgs/development/libraries/webp-pixbuf-loader/default.nix index b3f4e4d48390..78496c0e919e 100644 --- a/pkgs/development/libraries/webp-pixbuf-loader/default.nix +++ b/pkgs/development/libraries/webp-pixbuf-loader/default.nix @@ -52,6 +52,9 @@ stdenv.mkDerivation rec { GDK_PIXBUF_MODULEDIR="$out/${moduleDir}" \ gdk-pixbuf-query-loaders --update-cache + # gdk-pixbuf disables the thumbnailer in cross-builds (https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/fc37708313a5fc52083cf10c9326f3509d67701f) + # and therefore makeWrapper will fail because 'gdk-pixbuf-thumbnailer' the executable does not exist. + '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' # It assumes gdk-pixbuf-thumbnailer can find the webp loader in the loaders.cache referenced by environment variable, breaking containment. # So we replace it with a wrapped executable. mkdir -p "$out/bin"