Merge pull request #180186 from aaronjheng/protoscope

This commit is contained in:
Sandro 2022-10-27 21:49:51 +02:00 committed by GitHub
commit 1531df4c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoscope";
version = "unstable-2022-10-04";
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protoscope";
rev = "8b1d63939ee1a5d922b38f3976e1e58cae525163";
sha256 = "sha256-/vt02rvKVsryJZ+Bw4QLaGzDErGI04/4NUbSBkbbN3Y=";
};
vendorSha256 = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
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 ];
};
}

View file

@ -10475,6 +10475,8 @@ with pkgs;
proot = callPackage ../tools/system/proot { };
protoscope = callPackage ../development/tools/protoscope { };
prototypejs = callPackage ../development/libraries/prototypejs { };
inherit (callPackages ../tools/security/proxmark3 { gcc-arm-embedded = gcc-arm-embedded-8; })