2022-09-22 12:36:57 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-hack";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.5.26";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-ZVR3bycEWpOV4T/85OsERNjKooz2rwBF5kMSEfHnmEI=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
cargoSha256 = "sha256-4TChr6dKxUerpuaX63WShrWyXTLH4m85P6E30a5rmH8=";
|
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";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|