go-ethereum: init at 1.4.7 (#16353)
This commit is contained in:
parent
227bf69b00
commit
398d3ddc1b
@ -16,6 +16,8 @@ rec {
|
|||||||
dogecoin = callPackage ./dogecoin.nix { withGui = true; };
|
dogecoin = callPackage ./dogecoin.nix { withGui = true; };
|
||||||
dogecoind = callPackage ./dogecoin.nix { withGui = false; };
|
dogecoind = callPackage ./dogecoin.nix { withGui = false; };
|
||||||
|
|
||||||
|
go-ethereum = callPackage ./go-ethereum.nix { };
|
||||||
|
|
||||||
litecoin = callPackage ./litecoin.nix { withGui = true; };
|
litecoin = callPackage ./litecoin.nix { withGui = true; };
|
||||||
litecoind = callPackage ./litecoin.nix { withGui = false; };
|
litecoind = callPackage ./litecoin.nix { withGui = false; };
|
||||||
|
|
||||||
|
34
pkgs/applications/altcoins/go-ethereum.nix
Normal file
34
pkgs/applications/altcoins/go-ethereum.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, lib, go, fetchgit }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "go-ethereum-${version}";
|
||||||
|
version = "1.4.7";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
goPackagePath = "github.com/ethereum/go-ethereum";
|
||||||
|
|
||||||
|
buildInputs = [ go ];
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
inherit rev;
|
||||||
|
url = "https://${goPackagePath}";
|
||||||
|
sha256 = "19q518kxkvrr44cvsph4wv3lr6ivqsckz1f22r62932s3sq6gyd8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
export GOROOT=$(mktemp -d --suffix=-goroot)
|
||||||
|
ln -sv ${go}/share/go/* $GOROOT
|
||||||
|
ln -svf ${go}/bin $GOROOT
|
||||||
|
make all
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -v build/bin/* $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://ethereum.github.io/go-ethereum/";
|
||||||
|
description = "Official golang implementation of the Ethereum protocol";
|
||||||
|
license = with lib.licenses; [ lgpl3 gpl3 ];
|
||||||
|
};
|
||||||
|
}
|
@ -12207,6 +12207,8 @@ in
|
|||||||
bitcoin = self.altcoins.bitcoin;
|
bitcoin = self.altcoins.bitcoin;
|
||||||
bitcoin-xt = self.altcoins.bitcoin-xt;
|
bitcoin-xt = self.altcoins.bitcoin-xt;
|
||||||
|
|
||||||
|
go-ethereum = self.altcoins.go-ethereum;
|
||||||
|
|
||||||
aumix = callPackage ../applications/audio/aumix {
|
aumix = callPackage ../applications/audio/aumix {
|
||||||
gtkGUI = false;
|
gtkGUI = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user