depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-dart/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

26 lines
636 B
Nix

{ lib
, fetchFromGitHub
, buildDartApplication
}:
buildDartApplication rec {
pname = "protoc-gen-dart";
version = "3.1.0";
src = fetchFromGitHub {
owner = "google";
repo = "protobuf.dart";
rev = "protobuf-v${version}";
sha256 = "sha256-2QnLS6GHhDHMCnAY+2c1wMyPY3EKtlijWHQC+9AVt0k=";
};
sourceRoot = "${src.name}/protoc_plugin";
pubspecLock = lib.importJSON ./pubspec.lock.json;
meta = with lib; {
description = "Protobuf plugin for generating Dart code";
homepage = "https://pub.dev/packages/protoc_plugin";
license = licenses.bsd3;
maintainers = with maintainers; [ lelgenio ];
};
}