depot/pkgs/by-name/pr/protoscope/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
743 B
Nix

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