summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix
blob: c943c2068e6df952461f556619d96ed0cf55d93d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, appleDerivation }:

# all symbols are located in libSystem
appleDerivation {
  phases = [ "unpackPhase" "installPhase" ];

  installPhase = ''
    mkdir -p $out/include
    cp *.h $out/include
  '';

  meta = with stdenv.lib; {
    maintainers = with maintainers; [ copumpkin ];
    platforms   = platforms.darwin;
    license     = licenses.apsl20;
  };
}