1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses,
freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2,
freeglut, libsamplerate, pcre, libevent, libedit, yajl,
python, openssl, glfw
}:
stdenv.mkDerivation {
name = "io-2013.12.04";
src = fetchurl {
url = http://github.com/stevedekorte/io/tarball/2013.12.04;
name = "io-2013.12.04.tar.gz";
sha256 = "0kvwr32xdpcr32rnv301xr5l89185dsisbj4v465m68isas0gjm5";
};
buildInputs = [
cmake zlib sqlite gmp libffi cairo ncurses freetype mesa
libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl
];
# for gcc5; c11 inline semantics breaks the build
NIX_CFLAGS_COMPILE = "-fgnu89-inline";
meta = {
description = "Io programming language";
maintainers = with stdenv.lib.maintainers; [
raskin
z77z
];
platforms = stdenv.lib.platforms.linux;
};
}
|