blob: 55665034ccf9f8d83e75f6a4aff177b76b0bcb5b (
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
|
{ version
, sha256
, cargoSha256
, patches
}:
{ stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
, openssl
, systemd
, cmake
, perl
}:
rustPlatform.buildRustPackage rec {
name = "parity-${version}";
inherit cargoSha256 patches;
src = fetchFromGitHub {
owner = "paritytech";
repo = "parity-ethereum";
rev = "v${version}";
inherit sha256;
};
buildInputs = [
pkgconfig cmake perl
systemd.lib systemd.dev openssl openssl.dev
];
# Some checks failed
doCheck = false;
meta = with stdenv.lib; {
description = "Fast, light, robust Ethereum implementation";
homepage = http://parity.io;
license = licenses.gpl3;
maintainers = [ maintainers.akru ];
platforms = platforms.linux;
};
}
|