depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-careful/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

25 lines
648 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-careful";
version = "0.3.3";
src = fetchFromGitHub {
owner = "RalfJung";
repo = "cargo-careful";
rev = "v${version}";
hash = "sha256-oYwbRww+NFPV9q26vfuTdxTBp0kzWdgWl6MAXhir2lc=";
};
cargoHash = "sha256-8b718qYPFFstjl2LQ23IoQDikF9YV1Ao+pDg2tiXxsc=";
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 ];
};
}