Last active
December 2, 2025 17:18
-
-
Save emmanuelrosa/ac93bd7bd84ef604c7d6e57e9b7b3290 to your computer and use it in GitHub Desktop.
WIP Dart Frog CLI Nix package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is my attempt to package the Dart Frog CLI using Nix. | |
| # See https://github.com/dart-frog-dev/dart_frog/tree/main/packages/dart_frog_cli | |
| # I'm getting the following error: | |
| # | |
| # error: Cannot build '/nix/store/g04i0a85ifs3c9w69z7l3f9g3cxiys8w-dart-frog-cli-1.2. | |
| # 11-package-config-with-root.json.drv'. | |
| # Reason: builder failed with exit code 2. | |
| # Output paths: | |
| # /nix/store/21kfxd9jy2nbnysf62kqh9zsd3z5f8q8-dart-frog-cli-1.2.11-package-c | |
| # onfig-with-root.json | |
| # Last 14 log lines: | |
| # > Running phase: unpackPhase | |
| # > unpacking source archive /nix/store/nm2j50nvvczd4l80sqz5fnn4vs4vs0v0-sourc | |
| # e | |
| # > source root is source | |
| # > Running phase: patchPhase | |
| # > Running phase: updateAutotoolsGnuConfigScriptsPhase | |
| # > Running phase: configurePhase | |
| # > no configure script, doing nothing | |
| # > Running phase: installPhase | |
| # > usage: yq [-h] [--yaml-output] [--yaml-roundtrip] | |
| # > [--yaml-output-grammar-version {1.1,1.2}] [--width WIDTH] | |
| # > [--indentless-lists] [--explicit-start] [--explicit-end] | |
| # > [--in-place] [--version] | |
| # > [jq_filter] [files ...] | |
| # > yq: error: argument files: can't open 'pubspec.yaml': [Errno 2] No such fi | |
| # le or directory: 'pubspec.yaml' | |
| # For full logs, run: | |
| # nix log /nix/store/g04i0a85ifs3c9w69z7l3f9g3cxiys8w-dart-frog-cli-1.2.11-p | |
| # ackage-config-with-root.json.drv | |
| # error: Cannot build '/nix/store/qqmc7jf5m0j95wwszn0qb7rjgr92gbbn-dart-frog-cli-1.2. | |
| # 11.drv'. | |
| # Reason: 1 dependency failed. | |
| # Output paths: | |
| # /nix/store/0a3swm3mbjg98dcn8fqxgxajk6kkiqfp-dart-frog-cli-1.2.11-pubcache | |
| # /nix/store/4x54mdsf3sqszj8zmr0qqcf6p2690ddi-dart-frog-cli-1.2.11 | |
| # I converted the pubspec.yaml into JSON, and embedded the JSON into this nix file. Scroll down to line 843 to skip to the actual derivation. | |
| { pkgs ? import (builtins.fetchTarball { | |
| name = "nixpkgs-master-20251127"; | |
| url = "https://github.com/NixOS/nixpkgs/archive/6e86c955fc372d12face4a9c0d932a6e0f7bff4d.tar.gz"; | |
| sha256 = "sha256:0841anm4mhc9fnhf6spxl8d14n6nfcdpj76gdwdnjplzqv3yw0x1"; | |
| }) {} | |
| }: let | |
| pubspecLockJSON = '' | |
| { | |
| "packages": { | |
| "_fe_analyzer_shared": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "_fe_analyzer_shared", | |
| "sha256": "5b7468c326d2f8a4f630056404ca0d291ade42918f4a3c6233618e724f39da8e", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "92.0.0" | |
| }, | |
| "analyzer": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "analyzer", | |
| "sha256": "70e4b1ef8003c64793a9e268a551a82869a8a96f39deb73dea28084b0e8bf75e", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "9.0.0" | |
| }, | |
| "archive": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "archive", | |
| "sha256": "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.0.7" | |
| }, | |
| "args": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "args", | |
| "sha256": "d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.7.0" | |
| }, | |
| "async": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "async", | |
| "sha256": "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.13.0" | |
| }, | |
| "boolean_selector": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "boolean_selector", | |
| "sha256": "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.2" | |
| }, | |
| "build": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "build", | |
| "sha256": "c1668065e9ba04752570ad7e038288559d1e2ca5c6d0131c0f5f55e39e777413", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.0.3" | |
| }, | |
| "build_config": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "build_config", | |
| "sha256": "4f64382b97504dc2fcdf487d5aae33418e08b4703fc21249e4db6d804a4d0187", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.2.0" | |
| }, | |
| "build_daemon": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "build_daemon", | |
| "sha256": "bf05f6e12cfea92d3c09308d7bcdab1906cd8a179b023269eed00c071004b957", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.1.1" | |
| }, | |
| "build_runner": { | |
| "dependency": "direct dev", | |
| "description": { | |
| "name": "build_runner", | |
| "sha256": "110c56ef29b5eb367b4d17fc79375fa8c18a6cd7acd92c05bb3986c17a079057", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.10.4" | |
| }, | |
| "build_verify": { | |
| "dependency": "direct dev", | |
| "description": { | |
| "name": "build_verify", | |
| "sha256": "3b17b59b6d66f9d3e6014996f089902d56cec5760e051c353cc387b9da577652", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.1.1" | |
| }, | |
| "build_version": { | |
| "dependency": "direct dev", | |
| "description": { | |
| "name": "build_version", | |
| "sha256": "1063066ec338c18f0629d01077c9315f92fae3e7e0e06d0dc10e8aa3145d44f5", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.3" | |
| }, | |
| "built_collection": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "built_collection", | |
| "sha256": "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "5.1.1" | |
| }, | |
| "built_value": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "built_value", | |
| "sha256": "426cf75afdb23aa74bd4e471704de3f9393f3c7b04c1e2d9c6f1073ae0b8b139", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "8.12.1" | |
| }, | |
| "checked_yaml": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "checked_yaml", | |
| "sha256": "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.0.4" | |
| }, | |
| "cli_completion": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "cli_completion", | |
| "sha256": "72e8ccc4545f24efa7bbdf3bff7257dc9d62b072dee77513cc54295575bc9220", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.5.1" | |
| }, | |
| "cli_config": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "cli_config", | |
| "sha256": "ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.2.0" | |
| }, | |
| "code_builder": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "code_builder", | |
| "sha256": "11654819532ba94c34de52ff5feb52bd81cba1de00ef2ed622fd50295f9d4243", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.11.0" | |
| }, | |
| "collection": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "collection", | |
| "sha256": "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.19.1" | |
| }, | |
| "convert": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "convert", | |
| "sha256": "b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.1.2" | |
| }, | |
| "coverage": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "coverage", | |
| "sha256": "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.15.0" | |
| }, | |
| "crypto": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "crypto", | |
| "sha256": "c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.0.7" | |
| }, | |
| "dart_frog_gen": { | |
| "dependency": "direct main", | |
| "description": { | |
| "path": "../dart_frog_gen", | |
| "relative": true | |
| }, | |
| "source": "path", | |
| "version": "2.0.2" | |
| }, | |
| "dart_style": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "dart_style", | |
| "sha256": "a9c30492da18ff84efe2422ba2d319a89942d93e58eb0b73d32abe822ef54b7b", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.1.3" | |
| }, | |
| "equatable": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "equatable", | |
| "sha256": "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.0.7" | |
| }, | |
| "ffi": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "ffi", | |
| "sha256": "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.4" | |
| }, | |
| "file": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "file", | |
| "sha256": "a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "7.0.1" | |
| }, | |
| "fixnum": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "fixnum", | |
| "sha256": "b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.1.1" | |
| }, | |
| "frontend_server_client": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "frontend_server_client", | |
| "sha256": "f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.0.0" | |
| }, | |
| "glob": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "glob", | |
| "sha256": "c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.3" | |
| }, | |
| "graphs": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "graphs", | |
| "sha256": "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.3.2" | |
| }, | |
| "http": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "http", | |
| "sha256": "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.6.0" | |
| }, | |
| "http_multi_server": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "http_multi_server", | |
| "sha256": "aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.2.2" | |
| }, | |
| "http_parser": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "http_parser", | |
| "sha256": "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.1.2" | |
| }, | |
| "io": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "io", | |
| "sha256": "dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.0.5" | |
| }, | |
| "json_annotation": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "json_annotation", | |
| "sha256": "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.9.0" | |
| }, | |
| "logging": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "logging", | |
| "sha256": "c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.3.0" | |
| }, | |
| "mason": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "mason", | |
| "sha256": "515b28eedc3e106bbbfb95f0ff63471003396978d3413daeba0a64bcac01367b", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.1.2" | |
| }, | |
| "mason_logger": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "mason_logger", | |
| "sha256": "6d5a989ff41157915cb5162ed6e41196d5e31b070d2f86e1c2edf216996a158c", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.3.3" | |
| }, | |
| "matcher": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "matcher", | |
| "sha256": "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.12.18" | |
| }, | |
| "meta": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "meta", | |
| "sha256": "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.17.0" | |
| }, | |
| "mime": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "mime", | |
| "sha256": "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.0.0" | |
| }, | |
| "mocktail": { | |
| "dependency": "direct dev", | |
| "description": { | |
| "name": "mocktail", | |
| "sha256": "890df3f9688106f25755f26b1c60589a92b3ab91a22b8b224947ad041bf172d8", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.0.4" | |
| }, | |
| "mustache_template": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "mustache_template", | |
| "sha256": "daa42be75f2ccfb287c24a75e7ac594f2ea0b32bf9ebe7c15154aa45b2dfb2de", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.0.2" | |
| }, | |
| "node_preamble": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "node_preamble", | |
| "sha256": "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.0.2" | |
| }, | |
| "package_config": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "package_config", | |
| "sha256": "f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.2.0" | |
| }, | |
| "path": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "path", | |
| "sha256": "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.9.1" | |
| }, | |
| "platform": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "platform", | |
| "sha256": "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.1.6" | |
| }, | |
| "pool": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "pool", | |
| "sha256": "978783255c543aa3586a1b3c21f6e9d720eb315376a915872c61ef8b5c20177d", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.5.2" | |
| }, | |
| "posix": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "posix", | |
| "sha256": "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "6.0.3" | |
| }, | |
| "process": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "process", | |
| "sha256": "c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "5.0.5" | |
| }, | |
| "pub_semver": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "pub_semver", | |
| "sha256": "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.2.0" | |
| }, | |
| "pub_updater": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "pub_updater", | |
| "sha256": "739a0161d73a6974c0675b864fb0cf5147305f7b077b7f03a58fa7a9ab3e7e7d", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.5.0" | |
| }, | |
| "pubspec_parse": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "pubspec_parse", | |
| "sha256": "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.5.0" | |
| }, | |
| "shelf": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "shelf", | |
| "sha256": "e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.4.2" | |
| }, | |
| "shelf_packages_handler": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "shelf_packages_handler", | |
| "sha256": "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.0.2" | |
| }, | |
| "shelf_static": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "shelf_static", | |
| "sha256": "c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.1.3" | |
| }, | |
| "shelf_web_socket": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "shelf_web_socket", | |
| "sha256": "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.0.0" | |
| }, | |
| "source_map_stack_trace": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "source_map_stack_trace", | |
| "sha256": "c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.2" | |
| }, | |
| "source_maps": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "source_maps", | |
| "sha256": "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.10.13" | |
| }, | |
| "source_span": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "source_span", | |
| "sha256": "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.10.1" | |
| }, | |
| "stack_trace": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "stack_trace", | |
| "sha256": "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.12.1" | |
| }, | |
| "stream_channel": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "stream_channel", | |
| "sha256": "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.4" | |
| }, | |
| "stream_transform": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "stream_transform", | |
| "sha256": "ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "2.1.1" | |
| }, | |
| "string_scanner": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "string_scanner", | |
| "sha256": "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.4.1" | |
| }, | |
| "term_glyph": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "term_glyph", | |
| "sha256": "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.2.2" | |
| }, | |
| "test": { | |
| "dependency": "direct dev", | |
| "description": { | |
| "name": "test", | |
| "sha256": "77cc98ea27006c84e71a7356cf3daf9ddbde2d91d84f77dbfe64cf0e4d9611ae", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.28.0" | |
| }, | |
| "test_api": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "test_api", | |
| "sha256": "19a78f63e83d3a61f00826d09bc2f60e191bf3504183c001262be6ac75589fb8", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.7.8" | |
| }, | |
| "test_core": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "test_core", | |
| "sha256": "f1072617a6657e5fc09662e721307f7fb009b4ed89b19f47175d11d5254a62d4", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "0.6.14" | |
| }, | |
| "typed_data": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "typed_data", | |
| "sha256": "f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.4.0" | |
| }, | |
| "uuid": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "uuid", | |
| "sha256": "a11b666489b1954e01d992f3d601b1804a33937b5a8fe677bd26b8a9f96f96e8", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "4.5.2" | |
| }, | |
| "vm_service": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "vm_service", | |
| "sha256": "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "15.0.2" | |
| }, | |
| "watcher": { | |
| "dependency": "direct main", | |
| "description": { | |
| "name": "watcher", | |
| "sha256": "592ab6e2892f67760543fb712ff0177f4ec76c031f02f5b4ff8d3fc5eb9fb61a", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.1.4" | |
| }, | |
| "web": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "web", | |
| "sha256": "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.1.1" | |
| }, | |
| "web_socket": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "web_socket", | |
| "sha256": "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.0.1" | |
| }, | |
| "web_socket_channel": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "web_socket_channel", | |
| "sha256": "d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.0.3" | |
| }, | |
| "webkit_inspection_protocol": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "webkit_inspection_protocol", | |
| "sha256": "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "1.2.1" | |
| }, | |
| "win32": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "win32", | |
| "sha256": "d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "5.15.0" | |
| }, | |
| "yaml": { | |
| "dependency": "transitive", | |
| "description": { | |
| "name": "yaml", | |
| "sha256": "b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce", | |
| "url": "https://pub.dev" | |
| }, | |
| "source": "hosted", | |
| "version": "3.1.3" | |
| } | |
| }, | |
| "sdks": { | |
| "dart": ">=3.9.0 <4.0.0" | |
| } | |
| } | |
| ''; | |
| in pkgs.buildDartApplication rec { | |
| pname = "dart-frog-cli"; | |
| version = "1.2.11"; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "dart-frog-dev"; | |
| repo = "dart_frog"; | |
| rev = "dart_frog_cli-v${version}"; | |
| hash = "sha256-zQBjk7q874KP9nPS+E6M3tGlyjot/6Nwiol1h5TViU8="; | |
| }; | |
| pubspecLock = builtins.fromJSON pubspecLockJSON; | |
| packageRoot = "packages/dart_frog_cli"; | |
| meta = { | |
| description = "The official command line interface for Dart Frog, a fast, minimalist backend framework for Dart"; | |
| homepage = "http://dart-frog.dev"; | |
| mainProgram = "dart_frog"; | |
| maintainers = with pkgs.lib.maintainers; [ emmanuelrosa ]; | |
| license = pkgs.lib.licenses.mit; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment