summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix
blob: 36013fe307ce43f410aef0f7fbef386174a5fa6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ 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;
  };
}