Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / protoc-gen-dart / default.nix
blobfa11e1b60e805da641f7f8a0b70b51946f9cff68
1 { lib
2 , fetchFromGitHub
3 , buildDartApplication
4 }:
6 buildDartApplication rec {
7   pname = "protoc-gen-dart";
8   version = "3.1.0";
10   src = fetchFromGitHub {
11     owner = "google";
12     repo = "protobuf.dart";
13     rev = "protobuf-v${version}";
14     sha256 = "sha256-2QnLS6GHhDHMCnAY+2c1wMyPY3EKtlijWHQC+9AVt0k=";
15   };
16   sourceRoot = "${src.name}/protoc_plugin";
18   pubspecLockFile = ./pubspec.lock;
19   depsListFile = ./deps.json;
20   vendorHash = "sha256-yNgQLCLDCbA07v9tIwPRks/xPAzLVykNtIk+8C0twYM=";
22   meta = with lib; {
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 ];
27   };