Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
827 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
clangStdenv,
fetchFromGitHub,
cmake,
robin-map,
}:
clangStdenv.mkDerivation (finalAttrs: {
pname = "gnustep-libobjc";
version = "2.3";
src = fetchFromGitHub {
owner = "gnustep";
repo = "libobjc2";
tag = "v${finalAttrs.version}";
hash = "sha256-C7Dwqp5ewtBhuIyfNZmjhGSCBod3xM9KfUXZgHmvIB0=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [ robin-map ];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
meta = with lib; {
broken = clangStdenv.hostPlatform.isDarwin;
description = "Objective-C runtime for use with GNUstep";
homepage = "https://gnustep.github.io/";
license = licenses.mit;
maintainers = with lib.maintainers; [
ashalkhakov
dblsaiko
matthewbauer
];
platforms = platforms.unix;
};
})