nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "rush-parallel";
9 version = "0.8.0";
10
11 src = fetchFromGitHub {
12 owner = "shenwei356";
13 repo = "rush";
14 rev = "v${version}";
15 hash = "sha256-G4EG/hj8vosmCwzFN/R/2VC3ZQJfI04aKDQbQdiSFyI=";
16 };
17
18 vendorHash = "sha256-1q5qD496PfK/4LnVI6FWuHorg8EseqodAM7NCB03Lt8=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Cross-platform command-line tool for executing jobs in parallel";
27 homepage = "https://github.com/shenwei356/rush";
28 changelog = "https://github.com/shenwei356/rush/blob/${src.rev}/CHANGELOG.md";
29 license = lib.licenses.mit;
30 maintainers = [ ];
31 mainProgram = "rush-parallel";
32 };
33}