2021-05-28 09:39:13 +00:00
|
|
|
{ lib, appleDerivation', stdenvNoCC }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
appleDerivation' stdenvNoCC {
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include/CommonCrypto
|
|
|
|
cp include/* $out/include/CommonCrypto
|
|
|
|
'';
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.apple-psl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|