2022-09-22 12:36:57 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-hack";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.6.30";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-t2fpQWXHZzdwkgGk7yhi5IsEDYxeQ5c9gpq78xl9cb0=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
cargoHash = "sha256-FUODX+alK3lWRPXDxhduNeA9WW44I3fAw33sNCmIUKc=";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
# some necessary files are absent in the crate version
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cargo subcommand to provide various options useful for testing and continuous integration";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-hack";
|
2022-09-22 12:36:57 +00:00
|
|
|
homepage = "https://github.com/taiki-e/cargo-hack";
|
2022-09-30 11:47:45 +00:00
|
|
|
changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|