buildDartApplication: Remove depsListFile

We get a dependency list with pub2nix now. We can no longer easily distinguish between development dependency dependencies and regular dependency dependencies, but we weren't doing this anyway.
This commit is contained in:
hacker1024 2023-10-29 01:23:47 +11:00 committed by FlafyDev
parent 2bd3e5d779
commit 23952fb641
28 changed files with 3654 additions and 14352 deletions

View file

@ -13,8 +13,6 @@ This can be converted to JSON from YAML with something like `yq . pubspec.lock`,
If the package has Git package dependencies, the hashes must be provided in the `gitHashes` set. If a hash is missing, an error message prompting you to add it will be shown.
The `depsListFile` must always be provided when packaging in Nixpkgs. It will be generated and printed if the derivation is attempted to be built without one. Alternatively, `autoDepsList` may be set to `true` only when outside of Nixpkgs, as it relies on import-from-derivation.
The `dart` commands run can be overridden through `pubGetScript` and `dartCompileCommand`, you can also add flags using `dartCompileFlags` or `dartJitFlags`.
Dart supports multiple [outputs types](https://dart.dev/tools/dart-compile#types-of-output), you can choose between them using `dartOutputType` (defaults to `exe`). If you want to override the binaries path or the source path they come from, you can use `dartEntryPoints`. Outputs that require a runtime will automatically be wrapped with the relevant runtime (`dartaotruntime` for `aot-snapshot`, `dart run` for `jit-snapshot` and `kernel`, `node` for `js`), this can be overridden through `dartRuntimeCommand`.
@ -34,7 +32,6 @@ buildDartApplication rec {
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
}
```
@ -95,7 +92,6 @@ flutter.buildFlutterApplication {
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
}
### Usage with nix-shell {#ssec-dart-flutter-nix-shell}

View file

@ -26,7 +26,6 @@ flutter.buildFlutterApplication rec {
passthru.helper = python3.pkgs.callPackage ./helper.nix { inherit src version meta; };
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
postPatch = ''
rm -f pubspec.lock

File diff suppressed because it is too large Load diff

View file

@ -24,7 +24,6 @@ flutter.buildFlutterApplication rec {
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
gitHashes = {
keyboard_shortcuts = "sha256-U74kRujftHPvpMOIqVT0Ph+wi1ocnxNxIFA1krft4Os=";

File diff suppressed because it is too large Load diff

View file

@ -24,8 +24,13 @@ let
};
sourceRoot = "source/app";
depsListFile = ./deps.json;
vendorHash = "sha256-fXzxT7KBi/WT2A5PEIx+B+UG4HWEbMPMsashVQsXdmU=";
pubspecLock = lib.importJSON ./pubspec.lock.json;
gitHashes = {
"permission_handler_windows" = "sha256-a7bN7/A65xsvnQGXUvZCfKGtslbNWEwTWR8fAIjMwS0=";
"tray_manager" = "sha256-eF14JGf5jclsKdXfCE7Rcvp72iuWd9wuSZ8Bej17tjg=";
};
nativeBuildInputs = [ pkg-config ];

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -44,8 +44,6 @@
, runtimeDependencies ? [ ]
, extraWrapProgramArgs ? ""
, autoDepsList ? false
, depsListFile ? null
, pubspecLock
, ...
}@args:
@ -53,15 +51,6 @@
let
generators = callPackage ./generators.nix { inherit dart; } { buildDrvArgs = args; };
generatedDepsList = generators.mkDepsList { inherit pubspecLockFile pubspecLockData packageConfig; };
depsList =
if autoDepsList
then lib.importJSON generatedDepsList
else if depsListFile == null
then null
else lib.importJSON depsListFile;
pubspecLockFile = builtins.toJSON pubspecLock;
pubspecLockData = pub2nix.readPubspecLock { inherit src packageRoot pubspecLock gitHashes sdkSourceBuilders; };
packageConfig = generators.linkPackageConfig {
@ -117,17 +106,6 @@ let
ln -sf "$pubspecLockFilePath" pubspec.lock
'';
preBuild = args.preBuild or "" + lib.optionalString (!autoDepsList) ''
if ! { [ '${lib.boolToString (depsListFile != null)}' = 'true' ] ${lib.optionalString (depsListFile != null) "&& cmp -s <(jq -Sc . '${depsListFile}') <(jq -Sc . deps.json)"}; }; then
echo 1>&2 -e '\nThe dependency list file was either not given or differs from the expected result.' \
'\nPlease choose one of the following solutions:' \
'\n - Duplicate the following file and pass it to the depsListFile argument.' \
'\n ${generatedDepsList}' \
'\n - Set autoDepsList to true (not supported by Hydra or permitted in Nixpkgs)'.
exit 1
fi
'';
# When stripping, it seems some ELF information is lost and the dart VM cli
# runs instead of the expected program. Don't strip if it's an exe output.
dontStrip = args.dontStrip or (dartOutputType == "exe");
@ -136,7 +114,6 @@ let
passthru = {
pubspecLock = pubspecLockData;
depsList = generatedDepsList;
generatePubspecLock = generators.generatePubspecLock { inherit pubGetScript; };
} // (args.passthru or { });

View file

@ -67,33 +67,8 @@ let
runHook postInstall
'';
});
mkDepsDrv = { pubspecLockFile, pubspecLockData, packageConfig }: args: stdenvNoCC.mkDerivation (drvArgs // args // {
inherit pubspecLockFile packageConfig;
nativeBuildInputs = drvArgs.nativeBuildInputs or [ ] ++ args.nativeBuildInputs or [ ] ++ [ dart dartHooks.dartConfigHook ];
preConfigure = drvArgs.preConfigure or "" + args.preConfigure or "" + ''
ln -sf "$pubspecLockFilePath" pubspec.lock
'';
passAsFile = drvArgs.passAsFile or [ ] ++ args.passAsFile or [ ] ++ [ "pubspecLockFile" ];
} // (removeAttrs buildDrvInheritArgs [ "name" "pname" ]));
mkDepsList = args: mkDepsDrv args {
name = "${name}-dart-deps-list.json";
dontBuild = true;
installPhase = ''
runHook preInstall
cp deps.json "$out"
runHook postInstall
'';
};
in
{
inherit
linkPackageConfig
mkDepsList;
linkPackageConfig;
}

View file

@ -64,9 +64,6 @@ dartConfigHook() {
packageRunCustom "$name" "$fileName" -- "$@"
}
echo "Generating the dependency list"
dart pub deps --json | @jq@ .packages > deps.json
echo "Finished dartConfigHook"
}

File diff suppressed because it is too large Load diff

View file

@ -22,8 +22,7 @@ flutter.buildFlutterApplication rec {
./corrosion.patch
];
depsListFile = ./deps.json;
vendorHash = "sha256-06I9ugwUmMT16A6l5Is5v35Fu7pyE8+1mnDDPKxCYxM=";
pubspecLock = lib.importJSON ./pubspec.lock.json;
cargoDeps = rustPlatform.fetchCargoTarball {
name = "${pname}-${version}-cargo-deps";

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,6 @@ flutter.buildFlutterApplication rec {
];
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
gitHashes = {
libtokyo = "sha256-T0+vyfSfijLv7MvM+zt3bkVpb3aVrlDnse2xyNMp9GU=";

File diff suppressed because it is too large Load diff

View file

@ -13,11 +13,10 @@ let
, dartHash
, patches
, pubspecLock
, depsListFile
}:
let
args = {
inherit version engineVersion patches pubspecLock depsListFile;
inherit version engineVersion patches pubspecLock;
dart = dart.override {
version = dartVersion;
@ -77,6 +76,5 @@ in
flutterHash = "sha256-00G030FvZZTsdf9ruFs9jdIHcC5h+xpp4NlmL64qVZA=";
patches = flutter3Patches;
pubspecLock = lib.importJSON ./lockfiles/stable/pubspec.lock.json;
depsListFile = ./lockfiles/stable/deps.json;
};
}

View file

@ -7,7 +7,6 @@
, flutterSrc
, patches ? [ ]
, pubspecLock
, depsListFile
}:
buildDartApplication.override { inherit dart; } rec {
@ -46,5 +45,5 @@ buildDartApplication.override { inherit dart; } rec {
popd
'';
inherit pubspecLock depsListFile;
inherit pubspecLock;
}

View file

@ -4,7 +4,6 @@
, dart
, src
, pubspecLock
, depsListFile
, lib
, stdenv
, callPackage
@ -19,7 +18,7 @@ let
inherit dart version;
flutterSrc = src;
inherit patches;
inherit pubspecLock depsListFile;
inherit pubspecLock;
};
unwrapped =

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,6 @@ buildDartApplication rec {
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
nativeBuildInputs = [
buf
@ -63,17 +62,18 @@ buildDartApplication rec {
expected = writeText "expected" ''
body h1{color:#123}
'';
actual = runCommand "actual" {
nativeBuildInputs = [ dart-sass ];
base = writeText "base" ''
body {
$color: #123;
h1 {
color: $color;
actual = runCommand "actual"
{
nativeBuildInputs = [ dart-sass ];
base = writeText "base" ''
body {
$color: #123;
h1 {
color: $color;
}
}
}
'';
} ''
'';
} ''
dart-sass --style=compressed $base > $out
'';
};

View file

@ -1,930 +0,0 @@
[
{
"name": "sass",
"version": "1.69.0",
"kind": "root",
"source": "root",
"dependencies": [
"args",
"async",
"charcode",
"cli_pkg",
"cli_repl",
"collection",
"http",
"js",
"meta",
"native_synchronization",
"node_interop",
"package_config",
"path",
"pool",
"protobuf",
"pub_semver",
"source_maps",
"source_span",
"stack_trace",
"stream_channel",
"stream_transform",
"string_scanner",
"term_glyph",
"typed_data",
"watcher",
"analyzer",
"archive",
"crypto",
"dart_style",
"dartdoc",
"grinder",
"node_preamble",
"lints",
"protoc_plugin",
"pub_api_client",
"pubspec_parse",
"test",
"test_descriptor",
"test_process",
"yaml",
"cli_util"
]
},
{
"name": "cli_util",
"version": "0.4.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"meta",
"path"
]
},
{
"name": "path",
"version": "1.8.3",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "meta",
"version": "1.10.0",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "yaml",
"version": "3.1.2",
"kind": "dev",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner"
]
},
{
"name": "string_scanner",
"version": "1.2.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "source_span",
"version": "1.10.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"path",
"term_glyph"
]
},
{
"name": "term_glyph",
"version": "1.2.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "collection",
"version": "1.18.0",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "test_process",
"version": "2.1.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"async",
"meta",
"path",
"test"
]
},
{
"name": "test",
"version": "1.24.6",
"kind": "dev",
"source": "hosted",
"dependencies": [
"analyzer",
"async",
"boolean_selector",
"collection",
"coverage",
"http_multi_server",
"io",
"js",
"matcher",
"node_preamble",
"package_config",
"path",
"pool",
"shelf",
"shelf_packages_handler",
"shelf_static",
"shelf_web_socket",
"source_span",
"stack_trace",
"stream_channel",
"test_api",
"test_core",
"typed_data",
"web_socket_channel",
"webkit_inspection_protocol",
"yaml"
]
},
{
"name": "webkit_inspection_protocol",
"version": "1.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"logging"
]
},
{
"name": "logging",
"version": "1.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "web_socket_channel",
"version": "2.4.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"crypto",
"stream_channel"
]
},
{
"name": "stream_channel",
"version": "2.1.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async"
]
},
{
"name": "async",
"version": "2.11.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "crypto",
"version": "3.0.3",
"kind": "dev",
"source": "hosted",
"dependencies": [
"typed_data"
]
},
{
"name": "typed_data",
"version": "1.3.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection"
]
},
{
"name": "test_core",
"version": "0.5.6",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"analyzer",
"args",
"async",
"boolean_selector",
"collection",
"coverage",
"frontend_server_client",
"glob",
"io",
"meta",
"package_config",
"path",
"pool",
"source_map_stack_trace",
"source_maps",
"source_span",
"stack_trace",
"stream_channel",
"test_api",
"vm_service",
"yaml"
]
},
{
"name": "vm_service",
"version": "11.10.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "test_api",
"version": "0.6.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"boolean_selector",
"collection",
"meta",
"source_span",
"stack_trace",
"stream_channel",
"string_scanner",
"term_glyph"
]
},
{
"name": "stack_trace",
"version": "1.11.1",
"kind": "direct",
"source": "hosted",
"dependencies": [
"path"
]
},
{
"name": "boolean_selector",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span",
"string_scanner"
]
},
{
"name": "source_maps",
"version": "0.10.12",
"kind": "direct",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "source_map_stack_trace",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path",
"source_maps",
"stack_trace"
]
},
{
"name": "pool",
"version": "1.5.1",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async",
"stack_trace"
]
},
{
"name": "package_config",
"version": "2.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"path"
]
},
{
"name": "io",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path",
"string_scanner"
]
},
{
"name": "glob",
"version": "2.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"collection",
"file",
"path",
"string_scanner"
]
},
{
"name": "file",
"version": "7.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path"
]
},
{
"name": "frontend_server_client",
"version": "3.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"path"
]
},
{
"name": "coverage",
"version": "1.6.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"args",
"logging",
"package_config",
"path",
"source_maps",
"stack_trace",
"vm_service"
]
},
{
"name": "args",
"version": "2.4.2",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "analyzer",
"version": "5.13.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"_fe_analyzer_shared",
"collection",
"convert",
"crypto",
"glob",
"meta",
"package_config",
"path",
"pub_semver",
"source_span",
"watcher",
"yaml"
]
},
{
"name": "watcher",
"version": "1.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async",
"path"
]
},
{
"name": "pub_semver",
"version": "2.1.4",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "convert",
"version": "3.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"typed_data"
]
},
{
"name": "_fe_analyzer_shared",
"version": "61.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "shelf_web_socket",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"shelf",
"stream_channel",
"web_socket_channel"
]
},
{
"name": "shelf",
"version": "1.4.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"collection",
"http_parser",
"path",
"stack_trace",
"stream_channel"
]
},
{
"name": "http_parser",
"version": "4.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner",
"typed_data"
]
},
{
"name": "shelf_static",
"version": "1.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"convert",
"http_parser",
"mime",
"path",
"shelf"
]
},
{
"name": "mime",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "shelf_packages_handler",
"version": "3.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path",
"shelf",
"shelf_static"
]
},
{
"name": "node_preamble",
"version": "2.0.2",
"kind": "dev",
"source": "hosted",
"dependencies": []
},
{
"name": "matcher",
"version": "0.12.16",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"meta",
"stack_trace",
"term_glyph",
"test_api"
]
},
{
"name": "js",
"version": "0.6.7",
"kind": "direct",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "http_multi_server",
"version": "3.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async"
]
},
{
"name": "test_descriptor",
"version": "2.0.1",
"kind": "dev",
"source": "hosted",
"dependencies": [
"async",
"collection",
"matcher",
"meta",
"path",
"term_glyph",
"test"
]
},
{
"name": "pubspec_parse",
"version": "1.2.3",
"kind": "dev",
"source": "hosted",
"dependencies": [
"checked_yaml",
"collection",
"json_annotation",
"pub_semver",
"yaml"
]
},
{
"name": "json_annotation",
"version": "4.8.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "checked_yaml",
"version": "2.0.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"json_annotation",
"source_span",
"yaml"
]
},
{
"name": "pub_api_client",
"version": "2.6.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"collection",
"http",
"oauth2",
"path",
"pubspec"
]
},
{
"name": "pubspec",
"version": "2.3.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path",
"pub_semver",
"yaml",
"uri"
]
},
{
"name": "uri",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher",
"quiver"
]
},
{
"name": "quiver",
"version": "3.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher"
]
},
{
"name": "oauth2",
"version": "2.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"crypto",
"http",
"http_parser"
]
},
{
"name": "http",
"version": "1.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async",
"http_parser",
"meta"
]
},
{
"name": "protoc_plugin",
"version": "21.1.1",
"kind": "dev",
"source": "hosted",
"dependencies": [
"fixnum",
"path",
"protobuf"
]
},
{
"name": "protobuf",
"version": "3.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"fixnum",
"meta"
]
},
{
"name": "fixnum",
"version": "1.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "lints",
"version": "2.1.1",
"kind": "dev",
"source": "hosted",
"dependencies": []
},
{
"name": "grinder",
"version": "0.9.4",
"kind": "dev",
"source": "hosted",
"dependencies": [
"cli_util",
"glob",
"meta",
"path",
"collection"
]
},
{
"name": "dartdoc",
"version": "6.3.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"analyzer",
"args",
"cli_util",
"collection",
"crypto",
"glob",
"html",
"logging",
"markdown",
"meta",
"package_config",
"path",
"pub_semver",
"source_span",
"yaml"
]
},
{
"name": "markdown",
"version": "7.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"args",
"meta"
]
},
{
"name": "html",
"version": "0.15.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"csslib",
"source_span"
]
},
{
"name": "csslib",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "dart_style",
"version": "2.3.2",
"kind": "dev",
"source": "hosted",
"dependencies": [
"analyzer",
"args",
"path",
"pub_semver",
"source_span"
]
},
{
"name": "archive",
"version": "3.3.9",
"kind": "dev",
"source": "hosted",
"dependencies": [
"crypto",
"path",
"pointycastle"
]
},
{
"name": "pointycastle",
"version": "3.7.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"convert",
"js"
]
},
{
"name": "stream_transform",
"version": "2.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "node_interop",
"version": "2.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"js"
]
},
{
"name": "native_synchronization",
"version": "0.2.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"ffi"
]
},
{
"name": "ffi",
"version": "2.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "cli_repl",
"version": "0.2.3",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async",
"js"
]
},
{
"name": "cli_pkg",
"version": "2.5.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"archive",
"async",
"charcode",
"cli_util",
"collection",
"crypto",
"glob",
"grinder",
"http",
"js",
"meta",
"node_interop",
"node_preamble",
"package_config",
"path",
"pool",
"pub_semver",
"pubspec_parse",
"retry",
"string_scanner",
"test",
"test_process",
"xml",
"yaml"
]
},
{
"name": "xml",
"version": "6.4.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta",
"petitparser"
]
},
{
"name": "petitparser",
"version": "6.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "retry",
"version": "3.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "charcode",
"version": "1.3.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
}
]

View file

@ -16,7 +16,6 @@ buildDartApplication rec {
sourceRoot = "${src.name}/protoc_plugin";
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
meta = with lib; {
description = "Protobuf plugin for generating Dart code";

View file

@ -1,549 +0,0 @@
[
{
"name": "protoc_plugin",
"version": "21.1.0",
"kind": "root",
"source": "root",
"dependencies": [
"fixnum",
"path",
"protobuf",
"collection",
"dart_flutter_team_lints",
"matcher",
"test"
]
},
{
"name": "test",
"version": "1.24.6",
"kind": "dev",
"source": "hosted",
"dependencies": [
"analyzer",
"async",
"boolean_selector",
"collection",
"coverage",
"http_multi_server",
"io",
"js",
"matcher",
"node_preamble",
"package_config",
"path",
"pool",
"shelf",
"shelf_packages_handler",
"shelf_static",
"shelf_web_socket",
"source_span",
"stack_trace",
"stream_channel",
"test_api",
"test_core",
"typed_data",
"web_socket_channel",
"webkit_inspection_protocol",
"yaml"
]
},
{
"name": "yaml",
"version": "3.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner"
]
},
{
"name": "string_scanner",
"version": "1.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "source_span",
"version": "1.10.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"path",
"term_glyph"
]
},
{
"name": "term_glyph",
"version": "1.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "path",
"version": "1.8.3",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "collection",
"version": "1.18.0",
"kind": "dev",
"source": "hosted",
"dependencies": []
},
{
"name": "webkit_inspection_protocol",
"version": "1.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"logging"
]
},
{
"name": "logging",
"version": "1.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "web_socket_channel",
"version": "2.4.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"crypto",
"stream_channel"
]
},
{
"name": "stream_channel",
"version": "2.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async"
]
},
{
"name": "async",
"version": "2.11.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "meta",
"version": "1.9.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "crypto",
"version": "3.0.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"typed_data"
]
},
{
"name": "typed_data",
"version": "1.3.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection"
]
},
{
"name": "test_core",
"version": "0.5.6",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"analyzer",
"args",
"async",
"boolean_selector",
"collection",
"coverage",
"frontend_server_client",
"glob",
"io",
"meta",
"package_config",
"path",
"pool",
"source_map_stack_trace",
"source_maps",
"source_span",
"stack_trace",
"stream_channel",
"test_api",
"vm_service",
"yaml"
]
},
{
"name": "vm_service",
"version": "11.10.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "test_api",
"version": "0.6.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"boolean_selector",
"collection",
"meta",
"source_span",
"stack_trace",
"stream_channel",
"string_scanner",
"term_glyph"
]
},
{
"name": "stack_trace",
"version": "1.11.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path"
]
},
{
"name": "boolean_selector",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span",
"string_scanner"
]
},
{
"name": "source_maps",
"version": "0.10.12",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "source_map_stack_trace",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path",
"source_maps",
"stack_trace"
]
},
{
"name": "pool",
"version": "1.5.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"stack_trace"
]
},
{
"name": "package_config",
"version": "2.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path"
]
},
{
"name": "io",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path",
"string_scanner"
]
},
{
"name": "glob",
"version": "2.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"collection",
"file",
"path",
"string_scanner"
]
},
{
"name": "file",
"version": "7.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path"
]
},
{
"name": "frontend_server_client",
"version": "3.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"path"
]
},
{
"name": "coverage",
"version": "1.6.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"args",
"logging",
"package_config",
"path",
"source_maps",
"stack_trace",
"vm_service"
]
},
{
"name": "args",
"version": "2.4.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "analyzer",
"version": "6.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"_fe_analyzer_shared",
"collection",
"convert",
"crypto",
"glob",
"meta",
"package_config",
"path",
"pub_semver",
"source_span",
"watcher",
"yaml"
]
},
{
"name": "watcher",
"version": "1.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"path"
]
},
{
"name": "pub_semver",
"version": "2.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "convert",
"version": "3.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"typed_data"
]
},
{
"name": "_fe_analyzer_shared",
"version": "64.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "shelf_web_socket",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"shelf",
"stream_channel",
"web_socket_channel"
]
},
{
"name": "shelf",
"version": "1.4.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"collection",
"http_parser",
"path",
"stack_trace",
"stream_channel"
]
},
{
"name": "http_parser",
"version": "4.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner",
"typed_data"
]
},
{
"name": "shelf_static",
"version": "1.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"convert",
"http_parser",
"mime",
"path",
"shelf"
]
},
{
"name": "mime",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "shelf_packages_handler",
"version": "3.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"path",
"shelf",
"shelf_static"
]
},
{
"name": "node_preamble",
"version": "2.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "matcher",
"version": "0.12.16",
"kind": "dev",
"source": "hosted",
"dependencies": [
"async",
"meta",
"stack_trace",
"term_glyph",
"test_api"
]
},
{
"name": "js",
"version": "0.6.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "http_multi_server",
"version": "3.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async"
]
},
{
"name": "dart_flutter_team_lints",
"version": "1.0.0",
"kind": "dev",
"source": "hosted",
"dependencies": [
"lints"
]
},
{
"name": "lints",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "protobuf",
"version": "3.1.0",
"kind": "direct",
"source": "path",
"dependencies": [
"collection",
"fixnum",
"meta"
]
},
{
"name": "fixnum",
"version": "1.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": []
}
]

View file

@ -9,7 +9,6 @@ flutter.buildFlutterApplication rec {
version = "unstable-2023-09-17";
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
gitHashes = {
fwupd = "sha256-l/+HrrJk1mE2Mrau+NmoQ7bu9qhHU6wX68+m++9Hjd4=";

File diff suppressed because it is too large Load diff

View file

@ -12,5 +12,4 @@ buildDartApplication rec {
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
depsListFile = ./deps.json;
}

View file

@ -1,190 +0,0 @@
[
{
"name": "domine",
"version": "1.1.0+3",
"kind": "root",
"source": "root",
"dependencies": [
"args",
"dart_openai",
"dio",
"dio_smart_retry",
"tint",
"lints"
]
},
{
"name": "lints",
"version": "2.1.1",
"kind": "dev",
"source": "hosted",
"dependencies": []
},
{
"name": "tint",
"version": "2.0.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "dio_smart_retry",
"version": "5.0.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"dio",
"http_parser",
"path"
]
},
{
"name": "path",
"version": "1.8.3",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "http_parser",
"version": "4.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner",
"typed_data"
]
},
{
"name": "typed_data",
"version": "1.3.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection"
]
},
{
"name": "collection",
"version": "1.17.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "string_scanner",
"version": "1.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"source_span"
]
},
{
"name": "source_span",
"version": "1.10.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"path",
"term_glyph"
]
},
{
"name": "term_glyph",
"version": "1.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "dio",
"version": "5.3.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
"async",
"http_parser",
"meta",
"path"
]
},
{
"name": "meta",
"version": "1.9.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "async",
"version": "2.11.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "dart_openai",
"version": "4.0.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"http",
"meta",
"collection",
"fetch_client"
]
},
{
"name": "fetch_client",
"version": "1.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"fetch_api",
"http"
]
},
{
"name": "http",
"version": "1.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"async",
"http_parser",
"meta"
]
},
{
"name": "fetch_api",
"version": "1.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"js"
]
},
{
"name": "js",
"version": "0.6.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "args",
"version": "2.4.2",
"kind": "direct",
"source": "hosted",
"dependencies": []
}
]