nixpkgs/pkgs/development/tools/rust/cargo-careful/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
648 B
Nix
Raw Normal View History

2023-01-22 02:34:17 +01:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-careful";
version = "0.3.3";
2023-01-22 02:34:17 +01:00
src = fetchFromGitHub {
owner = "RalfJung";
repo = "cargo-careful";
rev = "v${version}";
hash = "sha256-oYwbRww+NFPV9q26vfuTdxTBp0kzWdgWl6MAXhir2lc=";
2023-01-22 02:34:17 +01:00
};
cargoHash = "sha256-8b718qYPFFstjl2LQ23IoQDikF9YV1Ao+pDg2tiXxsc=";
2023-01-22 02:34:17 +01: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 ];
maintainers = with maintainers; [ figsoda ];
};
}