nixpkgs/pkgs/by-name/ca/cargo-careful/package.nix

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

27 lines
695 B
Nix
Raw Normal View History

2023-01-22 01:34:17 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-careful";
2024-08-10 13:28:57 +01:00
version = "0.4.3";
2023-01-22 01:34:17 +00:00
src = fetchFromGitHub {
owner = "RalfJung";
repo = "cargo-careful";
rev = "v${version}";
2024-08-10 13:28:57 +01:00
hash = "sha256-pYfyqsS+bGwSP6YZAtI+8iMXdID/hrCiX+cuYoYiZmc=";
2023-01-22 01:34:17 +00:00
};
2024-08-10 13:28:57 +01:00
cargoHash = "sha256-C+bnoYMO0Pjdgn4Q2Qb2COllMK0hnRNBwGd828o3AKE=";
2023-01-22 01:34:17 +00:00
meta = with lib; {
description = "Tool to execute Rust code carefully, with extra checking along the way";
mainProgram = "cargo-careful";
2023-01-22 01:34:17 +00:00
homepage = "https://github.com/RalfJung/cargo-careful";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda matthiasbeyer ];
2023-01-22 01:34:17 +00:00
};
}