5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
25 lines
720 B
Nix
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";
|
|
};
|
|
}
|
|
|