7bba32a069
If things build fine with `stdenvNoCC`, let them use that. If tools might be prefixed, prepare for that, either by directly splicing or just using the env vars provided by the wrapper setup-hooks. Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ lib, appleDerivation', stdenvNoCC }:
|
|
|
|
appleDerivation' stdenvNoCC {
|
|
installPhase = ''
|
|
mkdir -p $out/include/CommonCrypto
|
|
cp include/* $out/include/CommonCrypto
|
|
'';
|
|
|
|
appleHeaders = ''
|
|
CommonCrypto/CommonBaseXX.h
|
|
CommonCrypto/CommonBigNum.h
|
|
CommonCrypto/CommonCMACSPI.h
|
|
CommonCrypto/CommonCRC.h
|
|
CommonCrypto/CommonCrypto.h
|
|
CommonCrypto/CommonCryptoError.h
|
|
CommonCrypto/CommonCryptoPriv.h
|
|
CommonCrypto/CommonCryptor.h
|
|
CommonCrypto/CommonCryptorSPI.h
|
|
CommonCrypto/CommonDH.h
|
|
CommonCrypto/CommonDigest.h
|
|
CommonCrypto/CommonDigestSPI.h
|
|
CommonCrypto/CommonECCryptor.h
|
|
CommonCrypto/CommonHMAC.h
|
|
CommonCrypto/CommonHMacSPI.h
|
|
CommonCrypto/CommonKeyDerivation.h
|
|
CommonCrypto/CommonKeyDerivationSPI.h
|
|
CommonCrypto/CommonNumerics.h
|
|
CommonCrypto/CommonRSACryptor.h
|
|
CommonCrypto/CommonRandom.h
|
|
CommonCrypto/CommonRandomSPI.h
|
|
CommonCrypto/CommonSymmetricKeywrap.h
|
|
CommonCrypto/aes.h
|
|
CommonCrypto/lionCompat.h
|
|
CommonCrypto/module.modulemap
|
|
'';
|
|
|
|
meta = with lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|