Merge pull request #51569 from akru/polkadot

polkadot: init at 0.2.17
This commit is contained in:
Sarah Brofeldt 2018-12-09 18:48:06 +01:00 committed by GitHub
commit 8b11a8a336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

@ -94,5 +94,7 @@ rec {
parity-beta = callPackage ./parity/beta.nix { };
parity-ui = callPackage ./parity-ui { };
polkadot = callPackage ./polkadot { };
particl-core = callPackage ./particl/particl-core.nix { miniupnpc = miniupnpc_2; };
}

View file

@ -0,0 +1,30 @@
{ stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
, openssl
}:
rustPlatform.buildRustPackage rec {
name = "polkadot-${version}";
version = "0.2.17";
src = fetchFromGitHub {
owner = "paritytech";
repo = "substrate";
rev = "19f4f4d4df3bb266086b4e488739f73d3d5e588c";
sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj";
};
cargoSha256 = "0wwkaxqj2v5zach5xcqfzf6prc0gxy2v47janglp44xbxbx9xk08";
buildInputs = [ pkgconfig openssl openssl.dev ];
meta = with stdenv.lib; {
description = "Polkadot Node Implementation";
homepage = http://polkadot.network;
license = licenses.gpl3;
maintainers = [ maintainers.akru ];
platforms = platforms.linux;
};
}

View file

@ -15941,6 +15941,8 @@ in
parity-beta = res.altcoins.parity-beta;
parity-ui = res.altcoins.parity-ui;
polkadot = res.altcoins.polkadot;
stellar-core = res.altcoins.stellar-core;
particl-core = res.altcoins.particl-core;