1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-hack";
5 version = "0.6.13";
6
7 src = fetchCrate {
8 inherit pname version;
9 hash = "sha256-5WwbtubANrLHXvaWzO/u1NeeetVUvl/ujq89BqFZ2ZQ=";
10 };
11
12 cargoHash = "sha256-25I1j0QiyeHtUq6IK7ehRK3JLKygiigtfvEe+N74TgY=";
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}