2022-09-22 12:36:57 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-hack";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.5.24";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-brzefn9Nfb4+OnO0gCH5mPbXDdqaFSoqB6phFPwQXoY=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
cargoSha256 = "sha256-RPQgZoIPFxZGP3Bpwp/VdTYPi5+IdfY3Zy+rYnYev3g=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|