mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
8d708d28a1
* parity: 1.10.8 -> 1.10.9 * parity: 1.10.8 -> 1.11.8; parity-beta: init at 2.0.1
44 lines
747 B
Nix
44 lines
747 B
Nix
{ 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;
|
|
};
|
|
}
|