mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
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.
26 lines
666 B
Nix
26 lines
666 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "parallel-rust-${version}";
|
|
version = "0.11.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmstick";
|
|
repo = "parallel";
|
|
rev = version;
|
|
sha256 = "1bb1m3ckkrxlnw9w24ig70bd1zwyrbaw914q3xz5yv43c0l6pn9c";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|