pkgs/by-name/[ab].+: migrate to new apple sdk (#354097)

authored by

Emily and committed by
GitHub
85f7e662 a0862542

+31 -103
+1 -8
pkgs/by-name/ag/agate/package.nix
··· 4 4 nixosTests, 5 5 fetchFromGitHub, 6 6 rustPlatform, 7 - libiconv, 8 - darwin, 9 7 openssl, 10 8 pkg-config, 11 9 nix-update-script, ··· 26 24 27 25 nativeBuildInputs = [ pkg-config ]; 28 26 29 - buildInputs = 30 - [ openssl ] 31 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ 32 - libiconv 33 - darwin.apple_sdk.frameworks.Security 34 - ]; 27 + buildInputs = [ openssl ]; 35 28 36 29 doInstallCheck = true; 37 30 installCheckPhase = ''
+1 -10
pkgs/by-name/an/anchor/package.nix
··· 2 2 lib, 3 3 rustPlatform, 4 4 fetchFromGitHub, 5 - stdenv, 6 - darwin, 7 5 }: 8 6 9 7 rustPlatform.buildRustPackage rec { ··· 18 16 fetchSubmodules = true; 19 17 }; 20 18 21 - cargoPatches = [ 22 - ./0001-update-time-rs.patch 23 - ]; 19 + cargoPatches = [ ./0001-update-time-rs.patch ]; 24 20 25 21 cargoLock = { 26 22 lockFile = ./Cargo.lock; ··· 28 24 "serum_dex-0.4.0" = "sha256-Nzhh3OcAFE2LcbUgrA4zE2TnUMfV0dD4iH6fTi48GcI="; 29 25 }; 30 26 }; 31 - 32 - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 33 - darwin.apple_sdk.frameworks.Security 34 - darwin.apple_sdk.frameworks.SystemConfiguration 35 - ]; 36 27 37 28 checkFlags = [ 38 29 # the following test cases try to access network, skip them
+1 -4
pkgs/by-name/as/asfa/package.nix
··· 3 3 rustPlatform, 4 4 fetchFromGitHub, 5 5 stdenv, 6 - darwin, 7 6 help2man, 8 7 openssl, 9 8 pkg-config, ··· 29 28 "man" 30 29 ]; 31 30 32 - buildInputs = [ 33 - openssl 34 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ]; 31 + buildInputs = [ openssl ]; 35 32 36 33 nativeBuildInputs = [ 37 34 help2man
+1 -8
pkgs/by-name/as/asm-lsp/package.nix
··· 5 5 fetchFromGitHub, 6 6 pkg-config, 7 7 openssl, 8 - darwin, 9 - libiconv, 10 8 }: 11 9 let 12 10 pname = "asm-lsp"; ··· 24 22 25 23 nativeBuildInputs = [ pkg-config ]; 26 24 27 - buildInputs = 28 - [ openssl ] 29 - ++ lib.optionals stdenv.buildPlatform.isDarwin [ 30 - darwin.apple_sdk.frameworks.SystemConfiguration 31 - libiconv 32 - ]; 25 + buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; 33 26 34 27 cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw="; 35 28
+3 -15
pkgs/by-name/at/atac/package.nix
··· 4 4 fetchFromGitHub, 5 5 pkg-config, 6 6 oniguruma, 7 - stdenv, 8 - darwin, 9 7 }: 10 8 rustPlatform.buildRustPackage rec { 11 9 pname = "atac"; ··· 20 18 21 19 cargoHash = "sha256-sNgtqvFiwHSYMDf0379i8Yl9NrkCRVLo/ogjbHFgKBY="; 22 20 23 - nativeBuildInputs = [ 24 - pkg-config 25 - ]; 21 + nativeBuildInputs = [ pkg-config ]; 26 22 27 - buildInputs = 28 - [ 29 - oniguruma 30 - ] 31 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ 32 - darwin.apple_sdk.frameworks.AppKit 33 - darwin.apple_sdk.frameworks.Security 34 - darwin.apple_sdk.frameworks.SystemConfiguration 35 - ]; 23 + buildInputs = [ oniguruma ]; 36 24 37 25 env = { 38 26 RUSTONIG_SYSTEM_LIBONIG = true; ··· 42 30 description = "Simple API client (postman like) in your terminal"; 43 31 homepage = "https://github.com/Julien-cpsn/ATAC"; 44 32 license = licenses.mit; 45 - maintainers = with maintainers; [vinnymeller]; 33 + maintainers = with maintainers; [ vinnymeller ]; 46 34 mainProgram = "atac"; 47 35 }; 48 36 }
-8
pkgs/by-name/at/attract-mode/package.nix
··· 13 13 zlib, 14 14 openal, 15 15 fontconfig, 16 - darwin, 17 16 }: 18 17 19 18 stdenv.mkDerivation { ··· 43 42 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 44 43 openal 45 44 fontconfig 46 - ] 47 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ 48 - darwin.apple_sdk.frameworks.Cocoa 49 - darwin.apple_sdk.frameworks.Carbon 50 - darwin.apple_sdk.frameworks.IOKit 51 - darwin.apple_sdk.frameworks.CoreVideo 52 - darwin.apple_sdk.frameworks.OpenAL 53 45 ]; 54 46 55 47 makeFlags = [
+1 -4
pkgs/by-name/av/avbroot/package.nix
··· 6 6 protobuf, 7 7 bzip2, 8 8 stdenv, 9 - darwin, 10 9 }: 11 10 12 11 rustPlatform.buildRustPackage rec { ··· 33 32 protobuf 34 33 ]; 35 34 36 - buildInputs = [ 37 - bzip2 38 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ]; 35 + buildInputs = [ bzip2 ]; 39 36 40 37 meta = { 41 38 description = "Sign (and root) Android A/B OTAs with custom keys while preserving Android Verified Boot";
+1 -8
pkgs/by-name/ba/bacon/package.nix
··· 3 3 stdenv, 4 4 rustPlatform, 5 5 fetchFromGitHub, 6 - darwin, 7 6 versionCheckHook, 8 7 nix-update-script, 9 8 }: ··· 21 20 22 21 cargoHash = "sha256-rlWNrkzUDs3rbQ5ZV4fKU/EKEy4fVbxEP0+wNwXi7Ag="; 23 22 24 - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 25 - darwin.apple_sdk.frameworks.CoreServices 26 - ]; 27 - 28 - nativeInstallCheckInputs = [ 29 - versionCheckHook 30 - ]; 23 + nativeInstallCheckInputs = [ versionCheckHook ]; 31 24 versionCheckProgramArg = [ "--version" ]; 32 25 doInstallCheck = true; 33 26
+7 -17
pkgs/by-name/bi/biome/package.nix
··· 6 6 libgit2, 7 7 rust-jemalloc-sys, 8 8 zlib, 9 - stdenv, 10 - darwin, 11 9 git, 12 10 }: 13 11 rustPlatform.buildRustPackage rec { ··· 23 21 24 22 cargoHash = "sha256-4vITbsXfgNFoeWMHz7a9Rk7FrsEZRe75nHiyHSMujEQ="; 25 23 26 - nativeBuildInputs = [ 27 - pkg-config 28 - ]; 29 - 30 - buildInputs = 31 - [ 32 - libgit2 33 - rust-jemalloc-sys 34 - zlib 35 - ] 36 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ 37 - darwin.apple_sdk.frameworks.Security 38 - ]; 24 + nativeBuildInputs = [ pkg-config ]; 39 25 40 - nativeCheckInputs = [ 41 - git 26 + buildInputs = [ 27 + libgit2 28 + rust-jemalloc-sys 29 + zlib 42 30 ]; 31 + 32 + nativeCheckInputs = [ git ]; 43 33 44 34 cargoBuildFlags = [ "-p=biome_cli" ]; 45 35 cargoTestFlags =
+3 -10
pkgs/by-name/bu/buckle/package.nix
··· 1 1 { 2 2 lib, 3 - stdenv, 4 3 fetchFromGitHub, 5 4 rustPlatform, 6 - darwin, 7 5 }: 8 6 9 7 rustPlatform.buildRustPackage rec { ··· 17 15 rev = "v${version}"; 18 16 hash = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo="; 19 17 }; 20 - 21 - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 22 - darwin.apple_sdk.frameworks.Security 23 - darwin.apple_sdk.frameworks.SystemConfiguration 24 - ]; 25 18 26 19 checkFlags = [ 27 20 # Both tests access the network. ··· 29 22 "--skip=test_buck2_specific_version" 30 23 ]; 31 24 32 - meta = with lib; { 25 + meta = { 33 26 description = "Buck2 launcher"; 34 27 longDescription = '' 35 28 Buckle is a launcher for [Buck2](https://buck2.build). It manages ··· 39 32 enforcing the prelude is upgraded in sync. 40 33 ''; 41 34 homepage = "https://github.com/benbrittain/buckle"; 42 - license = licenses.mit; 43 - maintainers = with maintainers; [ cbarrete ]; 35 + license = lib.licenses.mit; 36 + maintainers = with lib.maintainers; [ cbarrete ]; 44 37 mainProgram = "buckle"; 45 38 }; 46 39 }
+12 -11
pkgs/by-name/bu/bulloak/package.nix
··· 1 - { lib 2 - , fetchFromGitHub 3 - , rustPlatform 4 - , fetchurl 5 - , stdenv 6 - , darwin 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + rustPlatform, 5 + fetchurl, 6 + stdenv, 7 7 }: 8 8 9 9 let ··· 42 42 43 43 cargoHash = "sha256-lj/wmLu4cBjDjzMD8DlIz+6Rnag0h+zWiE7lfcTC7lY="; 44 44 45 - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ]; 46 - 47 45 # tests run in CI on the source repo 48 46 doCheck = false; 49 47 50 48 # provide the list of solc versions to the `svm-rs-builds` dependency 51 49 SVM_RELEASES_LIST_JSON = solc-versions.${stdenv.hostPlatform.system}; 52 50 53 - meta = with lib; { 51 + meta = { 54 52 description = "Solidity test generator based on the Branching Tree Technique"; 55 53 homepage = "https://github.com/alexfertel/bulloak"; 56 - license = with licenses; [ mit asl20 ]; 54 + license = with lib.licenses; [ 55 + mit 56 + asl20 57 + ]; 57 58 mainProgram = "bulloak"; 58 - maintainers = with maintainers; [ beeb ]; 59 + maintainers = with lib.maintainers; [ beeb ]; 59 60 }; 60 61 }