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