depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-careful/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
695 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-careful";
version = "0.4.2";
src = fetchFromGitHub {
owner = "RalfJung";
repo = "cargo-careful";
rev = "v${version}";
hash = "sha256-Yye1Dz6XTh7bWz63zENQ0QDbYbulO6SnRV7g/6mMgUw=";
};
cargoHash = "sha256-syj3Hf+DxPoJgNbZQERHaKAZwMYuCCmuEGb8ylQt1Xo=";
meta = with lib; {
description = "Tool to execute Rust code carefully, with extra checking along the way";
mainProgram = "cargo-careful";
homepage = "https://github.com/RalfJung/cargo-careful";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda matthiasbeyer ];
};
}