summary refs log tree commit diff
path: root/pkgs/tools/misc/parallel-rust/default.nix
blob: 213e8c8e378ab394acef916c3235dd28766e3b23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "parallel-rust";
  version = "0.11.3";

  src = fetchFromGitHub {
    owner = "mmstick";
    repo = "parallel";
    rev = version;
    sha256 = "1bb1m3ckkrxlnw9w24ig70bd1zwyrbaw914q3xz5yv43c0l6pn9c";
  };

  cargoSha256 = "1r5chjhmy6ivhsvgqf75ph1qxa4x7n20f7rb3b6maqpbsc64km9n";

  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;
  };
}