2013-11-21 11:19:56 +01:00
|
|
|
{ stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkgconfig, lua5 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "2.4.2035";
|
|
|
|
name = "grafx2-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://grafx2.googlecode.com/files/${name}-src.tgz";
|
|
|
|
sha256 = "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ SDL SDL_image SDL_ttf libpng zlib lua5 ];
|
2013-11-21 11:19:56 +01:00
|
|
|
|
2013-11-23 09:44:49 +01:00
|
|
|
preBuild = "cd src";
|
2013-11-21 11:19:56 +01:00
|
|
|
|
2013-11-24 16:59:23 +01:00
|
|
|
preInstall = '' mkdir -p "$out" '';
|
2013-11-21 11:19:56 +01:00
|
|
|
|
2013-11-30 12:03:34 +01:00
|
|
|
installPhase = ''make install prefix="$out"'';
|
|
|
|
|
2013-11-21 11:19:56 +01:00
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Bitmap paint program inspired by the Amiga programs Deluxe Paint and Brilliance";
|
2013-11-21 11:19:56 +01:00
|
|
|
homepage = http://code.google.co/p/grafx2/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
|
|
maintainers = [ stdenv.lib.maintainers.zoomulator ];
|
|
|
|
};
|
|
|
|
}
|