1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-hack";
5 version = "0.5.22";
6
7 src = fetchCrate {
8 inherit pname version;
9 sha256 = "sha256-TuHCKitlCCV//VBi514IMdcscsBc4yibfdsCO/nmisU=";
10 };
11
12 cargoSha256 = "sha256-2tF6553SGbBrGkTznk3zWMweQjks+Z699HE1l0DVYec=";
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 homepage = "https://github.com/taiki-e/cargo-hack";
20 changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md";
21 license = with licenses; [ asl20 /* or */ mit ];
22 maintainers = with maintainers; [ figsoda ];
23 };
24}