Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "protoscope"; 5 version = "unstable-2022-11-09"; 6 7 src = fetchFromGitHub { 8 owner = "protocolbuffers"; 9 repo = "protoscope"; 10 rev = "8e7a6aafa2c9958527b1e0747e66e1bfff045819"; 11 hash = "sha256-+VIy+CD6bKJzwtpHXRr9MqmsPE2MJ1dRdtvSMUkCh5I="; 12 }; 13 14 vendorHash = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik="; 15 16 ldflags = [ "-s" "-w" ]; 17 18 meta = with lib; { 19 description = "Simple, human-editable language for representing and emitting the Protobuf wire format"; 20 homepage = "https://github.com/protocolbuffers/protoscope"; 21 license = licenses.asl20; 22 maintainers = with maintainers; [ aaronjheng ]; 23 }; 24}