26 lines
604 B
Nix
26 lines
604 B
Nix
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "goresym";
|
|
version = "1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mandiant";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GFr3ppZJsGwi3dyrlpIjYrdJ2QYp2i01SX+EKEAmDE8=";
|
|
};
|
|
|
|
subPackages = [ "." ];
|
|
|
|
vendorSha256 = "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 ];
|
|
};
|
|
}
|