ethsign: init at 0.8.2

This commit is contained in:
adisbladis 2018-01-16 02:52:22 +08:00
parent 5783980fc6
commit 95783a0380
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5
3 changed files with 63 additions and 1 deletions

View File

@ -29,6 +29,8 @@ rec {
dogecoin = callPackage ./dogecoin.nix { withGui = true; };
dogecoind = callPackage ./dogecoin.nix { withGui = false; };
ethsign = callPackage ./ethsign { };
freicoin = callPackage ./freicoin.nix { boost = boost155; };
go-ethereum = callPackage ./go-ethereum.nix {
inherit (darwin) libobjc;

View File

@ -0,0 +1,59 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgit, clang }:
buildGoPackage rec {
name = "ethsign-${version}";
version = "0.8.2";
goPackagePath = "github.com/dapphub/ethsign";
hardeningDisable = ["fortify"];
src = fetchFromGitHub {
owner = "dapphub";
repo = "ethsign";
rev = "v${version}";
sha256 = "1gd0bq5x49sjm83r2wivjf03dxvhdli6cvwb9b853wwcvy4inmmh";
};
extraSrcs = [
{
goPackagePath = "github.com/ethereum/go-ethereum";
src = fetchFromGitHub {
owner = "ethereum";
repo = "go-ethereum";
rev = "v1.7.3";
sha256 = "1w6rbq2qpjyf2v9mr18yiv2af1h2sgyvgrdk4bd8ixgl3qcd5b11";
};
}
{
goPackagePath = "gopkg.in/urfave/cli.v1";
src = fetchFromGitHub {
owner = "urfave";
repo = "cli";
rev = "v1.19.1";
sha256 = "1ny63c7bfwfrsp7vfkvb4i0xhq4v7yxqnwxa52y4xlfxs4r6v6fg";
};
}
{
goPackagePath = "golang.org/x/crypto";
src = fetchgit {
url = "https://go.googlesource.com/crypto";
rev = "94eea52f7b742c7cbe0b03b22f0c4c8631ece122";
sha256 = "095zyvjb0m2pz382500miqadhk7w3nis8z3j941z8cq4rdafijvi";
};
}
{
goPackagePath = "golang.org/x/sys";
src = fetchgit {
url = "https://go.googlesource.com/sys";
rev = "53aa286056ef226755cd898109dbcdaba8ac0b81";
sha256 = "1yd17ccklby099cpdcsgx6lf0lj968hsnppp16mwh9009ldf72r1";
};
}
];
meta = with stdenv.lib; {
homepage = http://github.com/dapphub/ethsign;
description = "Make raw signed Ethereum transactions";
license = [licenses.gpl3];
};
}

View File

@ -2819,7 +2819,7 @@ with pkgs;
inadyn = callPackage ../tools/networking/inadyn { };
inboxer = callPackage ../applications/networking/mailreaders/inboxer { };
inetutils = callPackage ../tools/networking/inetutils { };
inform7 = callPackage ../development/compilers/inform7 { };
@ -14184,6 +14184,7 @@ with pkgs;
go-ethereum = self.altcoins.go-ethereum;
ethsign = self.altcoins.ethsign;
ethabi = self.altcoins.ethabi;
ethrun = self.altcoins.ethrun;
seth = self.altcoins.seth;