2016-06-08 07:51:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
|
|
|
|
ncurses, freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile,
|
|
|
|
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
|
|
|
python3, openssl, glfw, pkgconfig, libpthreadstubs, libXdmcp, libmemcached
|
2011-10-17 09:36:07 +01:00
|
|
|
}:
|
2008-11-11 08:53:47 +00:00
|
|
|
|
2011-10-17 09:36:07 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-06-08 07:51:28 +01:00
|
|
|
name = "io-2015.11.11";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stevedekorte";
|
|
|
|
repo = "io";
|
|
|
|
rev = "1fc725e0a8635e2679cbb20521f4334c25273caa";
|
|
|
|
sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
|
2011-10-17 09:36:07 +01:00
|
|
|
};
|
|
|
|
|
2016-07-07 00:22:32 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2011-10-17 09:36:07 +01:00
|
|
|
buildInputs = [
|
2016-07-07 00:22:32 +01:00
|
|
|
zlib sqlite gmp libffi cairo ncurses freetype
|
2016-06-08 07:51:28 +01:00
|
|
|
mesa libpng libtiff libjpeg readline libsndfile libxml2
|
2011-10-17 13:59:44 +01:00
|
|
|
freeglut libsamplerate pcre libevent libedit yajl
|
2016-06-08 07:51:28 +01:00
|
|
|
pkgconfig glfw openssl libpthreadstubs libXdmcp
|
|
|
|
libmemcached python3
|
2008-11-11 08:53:47 +00:00
|
|
|
];
|
2008-11-12 11:13:49 +00:00
|
|
|
|
2016-07-07 00:22:32 +01:00
|
|
|
preConfigure = ''
|
|
|
|
# The Addon generation (AsyncRequest and a others checked) seems to have
|
|
|
|
# trouble with building on Virtual machines. Disabling them until it
|
|
|
|
# can be fully investigated.
|
|
|
|
sed -ie \
|
|
|
|
"s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \
|
|
|
|
CMakeLists.txt
|
2016-06-08 07:51:28 +01:00
|
|
|
'';
|
|
|
|
|
2016-03-26 14:39:20 +00:00
|
|
|
# for gcc5; c11 inline semantics breaks the build
|
|
|
|
NIX_CFLAGS_COMPILE = "-fgnu89-inline";
|
2008-11-12 11:13:49 +00:00
|
|
|
|
2016-06-08 07:51:28 +01:00
|
|
|
meta = with stdenv.lib; {
|
2008-11-11 08:53:47 +00:00
|
|
|
description = "Io programming language";
|
2016-07-07 00:22:32 +01:00
|
|
|
homepage = http://iolanguage.org/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
|
2016-06-08 07:51:28 +01:00
|
|
|
maintainers = with maintainers; [
|
2011-10-17 09:36:07 +01:00
|
|
|
raskin
|
|
|
|
z77z
|
2016-06-08 07:51:28 +01:00
|
|
|
vrthra
|
2011-10-17 09:36:07 +01:00
|
|
|
];
|
2016-07-26 21:02:50 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2008-11-11 08:53:47 +00:00
|
|
|
};
|
|
|
|
}
|