fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
2 ncurses, freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile,
3 libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
4 python3, openssl, glfw, pkgconfig, libpthreadstubs, libXdmcp, libmemcached
5}:
6
7stdenv.mkDerivation {
8 name = "io-2015.11.11";
9 src = fetchFromGitHub {
10 owner = "stevedekorte";
11 repo = "io";
12 rev = "1fc725e0a8635e2679cbb20521f4334c25273caa";
13 sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
14 };
15
16 nativeBuildInputs = [
17 cmake
18 ];
19
20 buildInputs = [
21 zlib sqlite gmp libffi cairo ncurses freetype
22 mesa libpng libtiff libjpeg readline libsndfile libxml2
23 freeglut libsamplerate pcre libevent libedit yajl
24 pkgconfig glfw openssl libpthreadstubs libXdmcp
25 libmemcached python3
26 ];
27
28 preConfigure = ''
29 # The Addon generation (AsyncRequest and a others checked) seems to have
30 # trouble with building on Virtual machines. Disabling them until it
31 # can be fully investigated.
32 sed -ie \
33 "s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \
34 CMakeLists.txt
35 '';
36
37 # for gcc5; c11 inline semantics breaks the build
38 NIX_CFLAGS_COMPILE = "-fgnu89-inline";
39
40 meta = with stdenv.lib; {
41 description = "Io programming language";
42 homepage = http://iolanguage.org/;
43 license = licenses.bsd3;
44
45 maintainers = with maintainers; [
46 raskin
47 z77z
48 vrthra
49 ];
50 platforms = [ "x86_64-linux" ];
51 };
52}