depot/third_party/nixpkgs/pkgs/by-name/ca/cargo-autoinherit/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
720 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-autoinherit";
version = "0.1.5";
src = fetchFromGitHub {
owner = "mainmatter";
repo = "cargo-autoinherit";
rev = "v${version}";
hash = "sha256-ai2BqBfZlCOA1DIlzZerH71sbUMi6C65FRv5VDU0DPU=";
};
cargoHash = "sha256-bPbwUqw2IFwZTi7qFm1BQgGYBAb6OG8QSU8xTdx/1zM=";
meta = with lib; {
description = "Automatically DRY up your Rust dependencies";
homepage = "https://github.com/mainmatter/cargo-autoinherit";
license = with licenses; [ asl20 /* OR */ mit ];
platforms = platforms.unix;
maintainers = with maintainers; [ matthiasbeyer ];
mainProgram = "cargo-autoinherit";
};
}