Merge pull request #299925 from matthiasbeyer/add-cargo-autoinherit

cargo-autoinherit: init at 0.1.3
This commit is contained in:
Matthias Beyer 2024-04-07 09:16:03 +02:00 committed by GitHub
commit bc198307ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-autoinherit";
version = "0.1.4";
src = fetchFromGitHub {
owner = "mainmatter";
repo = "cargo-autoinherit";
rev = "v${version}";
hash = "sha256-BuZDCd4SwSYg5eKV61L3RpPVmq5NZDAOc9zOz5QiSNI=";
};
cargoHash = "sha256-9hhrVkC1xB2E/vatkiM4PIJyXq+0GDoqlgXZXc8WehU=";
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";
};
}