2022-10-30 15:09:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protoscope";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "unstable-2022-11-09";
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "protocolbuffers";
|
|
|
|
repo = "protoscope";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = "8e7a6aafa2c9958527b1e0747e66e1bfff045819";
|
|
|
|
hash = "sha256-+VIy+CD6bKJzwtpHXRr9MqmsPE2MJ1dRdtvSMUkCh5I=";
|
2022-10-30 15:09:59 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple, human-editable language for representing and emitting the Protobuf wire format";
|
|
|
|
homepage = "https://github.com/protocolbuffers/protoscope";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
|
|
|
};
|
|
|
|
}
|