forked from mirrors/nixpkgs
27 lines
604 B
Nix
27 lines
604 B
Nix
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "goresym";
|
|
version = "2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mandiant";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-v7rZBVpQMuEoIK9JIXCJnSjMDe3wrtJvL766MN6VmFo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|