nixpkgs/pkgs/development/tools/protoc-gen-dart/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
720 B
Nix
Raw Normal View History

2023-06-08 02:13:50 +02:00
{ lib
, fetchFromGitHub
, buildDartApplication
}:
buildDartApplication rec {
pname = "protoc-gen-dart";
2023-08-29 15:33:32 +02:00
version = "3.1.0";
2023-06-08 02:13:50 +02:00
src = fetchFromGitHub {
owner = "google";
repo = "protobuf.dart";
rev = "protobuf-v${version}";
2023-08-29 15:33:32 +02:00
sha256 = "sha256-2QnLS6GHhDHMCnAY+2c1wMyPY3EKtlijWHQC+9AVt0k=";
2023-06-08 02:13:50 +02:00
};
sourceRoot = "${src.name}/protoc_plugin";
2023-06-08 02:13:50 +02:00
pubspecLockFile = ./pubspec.lock;
depsListFile = ./deps.json;
2023-08-29 15:33:32 +02:00
vendorHash = "sha256-yNgQLCLDCbA07v9tIwPRks/xPAzLVykNtIk+8C0twYM=";
2023-06-08 02:13:50 +02:00
meta = with lib; {
description = "Protobuf plugin for generating Dart code";
homepage = "https://pub.dev/packages/protoc_plugin";
license = licenses.bsd3;
maintainers = with maintainers; [ lelgenio ];
};
}