lol

Merge master into staging-next

+528 -177
+29
lib/systems/default.nix
··· 531 531 "-uefi" 532 532 ]; 533 533 }; 534 + } 535 + // { 536 + go = { 537 + # See https://pkg.go.dev/internal/platform for a list of known platforms 538 + GOARCH = 539 + { 540 + "aarch64" = "arm64"; 541 + "arm" = "arm"; 542 + "armv5tel" = "arm"; 543 + "armv6l" = "arm"; 544 + "armv7l" = "arm"; 545 + "i686" = "386"; 546 + "loongarch64" = "loong64"; 547 + "mips" = "mips"; 548 + "mips64el" = "mips64le"; 549 + "mipsel" = "mipsle"; 550 + "powerpc64" = "ppc64"; 551 + "powerpc64le" = "ppc64le"; 552 + "riscv64" = "riscv64"; 553 + "s390x" = "s390x"; 554 + "x86_64" = "amd64"; 555 + "wasm32" = "wasm"; 556 + } 557 + .${final.parsed.cpu.name} or (throw "Unknown CPU variant ${final.parsed.cpu.name} by Go"); 558 + GOOS = if final.isWasi then "wasip1" else final.parsed.kernel.name; 559 + 560 + # See https://go.dev/wiki/GoArm 561 + GOARM = toString (lib.intersectLists [ (final.parsed.cpu.version or "") ] [ "5" "6" "7" ]); 562 + }; 534 563 }; 535 564 in 536 565 assert final.useAndroidPrebuilt -> final.isAndroid;
+6
maintainers/maintainer-list.nix
··· 25826 25826 name = "Vinicius Bernardino"; 25827 25827 keys = [ { fingerprint = "F0D3 920C 722A 541F 0CCD 66E3 A7BA BA05 3D78 E7CA"; } ]; 25828 25828 }; 25829 + vnpower = { 25830 + email = "vnpower@loang.net"; 25831 + github = "vntsuyo"; 25832 + githubId = 209139160; 25833 + name = "VnPower"; 25834 + }; 25829 25835 vog = { 25830 25836 email = "v@njh.eu"; 25831 25837 github = "vog";
+2 -4
nixos/modules/services/matrix/lk-jwt-service.nix
··· 10 10 { 11 11 meta.maintainers = [ lib.maintainers.quadradical ]; 12 12 options.services.lk-jwt-service = { 13 - enable = lib.mkEnableOption "Enable lk-jwt-service"; 13 + enable = lib.mkEnableOption "lk-jwt-service"; 14 14 package = lib.mkPackageOption pkgs "lk-jwt-service" { }; 15 15 16 16 livekitUrl = lib.mkOption { ··· 28 28 Path to a file containing the credential mapping (`<keyname>: <secret>`) to access LiveKit. 29 29 30 30 Example: 31 - ``` 32 - lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE 33 - ``` 31 + `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE` 34 32 35 33 For more information, see <https://github.com/element-hq/lk-jwt-service#configuration>. 36 34 '';
+4 -5
nixos/modules/services/networking/livekit.nix
··· 12 12 { 13 13 meta.maintainers = with lib.maintainers; [ quadradical ]; 14 14 options.services.livekit = { 15 - enable = lib.mkEnableOption "Enable the livekit server"; 15 + enable = lib.mkEnableOption "the livekit server"; 16 16 package = lib.mkPackageOption pkgs "livekit" { }; 17 17 18 18 keyFile = lib.mkOption { ··· 20 20 description = '' 21 21 LiveKit key file holding one or multiple application secrets. Use `livekit-server generate-keys` to generate a random key name and secret. 22 22 23 - The file should have the format `<keyname>: <secret>`. Example: 24 - ``` 25 - lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE 26 - ``` 23 + The file should have the format `<keyname>: <secret>`. 24 + Example: 25 + `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE` 27 26 28 27 Individual key/secret pairs need to be passed to clients to connect to this instance. 29 28 '';
+14 -9
pkgs/applications/misc/stork/default.nix
··· 4 4 fetchFromGitHub, 5 5 openssl, 6 6 pkg-config, 7 + versionCheckHook, 7 8 }: 8 9 9 - rustPlatform.buildRustPackage rec { 10 + rustPlatform.buildRustPackage (finalAttrs: { 10 11 pname = "stork"; 11 12 version = "1.6.0"; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "jameslittle230"; 15 16 repo = "stork"; 16 - rev = "v${version}"; 17 - sha256 = "sha256-qGcEhoytkCkcaA5eHc8GVgWvbOIyrO6BCp+EHva6wTw="; 17 + tag = "v${finalAttrs.version}"; 18 + hash = "sha256-qGcEhoytkCkcaA5eHc8GVgWvbOIyrO6BCp+EHva6wTw="; 18 19 }; 19 20 20 - useFetchCargoVendor = true; 21 - cargoHash = "sha256-nN2aNNBq2YDOY9H9682hvwrlI5WTg7s1EPi68UuBTBM="; 21 + cargoPatches = [ ./update-wasm-bindgen.patch ]; 22 + 23 + cargoHash = "sha256-d6PLrs/n9riQ9oQTWn+6Ec1E5JhJZ7akDg8/UB21GzI="; 22 24 23 25 checkFlags = [ 24 26 # Fails for 1.6.0, but binary works fine ··· 29 31 30 32 buildInputs = [ openssl ]; 31 33 32 - meta = with lib; { 34 + doInstallCheck = true; 35 + nativeInstallCheckInputs = [ versionCheckHook ]; 36 + 37 + meta = { 33 38 description = "Impossibly fast web search, made for static sites"; 34 39 homepage = "https://github.com/jameslittle230/stork"; 35 - license = with licenses; [ asl20 ]; 36 - maintainers = with maintainers; [ chuahou ]; 40 + license = lib.licenses.asl20; 41 + maintainers = with lib.maintainers; [ chuahou ]; 37 42 mainProgram = "stork"; 38 43 }; 39 - } 44 + })
+253
pkgs/applications/misc/stork/update-wasm-bindgen.patch
··· 1 + diff --git a/Cargo.lock b/Cargo.lock 2 + index df6305c..ec55cb0 100644 3 + --- a/Cargo.lock 4 + +++ b/Cargo.lock 5 + @@ -1,6 +1,6 @@ 6 + # This file is automatically @generated by Cargo. 7 + # It is not intended for manual editing. 8 + -version = 3 9 + +version = 4 10 + 11 + [[package]] 12 + name = "aho-corasick" 13 + @@ -292,7 +292,7 @@ dependencies = [ 14 + "proc-macro2", 15 + "quote", 16 + "smallvec", 17 + - "syn", 18 + + "syn 1.0.82", 19 + ] 20 + 21 + [[package]] 22 + @@ -302,7 +302,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" 23 + checksum = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e" 24 + dependencies = [ 25 + "quote", 26 + - "syn", 27 + + "syn 1.0.82", 28 + ] 29 + 30 + [[package]] 31 + @@ -334,7 +334,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" 32 + checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa" 33 + dependencies = [ 34 + "quote", 35 + - "syn", 36 + + "syn 1.0.82", 37 + ] 38 + 39 + [[package]] 40 + @@ -347,7 +347,7 @@ dependencies = [ 41 + "proc-macro2", 42 + "quote", 43 + "rustc_version", 44 + - "syn", 45 + + "syn 1.0.82", 46 + ] 47 + 48 + [[package]] 49 + @@ -585,7 +585,7 @@ dependencies = [ 50 + "markup5ever", 51 + "proc-macro2", 52 + "quote", 53 + - "syn", 54 + + "syn 1.0.82", 55 + ] 56 + 57 + [[package]] 58 + @@ -911,9 +911,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" 59 + 60 + [[package]] 61 + name = "once_cell" 62 + -version = "1.8.0" 63 + +version = "1.21.3" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 66 + +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 67 + 68 + [[package]] 69 + name = "oorandom" 70 + @@ -1036,7 +1036,7 @@ dependencies = [ 71 + "proc-macro-hack", 72 + "proc-macro2", 73 + "quote", 74 + - "syn", 75 + + "syn 1.0.82", 76 + ] 77 + 78 + [[package]] 79 + @@ -1135,11 +1135,11 @@ checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 80 + 81 + [[package]] 82 + name = "proc-macro2" 83 + -version = "1.0.32" 84 + +version = "1.0.95" 85 + source = "registry+https://github.com/rust-lang/crates.io-index" 86 + -checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43" 87 + +checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 88 + dependencies = [ 89 + - "unicode-xid", 90 + + "unicode-ident", 91 + ] 92 + 93 + [[package]] 94 + @@ -1156,9 +1156,9 @@ dependencies = [ 95 + 96 + [[package]] 97 + name = "quote" 98 + -version = "1.0.9" 99 + +version = "1.0.40" 100 + source = "registry+https://github.com/rust-lang/crates.io-index" 101 + -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 102 + +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 103 + dependencies = [ 104 + "proc-macro2", 105 + ] 106 + @@ -1357,6 +1357,12 @@ dependencies = [ 107 + "semver", 108 + ] 109 + 110 + +[[package]] 111 + +name = "rustversion" 112 + +version = "1.0.20" 113 + +source = "registry+https://github.com/rust-lang/crates.io-index" 114 + +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" 115 + + 116 + [[package]] 117 + name = "ryu" 118 + version = "1.0.5" 119 + @@ -1464,7 +1470,7 @@ checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" 120 + dependencies = [ 121 + "proc-macro2", 122 + "quote", 123 + - "syn", 124 + + "syn 1.0.82", 125 + ] 126 + 127 + [[package]] 128 + @@ -1535,7 +1541,7 @@ checksum = "133659a15339456eeeb07572eb02a91c91e9815e9cbc89566944d2c8d3efdbf6" 129 + dependencies = [ 130 + "proc-macro2", 131 + "quote", 132 + - "syn", 133 + + "syn 1.0.82", 134 + ] 135 + 136 + [[package]] 137 + @@ -1671,6 +1677,17 @@ dependencies = [ 138 + "unicode-xid", 139 + ] 140 + 141 + +[[package]] 142 + +name = "syn" 143 + +version = "2.0.101" 144 + +source = "registry+https://github.com/rust-lang/crates.io-index" 145 + +checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" 146 + +dependencies = [ 147 + + "proc-macro2", 148 + + "quote", 149 + + "unicode-ident", 150 + +] 151 + + 152 + [[package]] 153 + name = "tempfile" 154 + version = "3.3.0" 155 + @@ -1750,7 +1767,7 @@ checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" 156 + dependencies = [ 157 + "proc-macro2", 158 + "quote", 159 + - "syn", 160 + + "syn 1.0.82", 161 + ] 162 + 163 + [[package]] 164 + @@ -1885,6 +1902,12 @@ version = "0.3.7" 165 + source = "registry+https://github.com/rust-lang/crates.io-index" 166 + checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" 167 + 168 + +[[package]] 169 + +name = "unicode-ident" 170 + +version = "1.0.18" 171 + +source = "registry+https://github.com/rust-lang/crates.io-index" 172 + +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 173 + + 174 + [[package]] 175 + name = "unicode-linebreak" 176 + version = "0.1.2" 177 + @@ -1992,26 +2015,27 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 178 + 179 + [[package]] 180 + name = "wasm-bindgen" 181 + -version = "0.2.78" 182 + +version = "0.2.100" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + -checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" 185 + +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 186 + dependencies = [ 187 + "cfg-if", 188 + + "once_cell", 189 + + "rustversion", 190 + "wasm-bindgen-macro", 191 + ] 192 + 193 + [[package]] 194 + name = "wasm-bindgen-backend" 195 + -version = "0.2.78" 196 + +version = "0.2.100" 197 + source = "registry+https://github.com/rust-lang/crates.io-index" 198 + -checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" 199 + +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 200 + dependencies = [ 201 + "bumpalo", 202 + - "lazy_static", 203 + "log", 204 + "proc-macro2", 205 + "quote", 206 + - "syn", 207 + + "syn 2.0.101", 208 + "wasm-bindgen-shared", 209 + ] 210 + 211 + @@ -2029,9 +2053,9 @@ dependencies = [ 212 + 213 + [[package]] 214 + name = "wasm-bindgen-macro" 215 + -version = "0.2.78" 216 + +version = "0.2.100" 217 + source = "registry+https://github.com/rust-lang/crates.io-index" 218 + -checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" 219 + +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 220 + dependencies = [ 221 + "quote", 222 + "wasm-bindgen-macro-support", 223 + @@ -2039,22 +2063,25 @@ dependencies = [ 224 + 225 + [[package]] 226 + name = "wasm-bindgen-macro-support" 227 + -version = "0.2.78" 228 + +version = "0.2.100" 229 + source = "registry+https://github.com/rust-lang/crates.io-index" 230 + -checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" 231 + +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 232 + dependencies = [ 233 + "proc-macro2", 234 + "quote", 235 + - "syn", 236 + + "syn 2.0.101", 237 + "wasm-bindgen-backend", 238 + "wasm-bindgen-shared", 239 + ] 240 + 241 + [[package]] 242 + name = "wasm-bindgen-shared" 243 + -version = "0.2.78" 244 + +version = "0.2.100" 245 + source = "registry+https://github.com/rust-lang/crates.io-index" 246 + -checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" 247 + +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 248 + +dependencies = [ 249 + + "unicode-ident", 250 + +] 251 + 252 + [[package]] 253 + name = "web-sys"
+22 -13
pkgs/applications/science/astronomy/stellarium/default.nix
··· 24 24 xvfb-run, 25 25 gitUpdater, 26 26 md4c, 27 + fetchpatch, 27 28 }: 28 29 29 30 stdenv.mkDerivation (finalAttrs: { ··· 37 38 hash = "sha256-rbnGSdzPuFdSqWPaKtF3n4oLZ9l+4jX7KtnmcrTvwbs="; 38 39 }; 39 40 40 - postPatch = 41 - '' 42 - substituteInPlace CMakeLists.txt \ 43 - --replace-fail 'CPMAddPackage(NAME md4c' \ 44 - 'CPMFindPackage(NAME md4c' 45 - '' 46 - + lib.optionalString stdenv.hostPlatform.isDarwin '' 47 - substituteInPlace CMakeLists.txt \ 48 - --replace-fail 'SET(CMAKE_INSTALL_PREFIX "''${PROJECT_BINARY_DIR}/Stellarium.app/Contents")' \ 49 - 'SET(CMAKE_INSTALL_PREFIX "${placeholder "out"}/Applications/Stellarium.app/Contents")' 50 - substituteInPlace src/CMakeLists.txt \ 51 - --replace-fail "\''${_qt_bin_dir}/../" "${qtmultimedia}/lib/qt-6/" 52 - ''; 41 + patches = [ 42 + # Patch from upstream to fix compilation with Qt 6.9 43 + (fetchpatch { 44 + url = "https://github.com/Stellarium/stellarium/commit/bbcd60ae52b6f1395ef2390a2d2ba9d0f98db548.patch"; 45 + hash = "sha256-9VaqLASxn1udUApDZRI5SCqCXNGOHUcdbM+pKhW8ZAg="; 46 + }) 47 + 48 + # Upstream patch to support building with a locally provided md4c package 49 + (fetchpatch { 50 + url = "https://github.com/Stellarium/stellarium/commit/972c6ba72f575964fbf2049a22d51b4d1fd3983c.patch"; 51 + hash = "sha256-ef1Jw5NeT0KLVKQt7VcvQh83n2ujMFK+Nv0165ZQ2r8="; 52 + }) 53 + ]; 54 + 55 + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' 56 + substituteInPlace CMakeLists.txt \ 57 + --replace-fail 'SET(CMAKE_INSTALL_PREFIX "''${PROJECT_BINARY_DIR}/Stellarium.app/Contents")' \ 58 + 'SET(CMAKE_INSTALL_PREFIX "${placeholder "out"}/Applications/Stellarium.app/Contents")' 59 + substituteInPlace src/CMakeLists.txt \ 60 + --replace-fail "\''${_qt_bin_dir}/../" "${qtmultimedia}/lib/qt-6/" 61 + ''; 53 62 54 63 nativeBuildInputs = [ 55 64 cmake
+2 -2
pkgs/applications/video/haruna/default.nix
··· 26 26 27 27 stdenv.mkDerivation rec { 28 28 pname = "haruna"; 29 - version = "1.3.3"; 29 + version = "1.4.0"; 30 30 31 31 src = fetchFromGitLab { 32 32 owner = "multimedia"; 33 33 repo = "haruna"; 34 34 rev = "v${version}"; 35 - hash = "sha256-EoB8qoCiB6jvHqfhkGHhiq9/79MBLt6GguvRIwY90B0="; 35 + hash = "sha256-7983qZ7c3i8Ilyvu36t02zeIcVO96PXGNLH3wq6JsvI="; 36 36 domain = "invent.kde.org"; 37 37 }; 38 38
+3 -3
pkgs/by-name/az/azurite/package.nix
··· 10 10 11 11 buildNpmPackage rec { 12 12 pname = "azurite"; 13 - version = "3.33.0"; 13 + version = "3.34.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "Azure"; 17 17 repo = "Azurite"; 18 18 rev = "v${version}"; 19 - hash = "sha256-aH9FAT49y4k87lzerQdgLqi+ZlucORQX4w1NBFtEfMw="; 19 + hash = "sha256-6NECduq2ewed8bR4rlF5MW8mGcsgu8bqgA/DBt8ywtM="; 20 20 }; 21 21 22 - npmDepsHash = "sha256-jfa04iWz0aOiFD1YkXn5YEXqQcrY+rIDbVmmUaA5sYc="; 22 + npmDepsHash = "sha256-WRaD99CsIuH3BrO01eVuoEZo40VjuScnVzmlFcKpj8g="; 23 23 24 24 nativeBuildInputs = [ 25 25 pkg-config
+58
pkgs/by-name/cr/crengine-ng/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitLab, 5 + cmake, 6 + pkg-config, 7 + fribidi, 8 + libunibreak, 9 + freetype, 10 + fontconfig, 11 + harfbuzz, 12 + zlib, 13 + zstd, 14 + libpng, 15 + libjpeg, 16 + utf8proc, 17 + }: 18 + stdenv.mkDerivation (finalAttrs: { 19 + pname = "crengine-ng"; 20 + version = "0.9.12"; 21 + 22 + src = fetchFromGitLab { 23 + owner = "coolreader-ng"; 24 + repo = "crengine-ng"; 25 + tag = finalAttrs.version; 26 + hash = "sha256-sNExFNnUKfl+4VCWeqK/Pt2Qy6DtYn7GYnwz5hHkjZw="; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + cmake 31 + pkg-config 32 + ]; 33 + 34 + buildInputs = [ 35 + fribidi 36 + libunibreak 37 + freetype 38 + fontconfig 39 + harfbuzz 40 + zlib 41 + zstd 42 + libpng 43 + libjpeg 44 + utf8proc 45 + ]; 46 + 47 + postPatch = '' 48 + substituteInPlace crengine/crengine-ng.pc.cmake \ 49 + --replace-fail '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ 50 + ''; 51 + 52 + meta = { 53 + homepage = "https://gitlab.com/coolreader-ng/crengine-ng"; 54 + description = "Cross-platform library designed to implement text viewers and e-book readers"; 55 + license = lib.licenses.gpl2Plus; 56 + maintainers = with lib.maintainers; [ vnpower ]; 57 + }; 58 + })
+3 -2
pkgs/by-name/kl/klipperscreen/package.nix
··· 8 8 }: 9 9 python3.pkgs.buildPythonApplication rec { 10 10 pname = "KlipperScreen"; 11 - version = "0.4.4"; 11 + version = "0.4.5"; 12 12 format = "other"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "KlipperScreen"; 16 16 repo = "KlipperScreen"; 17 17 rev = "v${version}"; 18 - hash = "sha256-MxuUmkuEnfFC0iPwNUc0Wh8bIEl1J1FMgGEYMjHePZ8="; 18 + hash = "sha256-lKGMz5N4lKSqA614wjJiUfP5fUY+WqFDPxeX/Iyp2TQ="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ ··· 33 33 mpv 34 34 six 35 35 dbus-python 36 + sdbus-networkmanager 36 37 ]; 37 38 38 39 dontWrapGApps = true;
+2 -2
pkgs/by-name/mo/mopidy-argos/package.nix
··· 13 13 }: 14 14 python3Packages.buildPythonApplication rec { 15 15 pname = "mopidy-argos"; 16 - version = "1.15.0"; 16 + version = "1.16.0"; 17 17 pyproject = false; # Built with meson 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "orontee"; 21 21 repo = "argos"; 22 22 tag = "v${version}"; 23 - hash = "sha256-fHdaYFq38t4uzpVD4qoAeVm5yWgj2O7hy4LDgZ1bZj4="; 23 + hash = "sha256-wmAGzURFPseBxBD6mW4rAHPrxmQHx03DQxvTBF3T/pg="; 24 24 }; 25 25 postPatch = '' 26 26 patchShebangs build-aux/meson/postinstall.py
+8 -3
pkgs/by-name/oc/ocl-icd/package.nix
··· 26 26 27 27 buildInputs = [ opencl-headers ] ++ lib.optionals stdenv.hostPlatform.isWindows [ windows.dlfcn ]; 28 28 29 - configureFlags = [ 30 - "--enable-custom-vendordir=/run/opengl-driver/etc/OpenCL/vendors" 31 - ]; 29 + configureFlags = 30 + [ 31 + "--enable-custom-vendordir=/run/opengl-driver/etc/OpenCL/vendors" 32 + ] 33 + ++ lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ 34 + "ac_cv_func_malloc_0_nonnull=yes" 35 + "ac_cv_func_realloc_0_nonnull=yes" 36 + ]; 32 37 33 38 # fixes: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified 34 39 makeFlags = lib.optionals stdenv.hostPlatform.isWindows [ "LDFLAGS=-no-undefined" ];
+45 -41
pkgs/by-name/op/openclonk/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 + 5 + # sources 4 6 fetchurl, 5 7 fetchFromGitHub, 6 8 fetchDebianPatch, 9 + 10 + # nativeBuildInputs 7 11 cmake, 12 + ninja, 8 13 pkg-config, 9 - SDL2, 10 - libvorbis, 11 - libogg, 12 - libjpeg, 13 - libpng, 14 + 15 + # buildInputs 16 + curl, 17 + freealut, 14 18 freetype, 15 19 glew, 16 - tinyxml, 20 + libb2, 21 + libepoxy, 22 + libjpeg, 23 + libogg, 24 + libpng, 25 + libvorbis, 26 + libXrandr, 17 27 openal, 18 - libepoxy, 19 - curl, 20 - freealut, 21 28 readline, 22 - libb2, 23 - gcc-unwrapped, 24 - enableSoundtrack ? false, # Enable the "Open Clonk Soundtrack - Explorers Journey" by David Oerther 29 + SDL2, 30 + tinyxml, 31 + 32 + # Enable the "Open Clonk Soundtrack - Explorers Journey" by David Oerther 33 + enableSoundtrack ? false, 25 34 }: 26 35 27 36 let 28 37 soundtrack_src = fetchurl { 29 38 url = "http://www.openclonk.org/download/Music.ocg"; 30 - sha256 = "1ckj0dlpp5zsnkbb5qxxfxpkiq76jj2fgj91fyf3ll7n0gbwcgw5"; 39 + hash = "sha256-Mye6pl1eSgEQ/vOLfDsdHDjp2ljb3euGKBr7s36+2W4="; 31 40 }; 32 41 in 33 42 stdenv.mkDerivation { 34 - version = "unstable-2023-10-30"; 43 + version = "9.0-unstable-2025-01-11"; 35 44 pname = "openclonk"; 36 45 37 46 src = fetchFromGitHub { 38 47 owner = "openclonk"; 39 48 repo = "openclonk"; 40 - rev = "5275334a11ef7c23ce809f35d6b443abd91b415f"; 41 - sha256 = "14x5b2rh739156l4072rbsnv9n862jz1zafi6ng158ja5fwl16l2"; 49 + rev = "db975b4a887883f4413d1ce3181f303d83ee0ab5"; 50 + hash = "sha256-Vt7umsfe2TVZAeKJOXCi2ZCbSv6wAotuMflS7ii7Y/E="; 42 51 }; 43 52 44 53 patches = [ ··· 50 59 hash = "sha256-zuH6zxSQXRhnt75092Xwb6XYv8UG391E5Arbnr7ApiI="; 51 60 }) 52 61 ]; 53 - 54 - enableParallelInstalling = false; 55 62 56 63 postInstall = 57 - '''' 64 + '' 65 + mv $out/games/openclonk $out/bin 66 + rm -r $out/games 67 + '' 58 68 + lib.optionalString enableSoundtrack '' 59 69 ln -sv ${soundtrack_src} $out/share/games/openclonk/Music.ocg 60 70 ''; 61 71 62 72 nativeBuildInputs = [ 63 73 cmake 74 + ninja 64 75 pkg-config 65 76 ]; 66 77 67 78 buildInputs = [ 68 - SDL2 69 - libvorbis 70 - libogg 71 - libjpeg 72 - libpng 79 + curl 80 + freealut 73 81 freetype 74 82 glew 75 - tinyxml 83 + libb2 84 + libepoxy 85 + libjpeg 86 + libogg 87 + libpng 88 + libvorbis 89 + libXrandr 76 90 openal 77 - freealut 78 - libepoxy 79 - curl 80 91 readline 81 - libb2 82 - ]; 83 - 84 - cmakeFlags = [ 85 - "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" 86 - "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" 92 + SDL2 93 + tinyxml 87 94 ]; 88 95 89 96 cmakeBuildType = "RelWithDebInfo"; 90 97 91 - meta = with lib; { 98 + meta = { 92 99 description = "Free multiplayer action game in which you control clonks, small but witty and nimble humanoid beings"; 93 100 homepage = "https://www.openclonk.org"; 94 - license = if enableSoundtrack then licenses.unfreeRedistributable else licenses.isc; 101 + license = with lib.licenses; [ isc ] ++ lib.optional enableSoundtrack unfreeRedistributable; 95 102 mainProgram = "openclonk"; 96 - maintainers = [ ]; 97 - platforms = [ 98 - "x86_64-linux" 99 - "i686-linux" 100 - ]; 103 + maintainers = with lib.maintainers; [ wolfgangwalther ]; 104 + platforms = lib.platforms.linux; 101 105 }; 102 106 }
+3 -3
pkgs/by-name/ro/roddhjav-apparmor-rules/package.nix
··· 7 7 8 8 stdenvNoCC.mkDerivation { 9 9 pname = "roddhjav-apparmor-rules"; 10 - version = "0-unstable-2025-04-25"; 10 + version = "0-unstable-2025-05-03"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "roddhjav"; 14 14 repo = "apparmor.d"; 15 - rev = "3295a1334a7bbbe66b1f857a43d414ed96534455"; 16 - hash = "sha256-5RZzqblfRheqzEWvyPsDLJdG7IImblOpz5bIsooIrAo="; 15 + rev = "6d8eda6b8735626d5c2d25a810fb7600a4e3d60e"; 16 + hash = "sha256-y0qdiijSZligYPpt5qbK36KAt+q6mHN03lOqq6HPSRA="; 17 17 }; 18 18 19 19 dontConfigure = true;
+4 -1
pkgs/by-name/un/unnamed-sdvx-clone/package.nix
··· 16 16 curl, 17 17 libcpr, 18 18 rapidjson, 19 + libX11, 20 + libGL, 19 21 writeShellScriptBin, 20 22 makeDesktopItem, 21 23 lib, 22 24 copyDesktopItems, 23 25 }: 24 - 25 26 stdenv.mkDerivation (finalAttrs: { 26 27 pname = "unnamed-sdvx-clone"; 27 28 version = "0.6.0"; ··· 54 55 curl 55 56 libcpr 56 57 rapidjson 58 + libX11 59 + libGL 57 60 ]; 58 61 59 62 cmakeFlags = [
+3 -29
pkgs/development/compilers/go/1.23.nix
··· 19 19 20 20 skopeoTest = skopeo.override { buildGoModule = buildGo123Module; }; 21 21 22 - goarch = 23 - platform: 24 - { 25 - "aarch64" = "arm64"; 26 - "arm" = "arm"; 27 - "armv5tel" = "arm"; 28 - "armv6l" = "arm"; 29 - "armv7l" = "arm"; 30 - "i686" = "386"; 31 - "loongarch64" = "loong64"; 32 - "mips" = "mips"; 33 - "mips64el" = "mips64le"; 34 - "mipsel" = "mipsle"; 35 - "powerpc64" = "ppc64"; 36 - "powerpc64le" = "ppc64le"; 37 - "riscv64" = "riscv64"; 38 - "s390x" = "s390x"; 39 - "x86_64" = "amd64"; 40 - "wasm32" = "wasm"; 41 - } 42 - .${platform.parsed.cpu.name} or (throw "Unsupported system: ${platform.parsed.cpu.name}"); 43 - 44 22 # We need a target compiler which is still runnable at build time, 45 23 # to handle the cross-building case where build != host == target 46 24 targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; ··· 88 66 ./go_no_vendor_checks-1.23.patch 89 67 ]; 90 68 91 - GOOS = if stdenv.targetPlatform.isWasi then "wasip1" else stdenv.targetPlatform.parsed.kernel.name; 92 - GOARCH = goarch stdenv.targetPlatform; 69 + inherit (stdenv.targetPlatform.go) GOOS GOARCH GOARM; 93 70 # GOHOSTOS/GOHOSTARCH must match the building system, not the host system. 94 71 # Go will nevertheless build a for host system that we will copy over in 95 72 # the install phase. 96 - GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name; 97 - GOHOSTARCH = goarch stdenv.buildPlatform; 73 + GOHOSTOS = stdenv.buildPlatform.go.GOOS; 74 + GOHOSTARCH = stdenv.buildPlatform.go.GOARCH; 98 75 99 76 # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 100 77 # to be different from CC/CXX 101 78 CC_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}cc" else null; 102 79 CXX_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}c++" else null; 103 80 104 - GOARM = toString ( 105 - lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ] 106 - ); 107 81 GO386 = "softfloat"; # from Arch: don't assume sse2 on i686 108 82 # Wasi does not support CGO 109 83 CGO_ENABLED = if stdenv.targetPlatform.isWasi then 0 else 1;
+3 -29
pkgs/development/compilers/go/1.24.nix
··· 19 19 20 20 skopeoTest = skopeo.override { buildGoModule = buildGo124Module; }; 21 21 22 - goarch = 23 - platform: 24 - { 25 - "aarch64" = "arm64"; 26 - "arm" = "arm"; 27 - "armv5tel" = "arm"; 28 - "armv6l" = "arm"; 29 - "armv7l" = "arm"; 30 - "i686" = "386"; 31 - "loongarch64" = "loong64"; 32 - "mips" = "mips"; 33 - "mips64el" = "mips64le"; 34 - "mipsel" = "mipsle"; 35 - "powerpc64" = "ppc64"; 36 - "powerpc64le" = "ppc64le"; 37 - "riscv64" = "riscv64"; 38 - "s390x" = "s390x"; 39 - "x86_64" = "amd64"; 40 - "wasm32" = "wasm"; 41 - } 42 - .${platform.parsed.cpu.name} or (throw "Unsupported system: ${platform.parsed.cpu.name}"); 43 - 44 22 # We need a target compiler which is still runnable at build time, 45 23 # to handle the cross-building case where build != host == target 46 24 targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; ··· 88 66 ./go_no_vendor_checks-1.23.patch 89 67 ]; 90 68 91 - GOOS = if stdenv.targetPlatform.isWasi then "wasip1" else stdenv.targetPlatform.parsed.kernel.name; 92 - GOARCH = goarch stdenv.targetPlatform; 69 + inherit (stdenv.targetPlatform.go) GOOS GOARCH GOARM; 93 70 # GOHOSTOS/GOHOSTARCH must match the building system, not the host system. 94 71 # Go will nevertheless build a for host system that we will copy over in 95 72 # the install phase. 96 - GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name; 97 - GOHOSTARCH = goarch stdenv.buildPlatform; 73 + GOHOSTOS = stdenv.buildPlatform.go.GOOS; 74 + GOHOSTARCH = stdenv.buildPlatform.go.GOARCH; 98 75 99 76 # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 100 77 # to be different from CC/CXX 101 78 CC_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}cc" else null; 102 79 CXX_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}c++" else null; 103 80 104 - GOARM = toString ( 105 - lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ] 106 - ); 107 81 GO386 = "softfloat"; # from Arch: don't assume sse2 on i686 108 82 # Wasi does not support CGO 109 83 CGO_ENABLED = if stdenv.targetPlatform.isWasi then 0 else 1;
+1 -19
pkgs/development/compilers/go/binary.nix
··· 6 6 hashes, 7 7 }: 8 8 let 9 - toGoKernel = platform: if platform.isDarwin then "darwin" else platform.parsed.kernel.name; 10 - 11 - toGoCPU = 12 - platform: 13 - { 14 - "i686" = "386"; 15 - "x86_64" = "amd64"; 16 - "aarch64" = "arm64"; 17 - "armv6l" = "armv6l"; 18 - "armv7l" = "armv6l"; 19 - "powerpc64le" = "ppc64le"; 20 - "riscv64" = "riscv64"; 21 - "loongarch64" = "loong64"; 22 - } 23 - .${platform.parsed.cpu.name} or (throw "Unsupported CPU ${platform.parsed.cpu.name}"); 24 - 25 - toGoPlatform = platform: "${toGoKernel platform}-${toGoCPU platform}"; 26 - 27 - platform = toGoPlatform stdenv.hostPlatform; 9 + platform = with stdenv.hostPlatform.go; "${GOOS}-${if GOARCH == "arm" then "armv6l" else GOARCH}"; 28 10 in 29 11 stdenv.mkDerivation { 30 12 name = "go-${version}-${platform}-bootstrap";
+14 -9
pkgs/development/python-modules/deepdiff/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + stdenv, 5 6 6 7 # build-system 7 8 setuptools, ··· 19 20 numpy, 20 21 pytestCheckHook, 21 22 python-dateutil, 22 - toml, 23 23 tomli-w, 24 24 polars, 25 25 pandas, ··· 65 65 pandas 66 66 ] ++ lib.flatten (lib.attrValues optional-dependencies); 67 67 68 - disabledTests = [ 69 - # not compatible with pydantic 2.x 70 - "test_pydantic1" 71 - "test_pydantic2" 72 - # Require pytest-benchmark 73 - "test_cache_deeply_nested_a1" 74 - "test_lfu" 75 - ]; 68 + disabledTests = 69 + [ 70 + # not compatible with pydantic 2.x 71 + "test_pydantic1" 72 + "test_pydantic2" 73 + # Require pytest-benchmark 74 + "test_cache_deeply_nested_a1" 75 + "test_lfu" 76 + ] 77 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 78 + # Times out on darwin in Hydra 79 + "test_repeated_timer" 80 + ]; 76 81 77 82 pythonImportsCheck = [ "deepdiff" ]; 78 83
+3 -3
pkgs/development/python-modules/pygccxml/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pygccxml"; 13 - version = "2.6.1"; 13 + version = "3.0.2"; 14 14 pyproject = true; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "gccxml"; 20 20 repo = "pygccxml"; 21 21 tag = "v${version}"; 22 - hash = "sha256-SVlzgIlaKVbnestxTJX2yjVaspZ6fq5bBokRy8jzD3Q="; 22 + hash = "sha256-pIo25/tKiXpyiWUkpILPDPTNWIUEGK4uRSTpvoGwS1Q="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ setuptools ]; ··· 36 36 meta = with lib; { 37 37 description = "Python package for easy C++ declarations navigation"; 38 38 homepage = "https://github.com/gccxml/pygccxml"; 39 - changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md"; 39 + changelog = "https://github.com/CastXML/pygccxml/blob/${src.tag}/CHANGELOG.md"; 40 40 license = licenses.boost; 41 41 maintainers = with maintainers; [ teto ]; 42 42 };
+20
pkgs/development/python-modules/sdbus-networkmanager/default.nix
··· 1 + { 2 + buildPythonPackage, 3 + fetchPypi, 4 + sdbus, 5 + }: 6 + 7 + let 8 + pname = "sdbus-networkmanager"; 9 + version = "2.0.0"; 10 + in 11 + buildPythonPackage { 12 + inherit pname version; 13 + 14 + propagatedBuildInputs = [ sdbus ]; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + hash = "sha256-NXKsOoGJxoPsBBassUh2F3Oo8Iga09eLbW9oZO/5xQs="; 19 + }; 20 + }
+22
pkgs/development/python-modules/sdbus/default.nix
··· 1 + { 2 + pkgs, 3 + buildPythonPackage, 4 + fetchPypi, 5 + pkg-config, 6 + }: 7 + 8 + let 9 + pname = "sdbus"; 10 + version = "0.14.0"; 11 + in 12 + buildPythonPackage { 13 + inherit pname version; 14 + 15 + nativeBuildInputs = [ pkg-config ]; 16 + buildInputs = [ pkgs.systemd ]; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + hash = "sha256-QdYbdswFqepB0Q1woR6fmobtlfQPcTYwxeGDQODkx28="; 21 + }; 22 + }
+4
pkgs/top-level/python-packages.nix
··· 15528 15528 15529 15529 scspell = callPackage ../development/python-modules/scspell { }; 15530 15530 15531 + sdbus = callPackage ../development/python-modules/sdbus { }; 15532 + 15533 + sdbus-networkmanager = callPackage ../development/python-modules/sdbus-networkmanager { }; 15534 + 15531 15535 sdds = callPackage ../development/python-modules/sdds { }; 15532 15536 15533 15537 sdjson = callPackage ../development/python-modules/sdjson { };