2016-07-15 19:04:41 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
2014-11-17 11:32:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-26 23:44:21 +01:00
|
|
|
pname = "libobjc2";
|
2019-06-02 04:26:25 +01:00
|
|
|
version = "2.0";
|
2016-07-15 19:04:41 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnustep";
|
|
|
|
repo = "libobjc2";
|
|
|
|
rev = "v${version}";
|
2019-06-02 04:26:25 +01:00
|
|
|
sha256 = "1b4h0a4pqr8j6300qr2wmi33r7ysvp705gs0ypx69hbmifln0mlf";
|
2014-11-17 11:32:49 +00:00
|
|
|
};
|
2016-07-15 19:04:41 +01:00
|
|
|
|
2019-04-26 23:44:21 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-11-17 11:32:49 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
|
|
|
|
2016-07-15 19:04:41 +01:00
|
|
|
meta = with lib; {
|
2014-11-17 11:32:49 +00:00
|
|
|
description = "Objective-C runtime for use with GNUstep";
|
|
|
|
homepage = http://gnustep.org/;
|
2016-07-15 19:04:41 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ashalkhakov matthewbauer ];
|
|
|
|
platforms = platforms.unix;
|
2018-11-03 02:12:17 +00:00
|
|
|
badPlatforms = [ "aarch64-linux" ];
|
2014-11-17 11:32:49 +00:00
|
|
|
};
|
2016-06-29 21:05:48 +01:00
|
|
|
}
|