Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
26 lines
695 B
Nix
26 lines
695 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-careful";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RalfJung";
|
|
repo = "cargo-careful";
|
|
rev = "v${version}";
|
|
hash = "sha256-pYfyqsS+bGwSP6YZAtI+8iMXdID/hrCiX+cuYoYiZmc=";
|
|
};
|
|
|
|
cargoHash = "sha256-C+bnoYMO0Pjdgn4Q2Qb2COllMK0hnRNBwGd828o3AKE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|