nixpkgs-suyu/pkgs/applications/altcoins/parity/parity.nix

43 lines
791 B
Nix
Raw Normal View History

2018-02-21 10:11:47 +01:00
{ version
, sha256
, cargoSha256
}:
{ stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
, openssl
, systemd
, cmake
, perl
2018-02-21 10:11:47 +01:00
}:
rustPlatform.buildRustPackage rec {
name = "parity-${version}";
2018-12-08 20:46:13 +01:00
inherit cargoSha256;
2018-02-21 10:11:47 +01:00
src = fetchFromGitHub {
owner = "paritytech";
repo = "parity-ethereum";
2018-02-21 10:11:47 +01:00
rev = "v${version}";
inherit sha256;
};
buildInputs = [
pkgconfig cmake perl
systemd.lib systemd.dev openssl openssl.dev
];
2018-02-21 10:11:47 +01:00
2018-12-08 20:46:13 +01:00
# test result: FAILED. 80 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out
2018-02-21 10:11:47 +01:00
doCheck = false;
meta = with stdenv.lib; {
description = "Fast, light, robust Ethereum implementation";
homepage = http://parity.io;
license = licenses.gpl3;
maintainers = [ maintainers.akru ];
2018-03-01 21:26:47 +01:00
platforms = platforms.linux;
2018-02-21 10:11:47 +01:00
};
}