forked from mirrors/nixpkgs
062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
31 lines
718 B
Nix
31 lines
718 B
Nix
{ 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 = "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;
|
|
};
|
|
}
|