2018-12-05 14:10:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, pkgconfig
|
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "polkadot";
|
2018-12-05 14:10:31 +00:00
|
|
|
version = "0.2.17";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paritytech";
|
|
|
|
repo = "substrate";
|
|
|
|
rev = "19f4f4d4df3bb266086b4e488739f73d3d5e588c";
|
|
|
|
sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj";
|
|
|
|
};
|
|
|
|
|
2019-05-25 11:03:08 +00:00
|
|
|
cargoSha256 = "19xcxpbkrbygghz9qi52vzviksxg28m7ibvl359vlhqv1cjxmpsq";
|
2018-12-05 14:10:31 +00:00
|
|
|
|
|
|
|
buildInputs = [ pkgconfig openssl openssl.dev ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Polkadot Node Implementation";
|
2019-04-22 08:14:28 +00:00
|
|
|
homepage = https://polkadot.network;
|
2018-12-05 14:10:31 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.akru ];
|
|
|
|
platforms = platforms.linux;
|
2019-10-07 15:20:23 +00:00
|
|
|
broken = true;
|
2018-12-05 14:10:31 +00:00
|
|
|
};
|
|
|
|
}
|