1 { lib, stdenv, fetchurl
2 , libpng, libjpeg, libogg, libvorbis, freetype, smpeg
3 , SDL, SDL_image, SDL_mixer, SDL_ttf }:
7 pname = "onscripter-en";
11 # The website is not available now.
12 url = "https://www.dropbox.com/s/ag21owy9poyr2oy/onscripter-en-20111009-src.tar.bz2";
13 sha256 = "sha256-pir3ExhehJ9zNygDN83S4GOs5ugDNMjngxEwklAz9c8=";
16 buildInputs = [ libpng libjpeg libogg libvorbis freetype smpeg
17 SDL SDL_image SDL_mixer SDL_ttf
20 configureFlags = [ "--no-werror" ];
22 # Without this libvorbisfile.so is not getting linked properly for some reason.
23 NIX_CFLAGS_LINK = "-lvorbisfile";
26 sed -i 's/.dll//g' Makefile
30 broken = stdenv.isDarwin;
31 description = "Japanese visual novel scripting engine";
32 homepage = "http://unclemion.com/onscripter/";
33 license = licenses.gpl2;
34 platforms = platforms.unix;
35 maintainers = with maintainers; [ abbradar ];