1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "protoscope";
9 version = "0-unstable-2022-11-09";
10
11 src = fetchFromGitHub {
12 owner = "protocolbuffers";
13 repo = "protoscope";
14 rev = "8e7a6aafa2c9958527b1e0747e66e1bfff045819";
15 hash = "sha256-+VIy+CD6bKJzwtpHXRr9MqmsPE2MJ1dRdtvSMUkCh5I=";
16 };
17
18 vendorHash = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Simple, human-editable language for representing and emitting the Protobuf wire format";
27 mainProgram = "protoscope";
28 homepage = "https://github.com/protocolbuffers/protoscope";
29 license = lib.licenses.asl20;
30 maintainers = with lib.maintainers; [ aaronjheng ];
31 };
32}