mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
15 lines
434 B
Nix
15 lines
434 B
Nix
{ appleDerivation, libsecurity_cdsa_utilities, libsecurity_cssm, libsecurity_utilities, osx_private_sdk, perl }:
|
|
appleDerivation {
|
|
buildInputs = [
|
|
libsecurity_cdsa_utilities
|
|
libsecurity_utilities
|
|
perl
|
|
];
|
|
patchPhase = ''
|
|
unpackFile ${libsecurity_cssm.src}
|
|
cp libsecurity_cssm*/lib/cssm{dli,aci,cli,cspi,tpi}.h lib
|
|
'';
|
|
preBuild = ''
|
|
perl lib/generator.pl lib lib/generator.cfg lib lib || exit 1
|
|
'';
|
|
} |