Merge pull request #310889 from lucasew/20240511-update-flet

flet-client-flutter: update to 0.22.1, fix update script to be fully automatic

authored by Aleksana and committed by GitHub 9367a2b5 4d12f6cd

+41 -15
+20 -4
pkgs/by-name/fl/flet-client-flutter/package.nix
··· 7 7 , makeWrapper 8 8 , mimalloc 9 9 , orc 10 - , nix-update-script 10 + , yq 11 + , runCommand 12 + , gitUpdater 11 13 , mpv-unwrapped 12 14 , libplacebo 15 + , _experimental-update-script-combinators 16 + , flet-client-flutter 13 17 }: 14 18 15 19 flutter.buildFlutterApplication rec { 16 20 pname = "flet-client-flutter"; 17 - version = "0.22.0"; 21 + version = "0.22.1"; 18 22 19 23 src = fetchFromGitHub { 20 24 owner = "flet-dev"; 21 25 repo = "flet"; 22 26 rev = "v${version}"; 23 - hash = "sha256-uN6PxgltbGlSocF561W6Dpo9cPOsvGAsRwZ8nER+5x4="; 27 + hash = "sha256-mjqPIm4LspW1LB4H08FVwEN0JOwTPTLaUxOjZ3n6u8A="; 24 28 }; 25 29 26 30 sourceRoot = "${src.name}/client"; ··· 51 55 ++ libplacebo.buildInputs 52 56 ; 53 57 54 - passthru.updateScript = nix-update-script { }; 58 + passthru = { 59 + pubspecSource = runCommand "pubspec.lock.json" { 60 + buildInputs = [ yq ]; 61 + inherit (flet-client-flutter) src; 62 + } '' 63 + cat $src/client/pubspec.lock | yq > $out 64 + ''; 65 + 66 + updateScript = _experimental-update-script-combinators.sequence [ 67 + (gitUpdater { rev-prefix = "v"; }) 68 + (_experimental-update-script-combinators.copyAttrOutputToFile "flet-client-flutter.pubspecSource" ./pubspec.lock.json) 69 + ]; 70 + }; 55 71 56 72 meta = { 57 73 description = "A framework that enables you to easily build realtime web, mobile, and desktop apps in Python. The frontend part";
+21 -11
pkgs/by-name/fl/flet-client-flutter/pubspec.lock.json
··· 170 170 "source": "hosted", 171 171 "version": "3.1.1" 172 172 }, 173 + "cross_file": { 174 + "dependency": "transitive", 175 + "description": { 176 + "name": "cross_file", 177 + "sha256": "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32", 178 + "url": "https://pub.dev" 179 + }, 180 + "source": "hosted", 181 + "version": "0.3.4+1" 182 + }, 173 183 "crypto": { 174 184 "dependency": "transitive", 175 185 "description": { ··· 244 254 "dependency": "transitive", 245 255 "description": { 246 256 "name": "file_picker", 247 - "sha256": "4e42aacde3b993c5947467ab640882c56947d9d27342a5b6f2895b23956954a6", 257 + "sha256": "29c90806ac5f5fb896547720b73b17ee9aed9bba540dc5d91fe29f8c5745b10a", 248 258 "url": "https://pub.dev" 249 259 }, 250 260 "source": "hosted", 251 - "version": "6.1.1" 261 + "version": "8.0.3" 252 262 }, 253 263 "fixnum": { 254 264 "dependency": "transitive", ··· 277 287 "relative": true 278 288 }, 279 289 "source": "path", 280 - "version": "0.22.0" 290 + "version": "0.22.1" 281 291 }, 282 292 "flet_audio": { 283 293 "dependency": "direct main", ··· 286 296 "relative": true 287 297 }, 288 298 "source": "path", 289 - "version": "0.22.0" 299 + "version": "0.22.1" 290 300 }, 291 301 "flet_audio_recorder": { 292 302 "dependency": "direct main", ··· 295 305 "relative": true 296 306 }, 297 307 "source": "path", 298 - "version": "0.22.0" 308 + "version": "0.22.1" 299 309 }, 300 310 "flet_lottie": { 301 311 "dependency": "direct main", ··· 304 314 "relative": true 305 315 }, 306 316 "source": "path", 307 - "version": "0.22.0" 317 + "version": "0.22.1" 308 318 }, 309 319 "flet_rive": { 310 320 "dependency": "direct main", ··· 313 323 "relative": true 314 324 }, 315 325 "source": "path", 316 - "version": "0.22.0" 326 + "version": "0.22.1" 317 327 }, 318 328 "flet_video": { 319 329 "dependency": "direct main", ··· 322 332 "relative": true 323 333 }, 324 334 "source": "path", 325 - "version": "0.22.0" 335 + "version": "0.22.1" 326 336 }, 327 337 "flet_webview": { 328 338 "dependency": "direct main", ··· 331 341 "relative": true 332 342 }, 333 343 "source": "path", 334 - "version": "0.22.0" 344 + "version": "0.22.1" 335 345 }, 336 346 "flutter": { 337 347 "dependency": "direct main", ··· 1445 1455 "dependency": "transitive", 1446 1456 "description": { 1447 1457 "name": "web", 1448 - "sha256": "1d9158c616048c38f712a6646e317a3426da10e884447626167240d45209cbad", 1458 + "sha256": "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27", 1449 1459 "url": "https://pub.dev" 1450 1460 }, 1451 1461 "source": "hosted", 1452 - "version": "0.5.0" 1462 + "version": "0.5.1" 1453 1463 }, 1454 1464 "web_socket_channel": { 1455 1465 "dependency": "transitive",