about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix
blob: 58f6fb8d7ab358f4d5197c72e3fe470119a492e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ appleDerivation, lib, headersOnly ? false }:

appleDerivation {
  installPhase = lib.optionalString headersOnly ''
    mkdir -p $out/include/hfs
    cp core/*.h $out/include/hfs
  '';

  meta = {
    # Seems nobody wants its binary, so we didn't implement building.
    broken = !headersOnly;
    platforms = lib.platforms.darwin;
  };
}