depot/pkgs/desktops/gnustep/libobjc2/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
777 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, robin-map
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libobjc2";
version = "2.2.1";
src = fetchFromGitHub {
owner = "gnustep";
repo = "libobjc2";
rev = "v${finalAttrs.version}";
hash = "sha256-+NP214bbisk7dCFAHaxnhNOfC/0bZLp8Dd2A9F2vK+s=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [ robin-map ];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Objective-C runtime for use with GNUstep";
homepage = "https://gnustep.github.io/";
license = licenses.mit;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
platforms = platforms.unix;
};
})