Unverified Commit afd9ca8b authored by Alex Martens's avatar Alex Martens Committed by GitHub
Browse files

cargo-spellcheck: move to pkgs/by-name (#356513)

parent b3e823fc
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@
, rustPlatform
, fetchFromGitHub
, stdenv
, Security
, SystemConfiguration
, apple-sdk_11
}:

rustPlatform.buildRustPackage rec {
@@ -21,7 +20,7 @@ rustPlatform.buildRustPackage rec {

  nativeBuildInputs = [ rustPlatform.bindgenHook ];

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
  buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;

  preCheck = "HOME=$(mktemp -d)";

+0 −3
Original line number Diff line number Diff line
@@ -6957,9 +6957,6 @@ with pkgs;
  cargo-rdme = callPackage ../by-name/ca/cargo-rdme/package.nix {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck {
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };
  cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
    inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
  };