2016-06-29 22:05:48 +02:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
2014-11-17 12:32:49 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "1.7";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libobjc2-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2";
|
|
|
|
sha256 = "1h9wkm1x9wrzd3alm99bx710lrs9nb8h2x5jpxbqwgbgzzv4l6rs";
|
|
|
|
};
|
2016-06-29 22:05:48 +02:00
|
|
|
buildInputs = [ cmake ];
|
2014-11-17 12:32:49 +01:00
|
|
|
|
|
|
|
# since we don't support Objective-C++, we don't interoperate
|
|
|
|
# with C++ either
|
|
|
|
patches = [ ./removeCXXtests.patch ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Objective-C runtime for use with GNUstep";
|
|
|
|
|
|
|
|
homepage = http://gnustep.org/;
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
2016-06-29 22:05:48 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
2014-11-17 12:32:49 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2016-06-29 22:05:48 +02:00
|
|
|
}
|