forked from mirrors/nixpkgs
Merge pull request #80160 from bhipple/u/parity
parity: 2.5.11 -> 2.7.2
This commit is contained in:
commit
7b56996d61
|
@ -1,6 +0,0 @@
|
|||
let
|
||||
version = "2.6.6";
|
||||
sha256 = "1gx5qg9c588d5m564bnbly86663yrzb2hmlgv9zplwba7p0lpphl";
|
||||
cargoSha256 = "1xqmnirx2r91q5gy1skxl0f79xvaqzimq3l0cj4xvfms7mpdfbg1";
|
||||
in
|
||||
import ./parity.nix { inherit version sha256 cargoSha256; }
|
|
@ -1,6 +1,46 @@
|
|||
let
|
||||
version = "2.5.11";
|
||||
sha256 = "1x2p559g2f30520v3kn46n737l5s1kwrn962dv73s6mb6n1lhs55";
|
||||
cargoSha256 = "16nf6y0hyffwdhxn1w4ms4zycs5lkzir8sj6c2lgsabig057hb6z";
|
||||
in
|
||||
import ./parity.nix { inherit version sha256 cargoSha256; }
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, cmake
|
||||
, llvmPackages
|
||||
, openssl
|
||||
, pkg-config
|
||||
, systemd
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "parity";
|
||||
version = "2.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paritytech";
|
||||
repo = "parity-ethereum";
|
||||
rev = "v${version}";
|
||||
sha256 = "09cvqk0h9c26famh3f1nc3g74cd0zk6klys977yr1f13bgqmzx0x";
|
||||
};
|
||||
|
||||
cargoSha256 = "1fdymy8hvn137i5y4flyhlxwjxkd2cd6gq81i1429gk7j3h085ig";
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
llvmPackages.clang
|
||||
llvmPackages.libclang
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ openssl systemd ];
|
||||
|
||||
cargoBuildFlags = [ "--features final" ];
|
||||
|
||||
# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast, light, robust Ethereum implementation";
|
||||
homepage = "http://parity.io";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ akru xrelkd ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{ version
|
||||
, sha256
|
||||
, cargoSha256
|
||||
}:
|
||||
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
|
||||
, cmake
|
||||
, openssl
|
||||
, pkgconfig
|
||||
, systemd
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "parity";
|
||||
inherit version;
|
||||
inherit cargoSha256;
|
||||
# Delete this on next update; see #79975 for details
|
||||
legacyCargoFetcher = true;
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paritytech";
|
||||
repo = "parity-ethereum";
|
||||
rev = "v${version}";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl systemd ];
|
||||
|
||||
cargoBuildFlags = [ "--features final" ];
|
||||
|
||||
# test result: FAILED. 80 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast, light, robust Ethereum implementation";
|
||||
homepage = "http://parity.io";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ akru xrelkd ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -22854,7 +22854,7 @@ in
|
|||
zcash = callPackage ../applications/blockchains/zcash { };
|
||||
|
||||
parity = callPackage ../applications/blockchains/parity { };
|
||||
parity-beta = callPackage ../applications/blockchains/parity/beta.nix { };
|
||||
|
||||
parity-ui = callPackage ../applications/blockchains/parity-ui { };
|
||||
|
||||
polkadot = callPackage ../applications/blockchains/polkadot { };
|
||||
|
|
Loading…
Reference in a new issue