mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
commit
13356e3301
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "go-ethereum";
|
pname = "go-ethereum";
|
||||||
version = "1.9.13";
|
version = "1.9.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ethereum";
|
owner = "ethereum";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1yqqflp73yvjy6bp05xd1nv5fc6p1nx7g4spbssxf3ws96pdh425";
|
sha256 = "0vqsx4q7jn6vhmrm9kkk810d5nvnmyb6bni38ynkxcwlrp3qs6v2";
|
||||||
};
|
};
|
||||||
|
|
||||||
usb = fetchFromGitHub {
|
usb = fetchFromGitHub {
|
||||||
@ -18,7 +18,7 @@ buildGoModule rec {
|
|||||||
sha256 = "0asd5fz2rhzkjmd8wjgmla5qmqyz4jaa6qf0n2ycia16jsck6wc2";
|
sha256 = "0asd5fz2rhzkjmd8wjgmla5qmqyz4jaa6qf0n2ycia16jsck6wc2";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "12aw8b8ci7nssidh1yz8d2hk43csdacq5jca9y70rjakpl3zndsz";
|
vendorSha256 = "01mbmc8qlp08127dlmcqz0viasmg7mrzqzmyw21an69sabcr112n";
|
||||||
|
|
||||||
overrideModAttrs = (_: {
|
overrideModAttrs = (_: {
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchzip, boost, cmake, ncurses, python2
|
{ stdenv, fetchzip, boost, cmake, ncurses, python3, coreutils
|
||||||
, z3Support ? true, z3 ? null, cvc4Support ? true, cvc4 ? null
|
, z3Support ? true, z3 ? null, cvc4Support ? true, cvc4 ? null
|
||||||
, cln ? null, gmp ? null
|
, cln ? null, gmp ? null
|
||||||
}:
|
}:
|
||||||
@ -16,12 +16,12 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "solc";
|
pname = "solc";
|
||||||
version = "0.5.15";
|
version = "0.6.8";
|
||||||
|
|
||||||
# upstream suggests avoid using archive generated by github
|
# upstream suggests avoid using archive generated by github
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
|
url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
|
||||||
sha256 = "1nfvsaci5ja5ss603z04197wndwkvcq9nm5mdab1kpdr91djxh2y";
|
sha256 = "1nxds6c10hjqjjk893qw2yljws57li0xigbf3ih85y8y6d587ph0";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ boost ]
|
buildInputs = [ boost ]
|
||||||
++ stdenv.lib.optionals z3Support [ z3 ]
|
++ stdenv.lib.optionals z3Support [ z3 ]
|
||||||
++ stdenv.lib.optionals cvc4Support [ cvc4 cln gmp ];
|
++ stdenv.lib.optionals cvc4Support [ cvc4 cln gmp ];
|
||||||
checkInputs = [ ncurses python2 ];
|
checkInputs = [ ncurses python3 ];
|
||||||
|
|
||||||
# Test fails on darwin for unclear reason
|
# Test fails on darwin for unclear reason
|
||||||
doCheck = stdenv.hostPlatform.isLinux;
|
doCheck = stdenv.hostPlatform.isLinux;
|
||||||
@ -56,13 +56,7 @@ stdenv.mkDerivation rec {
|
|||||||
pushd ..
|
pushd ..
|
||||||
# IPC tests need aleth avaliable, so we disable it
|
# IPC tests need aleth avaliable, so we disable it
|
||||||
sed -i "s/IPC_ENABLED=true/IPC_ENABLED=false\nIPC_FLAGS=\"--no-ipc\"/" ./scripts/tests.sh
|
sed -i "s/IPC_ENABLED=true/IPC_ENABLED=false\nIPC_FLAGS=\"--no-ipc\"/" ./scripts/tests.sh
|
||||||
for i in ./scripts/*.sh; do
|
for i in ./scripts/*.sh ./scripts/*.py ./test/*.sh; do
|
||||||
patchShebangs "$i"
|
|
||||||
done
|
|
||||||
for i in ./scripts/*.py; do
|
|
||||||
patchShebangs "$i"
|
|
||||||
done
|
|
||||||
for i in ./test/*.sh; do
|
|
||||||
patchShebangs "$i"
|
patchShebangs "$i"
|
||||||
done
|
done
|
||||||
TERM=xterm ./scripts/tests.sh
|
TERM=xterm ./scripts/tests.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user