1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-hack";
5 version = "0.6.28";
6
7 src = fetchCrate {
8 inherit pname version;
9 hash = "sha256-RpMOtgLp9cvXr8lNqGmLvCSbBt7tt7au8hhDCaSERRo=";
10 };
11
12 cargoHash = "sha256-KpG+T1rI14BgvWvRqiZ5y/n9+J1YRj4+j556zaY7aUA=";
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}