mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
26 lines
720 B
Nix
26 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";
|
|
};
|
|
}
|
|
|