opencflite: 476.19.0 -> 635.21.8

This commit is contained in:
Weijia Wang 2024-03-18 00:23:38 +01:00
parent 56614a4a4a
commit ad87dc75d6
3 changed files with 43 additions and 23 deletions

View File

@ -0,0 +1,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" ];
};
}

View File

@ -1,21 +0,0 @@
{ lib, stdenv, fetchurl, icu, libuuid, tzdata }:
stdenv.mkDerivation rec {
pname = "opencflite";
version = "476.19.0";
src = fetchurl {
url = "mirror://sourceforge/opencflite/${pname}-${version}.tar.gz";
sha256 = "0jgmzs0ycl930hmzcvx0ykryik56704yw62w394q1q3xw5kkjn9v";
};
configureFlags = [ "--with-uuid=${libuuid.dev}" ];
buildInputs = [ icu tzdata.dev ];
enableParallelBuilding = true;
meta = {
description = "Cross platform port of the macOS CoreFoundation";
homepage = "https://sourceforge.net/projects/opencflite/";
license = lib.licenses.apsl20;
};
}

View File

@ -175,8 +175,6 @@ impure-cmds // appleSourcePackages // chooseLibs // {
inherit (apple_sdk_11_0.libs) simd;
};
opencflite = callPackage ../os-specific/darwin/opencflite { };
openwith = pkgs.darwin.apple_sdk_11_0.callPackage ../os-specific/darwin/openwith {
inherit (apple_sdk_11_0.frameworks) AppKit Foundation UniformTypeIdentifiers;
};