mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
evmdis: 2018-03-23 -> unstable-2022-05-09
This commit is contained in:
parent
531de109ab
commit
b8abee82d6
@ -1,17 +1,25 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
pname = "evmdis-unstable";
|
||||
version = "2018-03-23";
|
||||
goPackagePath = "github.com/Arachnid/evmdis";
|
||||
buildGoModule {
|
||||
pname = "evmdis";
|
||||
version = "unstable-2022-05-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arachnid";
|
||||
repo = "evmdis";
|
||||
rev = "0d1406905c5fda6224651fa53260a21c907eb986";
|
||||
sha256 = "09y4j7ipgv8yd99g3xk3f079w8fqfj7kl1y7ry81ainysn0qlqrg";
|
||||
rev = "7fad4fbee443262839ce9f88111b417801163086";
|
||||
hash = "sha256-jfbjXoGT8RtwLlqX13kcKdiFlhrVwA7Ems6abGJVRbA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||
|
||||
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";
|
||||
|
3
pkgs/development/tools/analysis/evmdis/go.mod
Normal file
3
pkgs/development/tools/analysis/evmdis/go.mod
Normal file
@ -0,0 +1,3 @@
|
||||
module github.com/Arachnid/evmdis
|
||||
|
||||
go 1.18
|
Loading…
Reference in New Issue
Block a user