Merge pull request #16765 from rasendubi/io

io: clean up
This commit is contained in:
Joachim Fasting 2016-07-07 23:51:44 +02:00 committed by GitHub
commit 386d4821b4

View File

@ -13,28 +13,25 @@ stdenv.mkDerivation {
sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw"; sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
}; };
nativeBuildInputs = [
cmake
];
buildInputs = [ buildInputs = [
cmake zlib sqlite gmp libffi cairo ncurses freetype zlib sqlite gmp libffi cairo ncurses freetype
mesa libpng libtiff libjpeg readline libsndfile libxml2 mesa libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl freeglut libsamplerate pcre libevent libedit yajl
pkgconfig glfw openssl libpthreadstubs libXdmcp pkgconfig glfw openssl libpthreadstubs libXdmcp
libmemcached python3 libmemcached python3
]; ];
configurePhase='' preConfigure = ''
# The Addon generation (AsyncRequest and a others checked) seems to have # The Addon generation (AsyncRequest and a others checked) seems to have
# trouble with building on Virtual machines. Disabling them until it # trouble with building on Virtual machines. Disabling them until it
# can be fully investigated. # can be fully investigated.
sed -ie \ sed -ie \
"s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \ "s/add_subdirectory(addons)/#add_subdirectory(addons)/g" \
CMakeLists.txt CMakeLists.txt
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$out" ..
'';
installPhase=''
make install
''; '';
# for gcc5; c11 inline semantics breaks the build # for gcc5; c11 inline semantics breaks the build
@ -42,6 +39,9 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Io programming language"; description = "Io programming language";
homepage = http://iolanguage.org/;
license = licenses.bsd3;
maintainers = with maintainers; [ maintainers = with maintainers; [
raskin raskin
z77z z77z