forked from mirrors/nixpkgs
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
35 lines
812 B
Nix
35 lines
812 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";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0gc3w0cwdyk8f7cgpp9sfawczk3n6wd7q0nhfvk87sry71b8vvwq";
|
|
|
|
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;
|
|
};
|
|
}
|