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.
28 lines
741 B
Nix
28 lines
741 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "parallel-rust";
|
|
version = "0.11.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmstick";
|
|
repo = "parallel";
|
|
rev = version;
|
|
sha256 = "1bb1m3ckkrxlnw9w24ig70bd1zwyrbaw914q3xz5yv43c0l6pn9c";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0ssawp06fidsppvfzk0balf4fink2vym9688r7k7x7pb2z7cvyqc";
|
|
|
|
patches = [ ./fix_cargo_lock_version.patch ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A command-line CPU load balancer written in Rust";
|
|
homepage = https://github.com/mmstick/parallel;
|
|
license = licenses.mit;
|
|
maintainers = [];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|