mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
Merge pull request #299925 from matthiasbeyer/add-cargo-autoinherit
cargo-autoinherit: init at 0.1.3
This commit is contained in:
commit
bc198307ff
25
pkgs/by-name/ca/cargo-autoinherit/package.nix
Normal file
25
pkgs/by-name/ca/cargo-autoinherit/package.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue