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