nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libsecurity_pkcs12/default.nix

16 lines
436 B
Nix
Raw Normal View History

{ appleDerivation, libsecurity_asn1, libsecurity_cdsa_client, libsecurity_cdsa_utils, libsecurity_keychain }:
2015-06-22 03:29:33 +00:00
appleDerivation {
patchPhase = ''
substituteInPlace lib/pkcsoids.h --replace '#error' '#warning'
'';
preBuild = ''
unpackFile ${libsecurity_keychain.src}
mv libsecurity_keychain*/lib security_keychain
'';
buildInputs = [
libsecurity_asn1
libsecurity_cdsa_utils
libsecurity_cdsa_client
];
}