2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, SDL
|
|
|
|
, SDL_image
|
|
|
|
, SDL_ttf
|
|
|
|
, fontconfig
|
|
|
|
, libpng
|
|
|
|
, libtiff
|
|
|
|
, lua5
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "2.8.3091";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "grafx2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-05-24 13:37:59 +00:00
|
|
|
url = "https://pulkomandy.tk/projects/GrafX2/downloads/65";
|
|
|
|
name = "${pname}-${version}.tar.gz";
|
|
|
|
hash = "sha256-KdY7GUhQp/Q7t/ktLPGxI66ZHy2gDAffn2yB5pmcJCM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2023-05-24 13:37:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
SDL
|
|
|
|
SDL_image
|
|
|
|
SDL_ttf
|
|
|
|
fontconfig
|
|
|
|
libpng
|
|
|
|
libtiff
|
|
|
|
lua5
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "-C src" ];
|
|
|
|
installFlags = [ "-C src" "PREFIX=$(out)" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 = [];
|
2023-05-24 13:37:59 +00:00
|
|
|
mainProgram = "grafx2-sdl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|