ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
16 lines
347 B
Nix
16 lines
347 B
Nix
{ stdenvNoCC, buildPackages, MacOSX-SDK }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "libcharset";
|
|
version = MacOSX-SDK.version;
|
|
|
|
dontUnpack = true;
|
|
dontBuild = true;
|
|
|
|
nativeBuildInputs = [ buildPackages.darwin.checkReexportsHook ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/{include,lib}
|
|
cp ${MacOSX-SDK}/usr/lib/libcharset* $out/lib
|
|
'';
|
|
}
|