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

27 lines
604 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "goresym";
version = "1.4";
src = fetchFromGitHub {
owner = "mandiant";
repo = pname;
rev = "v${version}";
sha256 = "sha256-wb/qyMLhqNLpgOl9YFuByTxkUBK4GdhdWzAMcWjOG/U=";
};
subPackages = [ "." ];
vendorSha256 = "sha256-dnQ/tP4RS6WkACobfW7jTTJSHbLrdlZDy1fmO65743Q=";
doCheck = true;
meta = with lib; {
description = "Go symbol recovery tool";
homepage = "https://github.com/mandiant/GoReSym";
license = licenses.mit;
maintainers = with maintainers; [ thehedgeh0g ];
};
}