2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-careful";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.4.3";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RalfJung";
|
|
|
|
repo = "cargo-careful";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-pYfyqsS+bGwSP6YZAtI+8iMXdID/hrCiX+cuYoYiZmc=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-C+bnoYMO0Pjdgn4Q2Qb2COllMK0hnRNBwGd828o3AKE=";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to execute Rust code carefully, with extra checking along the way";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-careful";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://github.com/RalfJung/cargo-careful";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
}
|