git.iko.soy/typeable/nixpkgs
on master help sign in
io: 2013.12.04 -> 2015.11.11

Updating IO language to latest version

commitc860de987d5eb97a2c8d41e9e1a311c3cf988988 authorRahul Gopinath <rahul@gopinath.org> dateTue 7 Jun 2016, 23:51 (10 years ago) parent1090962
1 file changed+34−14
pkgs/development/interpreters/io/default.nix+34−14
pkgs/development/interpreters/io/default.nix+34−14
@@ -1,32 +1,52 @@
1−{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses,
2− freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2,
3− freeglut, libsamplerate, pcre, libevent, libedit, yajl,
4− python, openssl, glfw
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
55}:
66
77stdenv.mkDerivation {
8− name = "io-2013.12.04";
9− src = fetchurl {
10− url = http://github.com/stevedekorte/io/tarball/2013.12.04;
11− name = "io-2013.12.04.tar.gz";
12− sha256 = "0kvwr32xdpcr32rnv301xr5l89185dsisbj4v465m68isas0gjm5";
8+ name = "io-2015.11.11";
9+ src = fetchFromGitHub {
10+ owner = "stevedekorte";
11+ repo = "io";
12+ rev = "1fc725e0a8635e2679cbb20521f4334c25273caa";
13+ sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
1314 };
1415
1516 buildInputs = [
16− cmake zlib sqlite gmp libffi cairo ncurses freetype mesa
17− libpng libtiff libjpeg readline libsndfile libxml2
17+ cmake zlib sqlite gmp libffi cairo ncurses freetype
18+ mesa libpng libtiff libjpeg readline libsndfile libxml2
1819 freeglut libsamplerate pcre libevent libedit yajl
20+ pkgconfig glfw openssl libpthreadstubs libXdmcp
21+ libmemcached python3
1922 ];
2023
24+ configurePhase=''
25+ # The Addon generation (AsyncRequest and a others checked) seems to have
26+ # trouble with building on Virtual machines. Disabling them until it
27+ # can be fully investigated.
28+ sed -ie \
29+ "s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \
30+ CMakeLists.txt
31+ mkdir build
32+ cd build
33+ cmake -DCMAKE_INSTALL_PREFIX="$out" ..
34+ '';
35+
36+ installPhase=''
37+ make install
38+ '';
39+
2140 # for gcc5; c11 inline semantics breaks the build
2241 NIX_CFLAGS_COMPILE = "-fgnu89-inline";
2342
24− meta = {
43+ meta = with stdenv.lib; {
2544 description = "Io programming language";
26− maintainers = with stdenv.lib.maintainers; [
45+ maintainers = with maintainers; [
2746 raskin
2847 z77z
48+ vrthra
2949 ];
30− platforms = stdenv.lib.platforms.linux;
50+ platforms = platforms.linux;
3151 };
3252}