2016-07-15 20:04:41 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
2014-11-17 12:32:49 +01:00
|
|
|
|
|
|
|
let
|
2016-07-15 20:04:41 +02:00
|
|
|
version = "1.8.1";
|
2014-11-17 12:32:49 +01:00
|
|
|
in
|
2016-07-15 20:04:41 +02:00
|
|
|
|
2014-11-17 12:32:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libobjc2-${version}";
|
2016-07-15 20:04:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnustep";
|
|
|
|
repo = "libobjc2";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "12v9pjg97h56mb114cqd22q1pdwhmxrgdw5hal74ddlrhiq1nzvi";
|
2014-11-17 12:32:49 +01:00
|
|
|
};
|
2016-07-15 20:04:41 +02:00
|
|
|
|
2016-06-29 22:05:48 +02:00
|
|
|
buildInputs = [ 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";
|
|
|
|
homepage = http://gnustep.org/;
|
2016-07-15 20:04:41 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ashalkhakov matthewbauer ];
|
|
|
|
platforms = platforms.unix;
|
2018-11-03 03:12:17 +01:00
|
|
|
badPlatforms = [ "aarch64-linux" ];
|
2014-11-17 12:32:49 +01:00
|
|
|
};
|
2016-06-29 22:05:48 +02:00
|
|
|
}
|