2016-06-08 06:51:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
|
2019-11-10 16:44:34 +00:00
|
|
|
ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile,
|
2016-06-08 06:51:28 +00:00
|
|
|
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
|
|
|
python3, openssl, glfw, pkgconfig, libpthreadstubs, libXdmcp, libmemcached
|
2011-10-17 08:36:07 +00:00
|
|
|
}:
|
2008-11-11 08:53:47 +00:00
|
|
|
|
2011-10-17 08:36:07 +00:00
|
|
|
stdenv.mkDerivation {
|
2016-06-08 06:51:28 +00:00
|
|
|
name = "io-2015.11.11";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stevedekorte";
|
|
|
|
repo = "io";
|
|
|
|
rev = "1fc725e0a8635e2679cbb20521f4334c25273caa";
|
|
|
|
sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
|
2011-10-17 08:36:07 +00:00
|
|
|
};
|
|
|
|
|
2016-07-06 23:22:32 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2011-10-17 08:36:07 +00:00
|
|
|
buildInputs = [
|
2016-07-06 23:22:32 +00:00
|
|
|
zlib sqlite gmp libffi cairo ncurses freetype
|
2019-11-10 16:44:34 +00:00
|
|
|
libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
|
2011-10-17 12:59:44 +00:00
|
|
|
freeglut libsamplerate pcre libevent libedit yajl
|
2016-06-08 06:51:28 +00: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-06 23:22:32 +00: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 06:51:28 +00: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 06:51:28 +00:00
|
|
|
meta = with stdenv.lib; {
|
2008-11-11 08:53:47 +00:00
|
|
|
description = "Io programming language";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://iolanguage.org/";
|
2016-07-06 23:22:32 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
|
2016-06-08 06:51:28 +00:00
|
|
|
maintainers = with maintainers; [
|
2011-10-17 08:36:07 +00:00
|
|
|
raskin
|
2019-10-07 14:44:58 +00:00
|
|
|
maggesi
|
2016-06-08 06:51:28 +00:00
|
|
|
vrthra
|
2011-10-17 08:36:07 +00:00
|
|
|
];
|
2016-07-26 20:02:50 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2008-11-11 08:53:47 +00:00
|
|
|
};
|
|
|
|
}
|