6 buildDartApplication rec {
7 pname = "protoc-gen-dart";
10 src = fetchFromGitHub {
12 repo = "protobuf.dart";
13 rev = "protobuf-v${version}";
14 sha256 = "sha256-2QnLS6GHhDHMCnAY+2c1wMyPY3EKtlijWHQC+9AVt0k=";
16 sourceRoot = "${src.name}/protoc_plugin";
18 pubspecLockFile = ./pubspec.lock;
19 depsListFile = ./deps.json;
20 vendorHash = "sha256-yNgQLCLDCbA07v9tIwPRks/xPAzLVykNtIk+8C0twYM=";
23 description = "Protobuf plugin for generating Dart code";
24 homepage = "https://pub.dev/packages/protoc_plugin";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ lelgenio ];