2017-12-29 10:41:41 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "parallel-rust";
|
2017-12-29 10:41:41 +00:00
|
|
|
version = "0.11.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mmstick";
|
|
|
|
repo = "parallel";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1bb1m3ckkrxlnw9w24ig70bd1zwyrbaw914q3xz5yv43c0l6pn9c";
|
|
|
|
};
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "0ssawp06fidsppvfzk0balf4fink2vym9688r7k7x7pb2z7cvyqc";
|
2017-12-29 10:41:41 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|