mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-12 07:54:50 +00:00
cargo-duplicates: init at 0.5.1
https://github.com/Keruspe/cargo-duplicates
This commit is contained in:
parent
2c9ecd1f04
commit
3309ff781b
46
pkgs/development/tools/rust/cargo-duplicates/default.nix
Normal file
46
pkgs/development/tools/rust/cargo-duplicates/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, curl
|
||||||
|
, pkg-config
|
||||||
|
, libgit2
|
||||||
|
, openssl
|
||||||
|
, zlib
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-duplicates";
|
||||||
|
version = "0.5.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Keruspe";
|
||||||
|
repo = "cargo-duplicates";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-e0cegK4obUVIJyx5XKF+xicvkRvQwuObwB8tprrJnrw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-i1IyHCa/w4DOGlPWjDE4IbVm3s/40DIwjwUGIMTYH4Y=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
curl
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
curl
|
||||||
|
libgit2
|
||||||
|
openssl
|
||||||
|
zlib
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A cargo subcommand for displaying when different versions of a same dependency are pulled in";
|
||||||
|
homepage = "https://github.com/Keruspe/cargo-duplicates";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
@ -16522,6 +16522,7 @@ with pkgs;
|
|||||||
cargo-deb = callPackage ../development/tools/rust/cargo-deb { };
|
cargo-deb = callPackage ../development/tools/rust/cargo-deb { };
|
||||||
cargo-deps = callPackage ../development/tools/rust/cargo-deps { };
|
cargo-deps = callPackage ../development/tools/rust/cargo-deps { };
|
||||||
cargo-docset = callPackage ../development/tools/rust/cargo-docset { };
|
cargo-docset = callPackage ../development/tools/rust/cargo-docset { };
|
||||||
|
cargo-duplicates = callPackage ../development/tools/rust/cargo-duplicates { };
|
||||||
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
|
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user