2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-careful";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.4.1";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RalfJung";
|
|
|
|
repo = "cargo-careful";
|
|
|
|
rev = "v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-oiwR6NgHHu9B1L6dSK6KZfgcSdwBPEzUZONwPHr0a4k=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
cargoHash = "sha256-sVIAY9eYlpyS/PU6kLInc4hMeD3qcewoMbTH+wTIBuI=";
|
2023-02-02 18:25:31 +00: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 ];
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
}
|