Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-hack";
5 version = "0.6.30";
6
7 src = fetchCrate {
8 inherit pname version;
9 hash = "sha256-t2fpQWXHZzdwkgGk7yhi5IsEDYxeQ5c9gpq78xl9cb0=";
10 };
11
12 cargoHash = "sha256-FUODX+alK3lWRPXDxhduNeA9WW44I3fAw33sNCmIUKc=";
13
14 # some necessary files are absent in the crate version
15 doCheck = false;
16
17 meta = with lib; {
18 description = "Cargo subcommand to provide various options useful for testing and continuous integration";
19 mainProgram = "cargo-hack";
20 homepage = "https://github.com/taiki-e/cargo-hack";
21 changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md";
22 license = with licenses; [ asl20 /* or */ mit ];
23 maintainers = with maintainers; [ figsoda ];
24 };
25}