5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
32 lines
727 B
Nix
32 lines
727 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkgconfig
|
|
, openssl
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "polkadot";
|
|
version = "0.2.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paritytech";
|
|
repo = "substrate";
|
|
rev = "19f4f4d4df3bb266086b4e488739f73d3d5e588c";
|
|
sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj";
|
|
};
|
|
|
|
cargoSha256 = "19xcxpbkrbygghz9qi52vzviksxg28m7ibvl359vlhqv1cjxmpsq";
|
|
|
|
buildInputs = [ pkgconfig openssl openssl.dev ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Polkadot Node Implementation";
|
|
homepage = https://polkadot.network;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.akru ];
|
|
platforms = platforms.linux;
|
|
broken = true;
|
|
};
|
|
}
|