159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
33 lines
671 B
Nix
33 lines
671 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "evmdis";
|
|
version = "unstable-2022-05-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Arachnid";
|
|
repo = "evmdis";
|
|
rev = "7fad4fbee443262839ce9f88111b417801163086";
|
|
hash = "sha256-jfbjXoGT8RtwLlqX13kcKdiFlhrVwA7Ems6abGJVRbA=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
preBuild = ''
|
|
go mod init github.com/Arachnid/evmdis
|
|
'';
|
|
|
|
ldflags = [ "-s" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Arachnid/evmdis";
|
|
description = "Ethereum EVM disassembler";
|
|
mainProgram = "evmdis";
|
|
license = [ licenses.asl20 ];
|
|
maintainers = with maintainers; [ asymmetric ];
|
|
};
|
|
}
|