depot/third_party/nixpkgs/pkgs/development/tools/goresym/default.nix

27 lines
602 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "goresym";
version = "2.2";
src = fetchFromGitHub {
owner = "mandiant";
repo = pname;
rev = "v${version}";
sha256 = "sha256-he71OrOIZ75Z4S3mf7AuQsupnLu/rsLGV2DRXyxRGS4=";
};
subPackages = [ "." ];
vendorHash = "sha256-ElV5edbe1LQWbA1NKv52/rLZJeOLBahE4YBKg9OA7YY=";
doCheck = true;
meta = with lib; {
description = "Go symbol recovery tool";
homepage = "https://github.com/mandiant/GoReSym";
license = licenses.mit;
maintainers = with maintainers; [ thehedgeh0g ];
};
}