cargo-deadlinks: move to pkgs/by-name

This commit is contained in:
Alex Martens 2024-12-07 09:06:54 -08:00
parent 86b193aeae
commit 036a9a7224
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, apple-sdk_11 }:
rustPlatform.buildRustPackage rec {
pname = "cargo-deadlinks";
@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
# assumes the target is x86_64-unknown-linux-gnu
"--skip simple_project::it_checks_okay_project_correctly";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
meta = with lib; {
description = "Cargo subcommand to check rust documentation for broken links";

View File

@ -6867,9 +6867,6 @@ with pkgs;
cargo-cyclonedx = callPackage ../development/tools/rust/cargo-cyclonedx {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;
};
cargo-deadlinks = callPackage ../development/tools/rust/cargo-deadlinks {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
inherit (darwin.apple_sdk.frameworks) Security;
};