mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
34 lines
756 B
Nix
34 lines
756 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "rush-parallel";
|
|
version = "0.5.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shenwei356";
|
|
repo = "rush";
|
|
rev = "v${version}";
|
|
hash = "sha256-xwU6ZPGhaMxIsowTxWUxMDXO7hlWg2KynGGDX1dMZmo=";
|
|
};
|
|
|
|
vendorHash = "sha256-zCloMhjHNkPZHYX1e1nx072IYbWHFWam4Af0l0s8a6M=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
description = "A cross-platform command-line tool for executing jobs in parallel";
|
|
homepage = "https://github.com/shenwei356/rush";
|
|
changelog = "https://github.com/shenwei356/rush/blob/${src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kranzes ];
|
|
mainProgram = "rush-parallel";
|
|
};
|
|
}
|