2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkg-config, lua5 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "2.4.2035";
|
|
|
|
pname = "grafx2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://grafx2.googlecode.com/files/${pname}-${version}-src.tgz";
|
|
|
|
sha256 = "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ SDL SDL_image SDL_ttf libpng zlib lua5 ];
|
|
|
|
|
|
|
|
preBuild = "cd src";
|
|
|
|
|
|
|
|
preInstall = '' mkdir -p "$out" '';
|
|
|
|
|
|
|
|
installPhase = ''make install prefix="$out"'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bitmap paint program inspired by the Amiga programs Deluxe Paint and Brilliance";
|
|
|
|
homepage = "http://pulkomandy.tk/projects/GrafX2";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = [];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|