about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/op/opencflite/package.nix
blob: 0da9e52e81d6bfdc01dd01cf919cc71b9a93c2ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  lib,
  stdenv,
  fetchFromGitHub,
  pkg-config,
  icu,
  libkqueue,
  libuuid,
  tzdata,
  zlib,
}:

stdenv.mkDerivation rec {
  pname = "opencflite";
  version = "635.21.8";

  src = fetchFromGitHub {
    owner = "gerickson";
    repo = "opencflite";
    rev = "opencflite-${version}";
    hash = "sha256-ijyj4SFYQ0wZAFM2ehNnR9+yu5yDTSVW3VBycBT9l+A=";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [
    icu
    libkqueue
    libuuid
    tzdata
    zlib
  ];

  enableParallelBuilding = true;

  meta = {
    description = "Cross platform port of the macOS CoreFoundation";
    homepage = "https://github.com/gerickson/opencflite";
    license = lib.licenses.apsl20;
    maintainers = with lib.maintainers; [ wegank ];
    platforms = [ "x86_64-linux" ];
  };
}