depot/third_party/nixpkgs/pkgs/development/tools/analysis/evmdis/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

29 lines
653 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 = ''
# Add go modules support
cp ${./go.mod} go.mod
'';
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/Arachnid/evmdis";
description = "Ethereum EVM disassembler";
license = [ licenses.asl20 ];
maintainers = with maintainers; [ asymmetric ];
};
}