2021-01-23 13:15:07 +00:00
|
|
|
{ lib, 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 07:51:28 +01:00
|
|
|
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
2021-01-19 06:50:56 +00:00
|
|
|
python3, openssl, glfw, pkg-config, 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
|
2019-11-10 16:44:34 +00:00
|
|
|
libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
|
2011-10-17 13:59:44 +01:00
|
|
|
freeglut libsamplerate pcre libevent libedit yajl
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config glfw openssl libpthreadstubs libXdmcp
|
2016-06-08 07:51:28 +01:00
|
|
|
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
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
meta = with lib; {
|
2008-11-11 08:53:47 +00:00
|
|
|
description = "Io programming language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://iolanguage.org/";
|
2016-07-07 00:22:32 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
|
2016-06-08 07:51:28 +01:00
|
|
|
maintainers = with maintainers; [
|
2011-10-17 09:36:07 +01:00
|
|
|
raskin
|
2019-10-07 15:44:58 +01:00
|
|
|
maggesi
|
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
|
|
|
};
|
|
|
|
}
|