blob: 7f28d97bf81a2d454a1218aaaa0891dc83ee8fb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ version
, sha256
, cargoSha256
}:
{ lib
, fetchFromGitHub
, rustPlatform
, cmake
, openssl
, pkgconfig
, systemd
}:
rustPlatform.buildRustPackage {
pname = "parity";
inherit version;
inherit cargoSha256;
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;
};
}
|