2011-10-17 09:36:07 +01:00
|
|
|
{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses,
|
|
|
|
freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2,
|
2011-10-17 13:57:15 +01:00
|
|
|
freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
2011-10-17 09:36:07 +01:00
|
|
|
python, openssl, glfw
|
|
|
|
}:
|
2008-11-11 08:53:47 +00:00
|
|
|
|
2011-10-17 09:36:07 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-01-14 14:07:31 +00:00
|
|
|
name = "io-2013.12.04";
|
2011-10-17 09:36:07 +01:00
|
|
|
src = fetchurl {
|
2014-01-14 14:07:31 +00:00
|
|
|
url = http://github.com/stevedekorte/io/tarball/2013.12.04;
|
|
|
|
name = "io-2013.12.04.tar.gz";
|
|
|
|
sha256 = "0kvwr32xdpcr32rnv301xr5l89185dsisbj4v465m68isas0gjm5";
|
2011-10-17 09:36:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake zlib sqlite gmp libffi cairo ncurses freetype mesa
|
2008-11-11 08:53:47 +00:00
|
|
|
libpng libtiff libjpeg readline libsndfile libxml2
|
2011-10-17 13:59:44 +01:00
|
|
|
freeglut libsamplerate pcre libevent libedit yajl
|
2008-11-11 08:53:47 +00:00
|
|
|
];
|
2008-11-12 11:13:49 +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
|
|
|
|
2008-11-11 08:53:47 +00:00
|
|
|
meta = {
|
|
|
|
description = "Io programming language";
|
2011-10-17 09:36:07 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [
|
|
|
|
raskin
|
|
|
|
z77z
|
|
|
|
];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-11-11 08:53:47 +00:00
|
|
|
};
|
|
|
|
}
|