nixpkgs/pkgs/development/tools/goresym/default.nix
Pyrox 11255ef03c
maintainers: thehedgeh0g -> pyrox0
Also updates my information and contact info.

I no longer use The Hedgehog as my github username or online presence
username, so this fixes that. It also matches my github username, so it
should be easier for others to mention me if needed.
2024-04-24 12:53:58 -04:00

41 lines
813 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
, unzip
}:
buildGoModule rec {
pname = "goresym";
version = "2.7.3";
src = fetchFromGitHub {
owner = "mandiant";
repo = pname;
rev = "v${version}";
sha256 = "sha256-U3AjEKQKPS5ghrmEJTsGRIC2BoPYAWL6RDPhA+eN2hg=";
};
subPackages = [ "." ];
vendorHash = "sha256-pjkBrHhIqLmSzwi1dKS5+aJrrAAIzNATOt3LgLsMtx0=";
nativeCheckInputs = [ unzip ];
preCheck = ''
cd test
unzip weirdbins.zip
cd ..
'';
doCheck = true;
meta = with lib; {
description = "Go symbol recovery tool";
mainProgram = "GoReSym";
homepage = "https://github.com/mandiant/GoReSym";
changelog = "https://github.com/mandiant/GoReSym/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ pyrox0 ];
};
}