depot/third_party/nixpkgs/pkgs/desktops/gnustep/libobjc2/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +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;
};
})