2023-01-22 02:34:17 +01:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-careful";
|
2023-04-24 15:27:06 +02:00
|
|
|
version = "0.3.3";
|
2023-01-22 02:34:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RalfJung";
|
|
|
|
repo = "cargo-careful";
|
|
|
|
rev = "v${version}";
|
2023-04-24 15:27:06 +02:00
|
|
|
hash = "sha256-oYwbRww+NFPV9q26vfuTdxTBp0kzWdgWl6MAXhir2lc=";
|
2023-01-22 02:34:17 +01:00
|
|
|
};
|
|
|
|
|
2023-04-24 15:27:06 +02:00
|
|
|
cargoHash = "sha256-8b718qYPFFstjl2LQ23IoQDikF9YV1Ao+pDg2tiXxsc=";
|
2023-01-22 02:34:17 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to execute Rust code carefully, with extra checking along the way";
|
|
|
|
homepage = "https://github.com/RalfJung/cargo-careful";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|