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

44 lines
747 B
Nix
Raw Normal View History

2018-02-21 09:11:47 +00:00
{ version
, sha256
, cargoSha256
, patches
}:
{ stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
, openssl
, systemd
, cmake
, perl
2018-02-21 09:11:47 +00:00
}:
rustPlatform.buildRustPackage rec {
name = "parity-${version}";
inherit cargoSha256 patches;
src = fetchFromGitHub {
owner = "paritytech";
repo = "parity-ethereum";
2018-02-21 09:11:47 +00:00
rev = "v${version}";
inherit sha256;
};
buildInputs = [
pkgconfig cmake perl
systemd.lib systemd.dev openssl openssl.dev
];
2018-02-21 09:11:47 +00:00
# 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 ];
2018-03-01 20:26:47 +00:00
platforms = platforms.linux;
2018-02-21 09:11:47 +00:00
};
}