mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
3fe86ac582
c11 inline semantics breaks the build See https://github.com/stevedekorte/io/issues/316 and https://hydra.nixos.org/build/33606216/nixlog/1/raw
33 lines
947 B
Nix
33 lines
947 B
Nix
{ 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;
|
|
};
|
|
}
|