1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/interpreters/io/default.nix

53 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
2019-11-10 16:44:34 +00:00
ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile,
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
python3, openssl, glfw, pkg-config, libpthreadstubs, libXdmcp, libmemcached
}:
stdenv.mkDerivation {
name = "io-2015.11.11";
src = fetchFromGitHub {
owner = "stevedekorte";
repo = "io";
rev = "1fc725e0a8635e2679cbb20521f4334c25273caa";
sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
};
2016-07-07 00:22:32 +01:00
nativeBuildInputs = [
cmake
];
buildInputs = [
2016-07-07 00:22:32 +01:00
zlib sqlite gmp libffi cairo ncurses freetype
2019-11-10 16:44:34 +00:00
libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl
pkg-config glfw openssl libpthreadstubs libXdmcp
libmemcached python3
];
2016-07-07 00:22:32 +01:00
preConfigure = ''
# The Addon generation (AsyncRequest and a others checked) seems to have
# trouble with building on Virtual machines. Disabling them until it
# can be fully investigated.
sed -ie \
"s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \
CMakeLists.txt
'';
# for gcc5; c11 inline semantics breaks the build
NIX_CFLAGS_COMPILE = "-fgnu89-inline";
meta = with lib; {
description = "Io programming language";
homepage = "http://iolanguage.org/";
2016-07-07 00:22:32 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [
raskin
maggesi
vrthra
];
platforms = [ "x86_64-linux" ];
};
}