Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

io: 2013.12.04 -> 2015.11.11

Updating IO language to latest version

(cherry picked from commit c860de987d5eb97a2c8d41e9e1a311c3cf988988)

This also fixes the build

authored by Rahul Gopinath and committed by Joachim Fasting dd06c4e5 72b40093

+34 -14
+34 -14
pkgs/development/interpreters/io/default.nix
··· 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 5 }: 6 7 stdenv.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"; 13 }; 14 15 buildInputs = [ 16 - cmake zlib sqlite gmp libffi cairo ncurses freetype mesa 17 - libpng libtiff libjpeg readline libsndfile libxml2 18 freeglut libsamplerate pcre libevent libedit yajl 19 ]; 20 21 # for gcc5; c11 inline semantics breaks the build 22 NIX_CFLAGS_COMPILE = "-fgnu89-inline"; 23 24 - meta = { 25 description = "Io programming language"; 26 - maintainers = with stdenv.lib.maintainers; [ 27 raskin 28 z77z 29 ]; 30 - platforms = stdenv.lib.platforms.linux; 31 }; 32 }
··· 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 7 stdenv.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 buildInputs = [ 17 + cmake zlib sqlite gmp libffi cairo ncurses freetype 18 + mesa libpng libtiff libjpeg readline libsndfile libxml2 19 freeglut libsamplerate pcre libevent libedit yajl 20 + pkgconfig glfw openssl libpthreadstubs libXdmcp 21 + libmemcached python3 22 ]; 23 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 + 40 # for gcc5; c11 inline semantics breaks the build 41 NIX_CFLAGS_COMPILE = "-fgnu89-inline"; 42 43 + meta = with stdenv.lib; { 44 description = "Io programming language"; 45 + maintainers = with maintainers; [ 46 raskin 47 z77z 48 + vrthra 49 ]; 50 + platforms = platforms.linux; 51 }; 52 }