mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
Merge pull request #298623 from mjoerg/goresym-2.7.2
goresym: 2.3 -> 2.7.2
This commit is contained in:
commit
dfe38d1bbd
@ -1,19 +1,31 @@
|
||||
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, unzip
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goresym";
|
||||
version = "2.3";
|
||||
version = "2.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mandiant";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-o2t542q6UGjWdhJkcAm34kGhPUGNsvZKf940T+vydoE=";
|
||||
sha256 = "sha256-bZOq3GvGRyeIyN/CEuMA6mQjjrRvoVU9fUEUptd6NH0=";
|
||||
};
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
vendorHash = "sha256-ElV5edbe1LQWbA1NKv52/rLZJeOLBahE4YBKg9OA7YY=";
|
||||
vendorHash = "sha256-pjkBrHhIqLmSzwi1dKS5+aJrrAAIzNATOt3LgLsMtx0=";
|
||||
|
||||
nativeCheckInputs = [ unzip ];
|
||||
|
||||
preCheck = ''
|
||||
cd test
|
||||
unzip weirdbins.zip
|
||||
cd ..
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@ -21,6 +33,7 @@ buildGoModule rec {
|
||||
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; [ thehedgeh0g ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user