Merge staging-next into staging

authored by nixpkgs-ci[bot] and committed by GitHub 1fa850bc 860a3a97

+313 -124
+6 -6
pkgs/applications/editors/vscode/vscodium.nix
··· 26 27 hash = 28 { 29 - x86_64-linux = "sha256-5BRsYaOgavJzMECFHW25r2itiESZWBPmHskfTnH/uLs="; 30 - x86_64-darwin = "sha256-bAg+THOBUmrMSGiNs/vxJSbIxq4icx4o1SaFAWOJ3D4="; 31 - aarch64-linux = "sha256-pefdxOq/qhKYY6YSM35T+vqGEl3kZc8VqBA5j1IZkEo="; 32 - aarch64-darwin = "sha256-sEID3N+Pe7iXJmGxp8Bo6u2AgBVwhBqziEDRAMeAV4w="; 33 - armv7l-linux = "sha256-BKUYQs3XqgMWDUFLFEzptPxGK3yP1zmDwN1ElYuALEo="; 34 } 35 .${system} or throwSystem; 36 ··· 41 42 # Please backport all compatible updates to the stable release. 43 # This is important for the extension ecosystem. 44 - version = "1.100.13210"; 45 pname = "vscodium"; 46 47 executableName = "codium";
··· 26 27 hash = 28 { 29 + x86_64-linux = "sha256-6/ECgQbl7r4KI66BApOijIdJJP4nlDEgRE1JEMJcSDk="; 30 + x86_64-darwin = "sha256-t68Wkwo6p/S0hTf8BiR95nHC4qOLVtBkU0u3dco+jEc="; 31 + aarch64-linux = "sha256-KJ74qd0xOQV9EkoIdWGLCr57ZYJ9U0F2zyW6y9zWSY4="; 32 + aarch64-darwin = "sha256-CPPIYDxDiF07SdRaOe2Cp8fl4YvbVPeaVqobo0PZyrY="; 33 + armv7l-linux = "sha256-ob2Xlgvsk6KFo9stlmuGTPPRyXQpBUACuq5q48haGxs="; 34 } 35 .${system} or throwSystem; 36 ··· 41 42 # Please backport all compatible updates to the stable release. 43 # This is important for the extension ecosystem. 44 + version = "1.100.23258"; 45 pname = "vscodium"; 46 47 executableName = "codium";
+15 -12
pkgs/applications/misc/collision/default.nix pkgs/by-name/co/collision/package.nix
··· 21 22 crystal.buildCrystalPackage rec { 23 pname = "Collision"; 24 - version = "3.9.0"; 25 26 src = fetchFromGitHub { 27 owner = "GeopJr"; 28 repo = "Collision"; 29 rev = "v${version}"; 30 - hash = "sha256-c/74LzDM63w5zW8z2T8o4Efvuzj791/zTSKEDN32uak="; 31 }; 32 33 postPatch = '' ··· 39 copyShardDeps = true; 40 41 preBuild = '' 42 - cd lib/gi-crystal && shards build -Dpreview_mt --release --no-debug 43 - cd ../.. && mkdir bin/ && cp lib/gi-crystal/bin/gi-crystal bin/ 44 ''; 45 46 # Crystal compiler has a strange issue with OpenSSL. The project will not compile due to 47 # main_module:(.text+0x6f0): undefined reference to `SSL_library_init' 48 # There is an explanation for this https://danilafe.com/blog/crystal_nix_revisited/ 49 # Shortly, adding pkg-config to buildInputs along with openssl fixes the issue. 50 - 51 - nativeBuildInputs = [ 52 - wrapGAppsHook4 53 - pkg-config 54 - gobject-introspection 55 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ]; 56 57 buildInputs = [ 58 libadwaita ··· 82 passthru = { 83 updateScript = _experimental-update-script-combinators.sequence [ 84 (gitUpdater { rev-prefix = "v"; }) 85 - (_experimental-update-script-combinators.copyAttrOutputToFile "collision.shardLock" ./shard.lock) 86 { 87 command = [ 88 (writeShellScript "update-lock" "cd $1; ${lib.getExe crystal2nix}") ··· 93 { 94 command = [ 95 "rm" 96 - ./shard.lock 97 ]; 98 supportedFeatures = [ "silent" ]; 99 }
··· 21 22 crystal.buildCrystalPackage rec { 23 pname = "Collision"; 24 + version = "3.10.0"; 25 26 src = fetchFromGitHub { 27 owner = "GeopJr"; 28 repo = "Collision"; 29 rev = "v${version}"; 30 + hash = "sha256-ZXGhMicwlkXUw8I6HUNVxY4vCaVixdV76+wYn34Py6Q="; 31 }; 32 33 postPatch = '' ··· 39 copyShardDeps = true; 40 41 preBuild = '' 42 + cd lib/gi-crystal && shards build -Dpreview_mt --release --no-debug && \ 43 + install -Dm755 bin/gi-crystal ../../bin/gi-crystal && cd ../.. 44 ''; 45 46 # Crystal compiler has a strange issue with OpenSSL. The project will not compile due to 47 # main_module:(.text+0x6f0): undefined reference to `SSL_library_init' 48 # There is an explanation for this https://danilafe.com/blog/crystal_nix_revisited/ 49 # Shortly, adding pkg-config to buildInputs along with openssl fixes the issue. 50 + nativeBuildInputs = 51 + [ 52 + wrapGAppsHook4 53 + pkg-config 54 + gobject-introspection 55 + ] 56 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 57 + desktopToDarwinBundle 58 + ]; 59 60 buildInputs = [ 61 libadwaita ··· 85 passthru = { 86 updateScript = _experimental-update-script-combinators.sequence [ 87 (gitUpdater { rev-prefix = "v"; }) 88 + (_experimental-update-script-combinators.copyAttrOutputToFile "collision.shardLock" "./shard.lock") 89 { 90 command = [ 91 (writeShellScript "update-lock" "cd $1; ${lib.getExe crystal2nix}") ··· 96 { 97 command = [ 98 "rm" 99 + "./shard.lock" 100 ]; 101 supportedFeatures = [ "silent" ]; 102 }
+7 -7
pkgs/applications/misc/collision/shards.nix pkgs/by-name/co/collision/shards.nix
··· 1 { 2 blake3 = { 3 url = "https://github.com/geopjr/blake3.cr.git"; 4 - rev = "v1.3.0"; 5 - sha256 = "0pc3h7b5gfkmxlw708qaqjfzjvv5ig3iwxxainq6pwfhpff4a5wd"; 6 }; 7 gettext = { 8 url = "https://github.com/geopjr/gettext.cr.git"; ··· 11 }; 12 gi-crystal = { 13 url = "https://github.com/hugopl/gi-crystal.git"; 14 - rev = "v0.24.0"; 15 - sha256 = "0x356xn35008l573qhyl1sdddc9cc5i3bsa4c7865kgq9521ifyh"; 16 }; 17 gtk4 = { 18 url = "https://github.com/hugopl/gtk4.cr.git"; ··· 25 sha256 = "06wgqxwyib5416yp53j2iwcbr3bl4jjxb1flm7z103l365par694"; 26 }; 27 libadwaita = { 28 - url = "https://github.com/geopjr/libadwaita.cr.git"; 29 - rev = "cffabb56e911d2a90c53c2fd14d6bd08bf5ac446"; 30 - sha256 = "0gcq04vgxg0vff9fcalgzq9phq0y76diihkzhlfn91bdxwkx7rl3"; 31 }; 32 non-blocking-spawn = { 33 url = "https://github.com/geopjr/non-blocking-spawn.git";
··· 1 { 2 blake3 = { 3 url = "https://github.com/geopjr/blake3.cr.git"; 4 + rev = "v1.4.0"; 5 + sha256 = "1kp3rqddcsjj15syfnfvsx694nmpjzxmgawnf7y7dxdakk3przlw"; 6 }; 7 gettext = { 8 url = "https://github.com/geopjr/gettext.cr.git"; ··· 11 }; 12 gi-crystal = { 13 url = "https://github.com/hugopl/gi-crystal.git"; 14 + rev = "v0.25.0"; 15 + sha256 = "0lgs85khg6yzmw7vnkjxygrga1618440hayjc51jmjcfh2lff1k2"; 16 }; 17 gtk4 = { 18 url = "https://github.com/hugopl/gtk4.cr.git"; ··· 25 sha256 = "06wgqxwyib5416yp53j2iwcbr3bl4jjxb1flm7z103l365par694"; 26 }; 27 libadwaita = { 28 + url = "https://github.com/hugopl/libadwaita.cr.git"; 29 + rev = "v0.1.0"; 30 + sha256 = "13iqij1rwqdlsd9gls3gz4i4frlsda3yasdbbmrzpa8d3qm3p8yq"; 31 }; 32 non-blocking-spawn = { 33 url = "https://github.com/geopjr/non-blocking-spawn.git";
+3 -3
pkgs/by-name/ca/cargo-shear/package.nix
··· 6 cargo-shear, 7 }: 8 let 9 - version = "1.2.6"; 10 in 11 rustPlatform.buildRustPackage { 12 pname = "cargo-shear"; ··· 16 owner = "Boshen"; 17 repo = "cargo-shear"; 18 rev = "v${version}"; 19 - hash = "sha256-BLBC4L3GropYXANTKXwOYwp1my6p0L0fZ4YN9aF4HaA="; 20 }; 21 22 useFetchCargoVendor = true; 23 - cargoHash = "sha256-Fd1Rw2LeONIJCrvyNKBpTquUKAMLPcaAcWI7N8Ii6Bs="; 24 25 # https://github.com/Boshen/cargo-shear/blob/a0535415a3ea94c86642f39f343f91af5cdc3829/src/lib.rs#L20-L23 26 SHEAR_VERSION = version;
··· 6 cargo-shear, 7 }: 8 let 9 + version = "1.2.7"; 10 in 11 rustPlatform.buildRustPackage { 12 pname = "cargo-shear"; ··· 16 owner = "Boshen"; 17 repo = "cargo-shear"; 18 rev = "v${version}"; 19 + hash = "sha256-IOTlDLHSFH93tgCaF8ZOboIRkGImcT+oDfbmKKjNDlM="; 20 }; 21 22 useFetchCargoVendor = true; 23 + cargoHash = "sha256-6Pu7qFOT9fPjtgjNqZ4mF37xNLuCIl1U3a23vGpRs4k="; 24 25 # https://github.com/Boshen/cargo-shear/blob/a0535415a3ea94c86642f39f343f91af5cdc3829/src/lib.rs#L20-L23 26 SHEAR_VERSION = version;
-34
pkgs/by-name/cr/create-react-app/package.nix
··· 1 - { 2 - lib, 3 - buildNpmPackage, 4 - fetchFromGitHub, 5 - }: 6 - 7 - buildNpmPackage rec { 8 - pname = "create-react-app"; 9 - version = "5.0.1"; 10 - 11 - src = fetchFromGitHub { 12 - owner = "facebook"; 13 - repo = "create-react-app"; 14 - rev = "v${version}"; 15 - hash = "sha256-nUvJRxBZ98ogSkbw8ciFYtZRQNFD6pLThoEjeDMcGm0="; 16 - }; 17 - 18 - npmDepsHash = "sha256-diGu53lJi+Fs7pTAQGCXoDtP7YyKZLIN/2Wo+e1Mzc4="; 19 - 20 - env.PUPPETEER_SKIP_DOWNLOAD = true; 21 - 22 - npmWorkspace = "packages/create-react-app"; 23 - 24 - dontNpmBuild = true; 25 - 26 - meta = { 27 - changelog = "https://github.com/facebook/create-react-app/blob/${src.rev}/CHANGELOG.md"; 28 - description = "Create React apps with no build configuration"; 29 - homepage = "https://github.com/facebook/create-react-app"; 30 - license = lib.licenses.mit; 31 - mainProgram = "create-react-app"; 32 - maintainers = [ ]; 33 - }; 34 - }
···
+6
pkgs/by-name/de/debsigs/package.nix
··· 1 { 2 lib, 3 perlPackages, 4 fetchFromGitLab, ··· 16 }; 17 18 sourceRoot = "${src.name}/perl"; 19 20 meta = { 21 description = "Manipulate the cryptographic signatures stored inside a .deb file";
··· 1 { 2 + binutils, 3 lib, 4 perlPackages, 5 fetchFromGitLab, ··· 17 }; 18 19 sourceRoot = "${src.name}/perl"; 20 + 21 + postPatch = '' 22 + substituteInPlace arf.pm \ 23 + --replace-fail /usr/bin/ar ${binutils.bintools}/bin/ar 24 + ''; 25 26 meta = { 27 description = "Manipulate the cryptographic signatures stored inside a .deb file";
+17
pkgs/by-name/ep/epiphany/package.nix
··· 5 ninja, 6 gettext, 7 fetchurl, 8 pkg-config, 9 gtk4, 10 glib, ··· 43 url = "mirror://gnome/sources/epiphany/${lib.versions.major finalAttrs.version}/epiphany-${finalAttrs.version}.tar.xz"; 44 hash = "sha256-2ilT5+K3O/dHPAozl5EE15NieVKV6qCio46hiFN9rxM="; 45 }; 46 47 nativeBuildInputs = [ 48 desktop-file-utils
··· 5 ninja, 6 gettext, 7 fetchurl, 8 + fetchpatch, 9 pkg-config, 10 gtk4, 11 glib, ··· 44 url = "mirror://gnome/sources/epiphany/${lib.versions.major finalAttrs.version}/epiphany-${finalAttrs.version}.tar.xz"; 45 hash = "sha256-2ilT5+K3O/dHPAozl5EE15NieVKV6qCio46hiFN9rxM="; 46 }; 47 + 48 + patches = [ 49 + # shell: Fix startup crash on Pantheon 50 + # https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1818 51 + (fetchpatch { 52 + url = "https://gitlab.gnome.org/GNOME/epiphany/-/commit/da4437beb7f1fbc9c2fa3d4629b8c826d484835e.patch"; 53 + hash = "sha256-meufd5gnhLcK0dgIXEMDnid9e1R2M1D3jZ9Yoh6YobM="; 54 + }) 55 + 56 + # action-bar-end: Fix startup crash on Pantheon 57 + # https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1819 58 + (fetchpatch { 59 + url = "https://gitlab.gnome.org/GNOME/epiphany/-/commit/d69866854b315123c8832fae58c6de008da20ea0.patch"; 60 + hash = "sha256-GnZQC4rtBYRr+x9mF8pCFDcDOjEJj+27ECdXBNL42kQ="; 61 + }) 62 + ]; 63 64 nativeBuildInputs = [ 65 desktop-file-utils
+9 -3
pkgs/by-name/f2/f2/package.nix
··· 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 }: 6 7 buildGoModule (finalAttrs: { ··· 23 "-X=github.com/ayoisaiah/f2/v2/app.VersionString=${finalAttrs.version}" 24 ]; 25 26 - # has no tests 27 - doCheck = false; 28 29 meta = { 30 description = "Command-line batch renaming tool"; 31 homepage = "https://github.com/ayoisaiah/f2"; 32 license = lib.licenses.mit; 33 - maintainers = with lib.maintainers; [ zendo ]; 34 mainProgram = "f2"; 35 }; 36 })
··· 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 + exiftool, 6 + nix-update-script, 7 }: 8 9 buildGoModule (finalAttrs: { ··· 25 "-X=github.com/ayoisaiah/f2/v2/app.VersionString=${finalAttrs.version}" 26 ]; 27 28 + nativeCheckInputs = [ exiftool ]; 29 + 30 + passthru.updateScript = nix-update-script { }; 31 32 meta = { 33 description = "Command-line batch renaming tool"; 34 homepage = "https://github.com/ayoisaiah/f2"; 35 license = lib.licenses.mit; 36 + maintainers = with lib.maintainers; [ 37 + prince213 38 + zendo 39 + ]; 40 mainProgram = "f2"; 41 }; 42 })
+5 -1
pkgs/by-name/fv/fvwm2/package.nix
··· 30 src = fetchFromGitHub { 31 owner = "fvwmorg"; 32 repo = "fvwm"; 33 - rev = version; 34 hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg="; 35 }; 36 ··· 66 "--enable-mandoc" 67 "--disable-htmldoc" 68 ]; 69 70 postFixup = '' 71 wrapPythonPrograms
··· 30 src = fetchFromGitHub { 31 owner = "fvwmorg"; 32 repo = "fvwm"; 33 + tag = version; 34 hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg="; 35 }; 36 ··· 66 "--enable-mandoc" 67 "--disable-htmldoc" 68 ]; 69 + 70 + # Fix build on GCC 14 (see https://github.com/fvwmorg/fvwm/pull/100) 71 + # Will never be accepted as an upstream patch as FVWM2 is EOL 72 + env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion -Wno-error=incompatible-pointer-types"; 73 74 postFixup = '' 75 wrapPythonPrograms
+4 -4
pkgs/by-name/in/invidious/versions.json
··· 1 { 2 "invidious": { 3 - "hash": "sha256-JXcj5mh0WEetTt91cA+/pgqxNwyIRF+bISOBoHHVZf0=", 4 - "version": "2.20250504.0", 5 - "date": "2025.05.04", 6 - "commit": "aa7de1ed" 7 }, 8 "videojs": { 9 "hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4="
··· 1 { 2 "invidious": { 3 + "hash": "sha256-Mm1Hk7L/aFuVrcS+6ikrW8RQZld31vU5Uwecr0HIseQ=", 4 + "version": "2.20250517.0", 5 + "date": "2025.05.17", 6 + "commit": "f07859e1" 7 }, 8 "videojs": { 9 "hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4="
+3 -3
pkgs/by-name/ma/markdownlint-cli/package.nix
··· 6 7 buildNpmPackage rec { 8 pname = "markdownlint-cli"; 9 - version = "0.44.0"; 10 11 src = fetchFromGitHub { 12 owner = "igorshubovych"; 13 repo = "markdownlint-cli"; 14 rev = "v${version}"; 15 - hash = "sha256-1CQVj2iFywimK9sBJ60u9xH5qm/stEOA0yAHcUSAdY8="; 16 }; 17 18 - npmDepsHash = "sha256-iRK+8wyqHmP6vluDVBs3L4IpnZVvVfEfKDit+9YFU4g="; 19 20 dontNpmBuild = true; 21
··· 6 7 buildNpmPackage rec { 8 pname = "markdownlint-cli"; 9 + version = "0.45.0"; 10 11 src = fetchFromGitHub { 12 owner = "igorshubovych"; 13 repo = "markdownlint-cli"; 14 rev = "v${version}"; 15 + hash = "sha256-H6vK0ZJarNK9h3T/304SO8HNiZUGdrAA72wA6XPZbPQ="; 16 }; 17 18 + npmDepsHash = "sha256-puRm56VO711HC/CXCfUfODfy7ZVwEhucjwIikiHCf5E="; 19 20 dontNpmBuild = true; 21
+35
pkgs/by-name/se/sequential/package.nix
···
··· 1 + { 2 + lib, 3 + fetchurl, 4 + stdenvNoCC, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "sequential"; 9 + version = "2.6.0"; 10 + 11 + buildDate = "2024-09-07.14.59.00"; 12 + 13 + src = fetchurl { 14 + url = "https://github.com/chuchusoft/Sequential/releases/download/v${finalAttrs.version}/Sequential.app.${finalAttrs.buildDate}.tar.xz"; 15 + hash = "sha256-tgpzMAHw266UhKo43GIHFCx/SDq/zIJkWz1TPYTeTzI="; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out/Applications/Sequential.app 22 + cp -R Sequential.app $out/Applications 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + meta = { 28 + description = "macOS native comic reader and image viewer"; 29 + homepage = "https://github.com/chuchusoft/Sequential"; 30 + license = lib.licenses.bsd3; 31 + maintainers = with lib.maintainers; [ Enzime ]; 32 + platforms = lib.platforms.darwin; 33 + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 34 + }; 35 + })
+2 -2
pkgs/by-name/tu/turso-cli/package.nix
··· 8 }: 9 buildGoModule rec { 10 pname = "turso-cli"; 11 - version = "1.0.9"; 12 13 src = fetchFromGitHub { 14 owner = "tursodatabase"; 15 repo = "turso-cli"; 16 rev = "v${version}"; 17 - hash = "sha256-4n/GKnuibVsWxGy10XuRx2oN/Ub94TBqGZEeqfXEvgY="; 18 }; 19 20 vendorHash = "sha256-tBO21IgUczwMgrEyV7scV3YTY898lYHASaLeXqvBopU=";
··· 8 }: 9 buildGoModule rec { 10 pname = "turso-cli"; 11 + version = "1.0.10"; 12 13 src = fetchFromGitHub { 14 owner = "tursodatabase"; 15 repo = "turso-cli"; 16 rev = "v${version}"; 17 + hash = "sha256-aXFMsY8bxj+NJizeThlebcv8nNvjqF7q+AN6sQ4/5PQ="; 18 }; 19 20 vendorHash = "sha256-tBO21IgUczwMgrEyV7scV3YTY898lYHASaLeXqvBopU=";
+2 -2
pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
··· 12 13 stdenvNoCC.mkDerivation rec { 14 pname = "elementary-gtk-theme"; 15 - version = "8.2.0"; 16 17 src = fetchFromGitHub { 18 owner = "elementary"; 19 repo = "stylesheet"; 20 rev = version; 21 - sha256 = "sha256-l7E5o7JNqfJZzKpyvsjIVd2i9fwLh4Qn8oJ/S5RlFQ8="; 22 }; 23 24 nativeBuildInputs = [
··· 12 13 stdenvNoCC.mkDerivation rec { 14 pname = "elementary-gtk-theme"; 15 + version = "8.2.1"; 16 17 src = fetchFromGitHub { 18 owner = "elementary"; 19 repo = "stylesheet"; 20 rev = version; 21 + sha256 = "sha256-ymgSe4LKtbJVwmZJOwer1Geb/VgYltp+tSNHkWtaMlg="; 22 }; 23 24 nativeBuildInputs = [
+2 -2
pkgs/desktops/xfce/core/thunar/default.nix
··· 28 unwrapped = mkXfceDerivation { 29 category = "xfce"; 30 pname = "thunar"; 31 - version = "4.20.2"; 32 33 - sha256 = "sha256-tuINIJ5r1BXAUJxlmLiYe2z3AFGkXqbITJBskSx5D4s="; 34 35 nativeBuildInputs = 36 [
··· 28 unwrapped = mkXfceDerivation { 29 category = "xfce"; 30 pname = "thunar"; 31 + version = "4.20.3"; 32 33 + sha256 = "sha256-YOh7tuCja9F2VvzX+QqsKHJfebXWbhLqvcraq6PBOGo="; 34 35 nativeBuildInputs = 36 [
+4
pkgs/development/python-modules/gym/default.nix
··· 74 pytestCheckHook 75 ]; 76 77 disabledTests = 78 [ 79 # TypeError: Converting from sequence to b2Vec2, expected int/float arguments index 0
··· 74 pytestCheckHook 75 ]; 76 77 + preCheck = '' 78 + export SDL_VIDEODRIVER=dummy 79 + ''; 80 + 81 disabledTests = 82 [ 83 # TypeError: Converting from sequence to b2Vec2, expected int/float arguments index 0
+4
pkgs/development/python-modules/gymnasium/default.nix
··· 89 "tests/wrappers/test_record_video.py" 90 ]; 91 92 disabledTests = [ 93 # Fails since jax 0.6.0 94 # Fixed on master https://github.com/Farama-Foundation/Gymnasium/commit/94019feee1a0f945b9569cddf62780f4e1a224a5
··· 89 "tests/wrappers/test_record_video.py" 90 ]; 91 92 + preCheck = '' 93 + export SDL_VIDEODRIVER=dummy 94 + ''; 95 + 96 disabledTests = [ 97 # Fails since jax 0.6.0 98 # Fixed on master https://github.com/Farama-Foundation/Gymnasium/commit/94019feee1a0f945b9569cddf62780f4e1a224a5
+21 -23
pkgs/development/python-modules/langchain-community/default.nix
··· 23 24 # tests 25 blockbuster, 26 httpx, 27 langchain-tests, 28 lark, ··· 38 39 buildPythonPackage rec { 40 pname = "langchain-community"; 41 - version = "0.3.22"; 42 pyproject = true; 43 44 src = fetchFromGitHub { 45 owner = "langchain-ai"; 46 - repo = "langchain"; 47 - tag = "langchain-community==${version}"; 48 - hash = "sha256-fotu3vUCWnAVyjFjsIUjk1If81yQ3/YLj26PksmnvGE="; 49 }; 50 51 sourceRoot = "${src.name}/libs/community"; ··· 62 "tenacity" 63 ]; 64 65 dependencies = [ 66 aiohttp 67 dataclasses-json ··· 76 sqlalchemy 77 tenacity 78 ]; 79 pythonImportsCheck = [ "langchain_community" ]; 80 81 nativeCheckInputs = [ 82 blockbuster 83 httpx 84 langchain-tests 85 lark ··· 93 toml 94 ]; 95 96 - pytestFlagsArray = [ "tests/unit_tests" ]; 97 98 __darwinAllowLocalNetworking = true; 99 100 disabledTests = [ 101 - # Test require network access 102 - "test_ovhcloud_embed_documents" 103 - "test_yandex" 104 - "test_table_info" 105 - "test_sql_database_run" 106 - # pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`. 107 - "test_create_sql_agent" 108 - # pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`. 109 - "test_proper_inputs" 110 - # pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`. 111 - "test_variable_key_naming" 112 - # Tests against magic values in dict 113 - "test_serializable_mapping" 114 ]; 115 116 disabledTestPaths = [ 117 - # ValueError: Received unsupported arguments {'strict': None} 118 - "tests/unit_tests/chat_models/test_cloudflare_workersai.py" 119 # depends on Pydantic v1 notations, will not load 120 "tests/unit_tests/document_loaders/test_gitbook.py" 121 ]; ··· 123 passthru.updateScript = nix-update-script { 124 extraArgs = [ 125 "--version-regex" 126 - "langchain-community==([0-9.]+)" 127 ]; 128 }; 129 130 meta = { 131 - changelog = "https://github.com/langchain-ai/langchain/releases/tag/langchain-community==${version}"; 132 description = "Community contributed LangChain integrations"; 133 - homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community"; 134 license = lib.licenses.mit; 135 maintainers = with lib.maintainers; [ 136 natsukium
··· 23 24 # tests 25 blockbuster, 26 + duckdb, 27 + duckdb-engine, 28 httpx, 29 langchain-tests, 30 lark, ··· 40 41 buildPythonPackage rec { 42 pname = "langchain-community"; 43 + version = "0.3.24"; 44 pyproject = true; 45 46 src = fetchFromGitHub { 47 owner = "langchain-ai"; 48 + repo = "langchain-community"; 49 + tag = "libs/community/v${version}"; 50 + hash = "sha256-4Rcczuz7tCb10HPvO15n48DBKjVBLXNPdRfD4lRKNGk="; 51 }; 52 53 sourceRoot = "${src.name}/libs/community"; ··· 64 "tenacity" 65 ]; 66 67 + pythonRemoveDeps = [ 68 + "bs4" 69 + ]; 70 + 71 dependencies = [ 72 aiohttp 73 dataclasses-json ··· 82 sqlalchemy 83 tenacity 84 ]; 85 + 86 pythonImportsCheck = [ "langchain_community" ]; 87 88 nativeCheckInputs = [ 89 blockbuster 90 + duckdb 91 + duckdb-engine 92 httpx 93 langchain-tests 94 lark ··· 102 toml 103 ]; 104 105 + pytestFlagsArray = [ 106 + "tests/unit_tests" 107 + ]; 108 109 __darwinAllowLocalNetworking = true; 110 111 disabledTests = [ 112 + # requires bs4, aka BeautifulSoup 113 + "test_importable_all" 114 ]; 115 116 disabledTestPaths = [ 117 # depends on Pydantic v1 notations, will not load 118 "tests/unit_tests/document_loaders/test_gitbook.py" 119 ]; ··· 121 passthru.updateScript = nix-update-script { 122 extraArgs = [ 123 "--version-regex" 124 + "libs/community/v([0-9.]+)" 125 ]; 126 }; 127 128 meta = { 129 description = "Community contributed LangChain integrations"; 130 + homepage = "https://github.com/langchain-ai/langchain-community"; 131 + changelog = "https://github.com/langchain-ai/langchain-community/releases/tag/libs%2Fcommunity%2fv${version}"; 132 license = lib.licenses.mit; 133 maintainers = with lib.maintainers; [ 134 natsukium
+1 -1
pkgs/development/python-modules/langgraph-cli/default.nix
··· 68 69 meta = { 70 description = "Official CLI for LangGraph API"; 71 - homepage = "https://github.com/langchain-ai/langgraph/libs/cli"; 72 changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; 73 mainProgram = "langgraph"; 74 license = lib.licenses.mit;
··· 68 69 meta = { 70 description = "Official CLI for LangGraph API"; 71 + homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/cli"; 72 changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; 73 mainProgram = "langgraph"; 74 license = lib.licenses.mit;
+1 -1
pkgs/development/python-modules/langgraph-prebuilt/default.nix
··· 95 96 meta = { 97 description = "Prebuilt agents add-on for Langgraph. Should always be bundled with langgraph"; 98 - homepage = "https://github.com/langchain-ai/langgraph"; 99 changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; 100 license = lib.licenses.mit; 101 maintainers = with lib.maintainers; [ sarahec ];
··· 95 96 meta = { 97 description = "Prebuilt agents add-on for Langgraph. Should always be bundled with langgraph"; 98 + homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/prebuilt"; 99 changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; 100 license = lib.licenses.mit; 101 maintainers = with lib.maintainers; [ sarahec ];
+11 -9
pkgs/development/python-modules/pygame-ce/default.nix
··· 18 libpng, 19 libX11, 20 portmidi, 21 - SDL2_classic, 22 - SDL2_classic_image, 23 - SDL2_classic_mixer, 24 - SDL2_classic_ttf, 25 numpy, 26 27 pygame-gui, ··· 59 ]) buildInputs 60 ); 61 }) 62 ]; 63 64 postPatch = ··· 98 libjpeg 99 libpng 100 portmidi 101 - SDL2_classic 102 - (SDL2_classic_image.override { enableSTB = false; }) 103 - SDL2_classic_mixer 104 - SDL2_classic_ttf 105 ]; 106 107 nativeCheckInputs = [ ··· 114 115 env = 116 { 117 - SDL_CONFIG = lib.getExe' (lib.getDev SDL2_classic) "sdl2-config"; 118 } 119 // lib.optionalAttrs stdenv.cc.isClang { 120 NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
··· 18 libpng, 19 libX11, 20 portmidi, 21 + SDL2, 22 + SDL2_image, 23 + SDL2_mixer, 24 + SDL2_ttf, 25 numpy, 26 27 pygame-gui, ··· 59 ]) buildInputs 60 ); 61 }) 62 + # https://github.com/libsdl-org/sdl2-compat/issues/476 63 + ./skip-rle-tests.patch 64 ]; 65 66 postPatch = ··· 100 libjpeg 101 libpng 102 portmidi 103 + SDL2 104 + (SDL2_image.override { enableSTB = false; }) 105 + SDL2_mixer 106 + SDL2_ttf 107 ]; 108 109 nativeCheckInputs = [ ··· 116 117 env = 118 { 119 + SDL_CONFIG = lib.getExe' (lib.getDev SDL2) "sdl2-config"; 120 } 121 // lib.optionalAttrs stdenv.cc.isClang { 122 NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
+20
pkgs/development/python-modules/pygame-ce/skip-rle-tests.patch
···
··· 1 + diff --git a/test/surface_test.py b/test/surface_test.py 2 + index 4e4b5d4..ffc7ffb 100644 3 + --- a/test/surface_test.py 4 + +++ b/test/surface_test.py 5 + @@ -375,6 +375,7 @@ class SurfaceTypeTest(unittest.TestCase): 6 + self.assertTrue(s1.get_flags() & pygame.RLEACCELOK) 7 + self.assertTrue(not s2.get_flags() & pygame.RLEACCELOK) 8 + 9 + + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476") 10 + def test_solarwolf_rle_usage(self): 11 + """Test for error/crash when calling set_colorkey() followed 12 + by convert twice in succession. Code originally taken 13 + @@ -403,6 +404,7 @@ class SurfaceTypeTest(unittest.TestCase): 14 + finally: 15 + pygame.display.quit() 16 + 17 + + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476") 18 + def test_solarwolf_rle_usage_2(self): 19 + """Test for RLE status after setting alpha""" 20 +
+54
pkgs/development/python-modules/pygame/0001-Use-SDL_HasSurfaceRLE-when-available.patch
···
··· 1 + From fb4a3d427898ed0a1fcf1e6795584a5a66a9cb3b Mon Sep 17 00:00:00 2001 2 + From: Marcin Serwin <marcin@serwin.dev> 3 + Date: Thu, 15 May 2025 18:24:56 +0200 4 + Subject: [PATCH 1/2] Use SDL_HasSurfaceRLE when available 5 + 6 + The hack does not work with sdl2-compat due to a different surface 7 + internals. 8 + 9 + Signed-off-by: Marcin Serwin <marcin@serwin.dev> 10 + --- 11 + src_c/surface.c | 6 ++++++ 12 + 1 file changed, 6 insertions(+) 13 + 14 + diff --git a/src_c/surface.c b/src_c/surface.c 15 + index 958ce43f..ee9991fb 100644 16 + --- a/src_c/surface.c 17 + +++ b/src_c/surface.c 18 + @@ -63,6 +63,7 @@ typedef struct pg_bufferinternal_s { 19 + Py_ssize_t mem[6]; /* Enough memory for dim 3 shape and strides */ 20 + } pg_bufferinternal; 21 + 22 + +#if !SDL_VERSION_ATLEAST(2, 0, 14) 23 + /* copy of SDL Blit mapping definitions to enable pointer casting hack 24 + for checking state of the SDL_COPY_RLE_DESIRED flag */ 25 + #define PGS_COPY_RLE_DESIRED 0x00001000 26 + @@ -97,6 +98,9 @@ typedef struct pg_BlitMap { 27 + Uint32 src_palette_version; 28 + } pg_BlitMap; 29 + /* end PGS_COPY_RLE_DESIRED hack definitions */ 30 + +#else 31 + +#define pg_HasSurfaceRLE SDL_HasSurfaceRLE 32 + +#endif 33 + 34 + int 35 + pgSurface_Blit(pgSurfaceObject *dstobj, pgSurfaceObject *srcobj, 36 + @@ -2212,6 +2216,7 @@ surf_scroll(PyObject *self, PyObject *args, PyObject *keywds) 37 + Py_RETURN_NONE; 38 + } 39 + 40 + +#if !SDL_VERSION_ATLEAST(2, 0, 14) 41 + int 42 + pg_HasSurfaceRLE(SDL_Surface *surface) 43 + { 44 + @@ -2230,6 +2235,7 @@ pg_HasSurfaceRLE(SDL_Surface *surface) 45 + 46 + return SDL_TRUE; 47 + } 48 + +#endif 49 + 50 + static int 51 + _PgSurface_SrcAlpha(SDL_Surface *surf) 52 + -- 53 + 2.49.0 54 +
+29
pkgs/development/python-modules/pygame/0002-Don-t-assume-that-touch-devices-support-get_num_fing.patch
···
··· 1 + From ca46aa2bea7a67fbac55d7228026623def0aca9d Mon Sep 17 00:00:00 2001 2 + From: Marcin Serwin <marcin@serwin.dev> 3 + Date: Fri, 16 May 2025 17:39:24 +0200 4 + Subject: [PATCH 2/2] Don't assume that touch devices support get_num_fingers 5 + 6 + Signed-off-by: Marcin Serwin <marcin@serwin.dev> 7 + --- 8 + test/touch_test.py | 5 ++++- 9 + 1 file changed, 4 insertions(+), 1 deletion(-) 10 + 11 + diff --git a/test/touch_test.py b/test/touch_test.py 12 + index 259a2c70..e8e58161 100644 13 + --- a/test/touch_test.py 14 + +++ b/test/touch_test.py 15 + @@ -30,7 +30,10 @@ class TouchTest(unittest.TestCase): 16 + 17 + @unittest.skipIf(not has_touchdevice, "no touch devices found") 18 + def test_num_fingers(self): 19 + - touch.get_num_fingers(touch.get_device(0)) 20 + + # sdl2-compat reports pens/styli as touch devices but they don't 21 + + # support get_num_fingers, they can be distinguished by negative id 22 + + if touch.get_device(0) >= 0: 23 + + touch.get_num_fingers(touch.get_device(0)) 24 + 25 + def test_num_fingers__invalid(self): 26 + self.assertRaises(TypeError, touch.get_num_fingers, "test") 27 + -- 28 + 2.49.0 29 +
+14
pkgs/development/python-modules/pygame/adapt-to-sdl3-format-message.patch
···
··· 1 + diff --git a/src_c/surface.c b/src_c/surface.c 2 + index ee9991fb..32c007bd 100644 3 + --- a/src_c/surface.c 4 + +++ b/src_c/surface.c 5 + @@ -733,7 +733,8 @@ _raise_create_surface_error(void) 6 + { 7 + const char *msg = SDL_GetError(); 8 + 9 + - if (strcmp(msg, "Unknown pixel format") == 0) 10 + + if (strcmp(msg, "Unknown pixel format") == 0 || 11 + + strcmp(msg, "Parameter 'format' is invalid") == 0) 12 + return RAISE(PyExc_ValueError, "Invalid mask values"); 13 + return RAISE(pgExc_SDLError, msg); 14 + }
+17 -9
pkgs/development/python-modules/pygame/default.nix
··· 12 setuptools, 13 14 # nativeBuildInputs 15 - SDL2_classic, 16 pkg-config, 17 18 # buildInputs ··· 21 libpng, 22 libX11, 23 portmidi, 24 - SDL2_classic_image, 25 - SDL2_classic_mixer, 26 - SDL2_classic_ttf, 27 }: 28 29 buildPythonPackage rec { ··· 62 63 # mixer queue test returns busy queue when it shouldn't 64 ./skip-mixer-test.patch 65 ]; 66 67 postPatch = '' ··· 76 ]; 77 78 nativeBuildInputs = [ 79 - SDL2_classic 80 pkg-config 81 ]; 82 ··· 86 libpng 87 libX11 88 portmidi 89 - SDL2_classic 90 - (SDL2_classic_image.override { enableSTB = false; }) 91 - SDL2_classic_mixer 92 - SDL2_classic_ttf 93 ]; 94 95 preConfigure = ''
··· 12 setuptools, 13 14 # nativeBuildInputs 15 + SDL2, 16 pkg-config, 17 18 # buildInputs ··· 21 libpng, 22 libX11, 23 portmidi, 24 + SDL2_image, 25 + SDL2_mixer, 26 + SDL2_ttf, 27 }: 28 29 buildPythonPackage rec { ··· 62 63 # mixer queue test returns busy queue when it shouldn't 64 ./skip-mixer-test.patch 65 + # https://github.com/libsdl-org/sdl2-compat/issues/476 66 + ./skip-rle-tests.patch 67 + # https://github.com/libsdl-org/sdl2-compat/issues/489 68 + ./adapt-to-sdl3-format-message.patch 69 + 70 + # https://github.com/pygame/pygame/pull/4497 71 + ./0001-Use-SDL_HasSurfaceRLE-when-available.patch 72 + ./0002-Don-t-assume-that-touch-devices-support-get_num_fing.patch 73 ]; 74 75 postPatch = '' ··· 84 ]; 85 86 nativeBuildInputs = [ 87 + SDL2 88 pkg-config 89 ]; 90 ··· 94 libpng 95 libX11 96 portmidi 97 + SDL2 98 + (SDL2_image.override { enableSTB = false; }) 99 + SDL2_mixer 100 + SDL2_ttf 101 ]; 102 103 preConfigure = ''
+20
pkgs/development/python-modules/pygame/skip-rle-tests.patch
···
··· 1 + diff --git a/test/surface_test.py b/test/surface_test.py 2 + index 4e4b5d4..ffc7ffb 100644 3 + --- a/test/surface_test.py 4 + +++ b/test/surface_test.py 5 + @@ -375,6 +375,7 @@ class SurfaceTypeTest(unittest.TestCase): 6 + self.assertTrue(s1.get_flags() & pygame.RLEACCELOK) 7 + self.assertTrue(not s2.get_flags() & pygame.RLEACCELOK) 8 + 9 + + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476") 10 + def test_solarwolf_rle_usage(self): 11 + """Test for error/crash when calling set_colorkey() followed 12 + by convert twice in succession. Code originally taken 13 + @@ -403,6 +404,7 @@ class SurfaceTypeTest(unittest.TestCase): 14 + finally: 15 + pygame.display.quit() 16 + 17 + + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476") 18 + def test_solarwolf_rle_usage_2(self): 19 + """Test for RLE status after setting alpha""" 20 +
+1
pkgs/top-level/aliases.nix
··· 465 containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09 466 crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04 467 crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11 468 critcl = tclPackages.critcl; # Added 2024-10-02 469 crunchy-cli = throw "'crunchy-cli' was sunset, see <https://github.com/crunchy-labs/crunchy-cli/issues/362>"; # Added 2025-03-26 470 cudaPackages_10_0 = throw "CUDA 10.0 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2024-11-20
··· 465 containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09 466 crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04 467 crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11 468 + create-react-app = throw "'create-react-app' has been removed as it was deprecated. Upstream suggests using a framework for React."; # Added 2025-05-17 469 critcl = tclPackages.critcl; # Added 2024-10-02 470 crunchy-cli = throw "'crunchy-cli' was sunset, see <https://github.com/crunchy-labs/crunchy-cli/issues/362>"; # Added 2025-03-26 471 cudaPackages_10_0 = throw "CUDA 10.0 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2024-11-20
-2
pkgs/top-level/all-packages.nix
··· 351 perlPackages = perl538Packages; 352 }; 353 354 - collision = callPackage ../applications/misc/collision { }; 355 - 356 coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { }); 357 358 copilot-language-server-fhs = copilot-language-server.fhs;
··· 351 perlPackages = perl538Packages; 352 }; 353 354 coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { }); 355 356 copilot-language-server-fhs = copilot-language-server.fhs;