16 stdenv.mkDerivation (finalAttrs: {
20 outputs = [ "out" "man" ];
23 name = "grafx2-${finalAttrs.version}.tar.gz";
24 url = "https://pulkomandy.tk/projects/GrafX2/downloads/65";
25 hash = "sha256-KdY7GUhQp/Q7t/ktLPGxI66ZHy2gDAffn2yB5pmcJCM=";
29 substituteInPlace misc/unix/grafx2.desktop \
30 --replace "Exec=grafx2" "Exec=grafx2-sdl"
49 strictDeps = false; # Why??
51 makeFlags = [ "-C src" ];
52 installFlags = [ "-C src" "PREFIX=$(out)" ];
55 installManPage misc/unix/grafx2.1
59 homepage = "http://grafx2.eu/";
60 description = "Ultimate 256-color painting program";
62 GrafX2 is a bitmap paint program inspired by the Amiga programs ​Deluxe
63 Paint and Brilliance. Specialized in 256-color drawing, it includes a very
64 large number of tools and effects that make it particularly suitable for
65 pixel art, game graphics, and generally any detailed graphics painted with
68 The program is mostly developed on Haiku, Linux and Windows, but is also
69 portable on many other platforms.
71 license = with lib.licenses; [ gpl2Plus ];
72 mainProgram = "grafx2-sdl";
73 maintainers = with lib.maintainers; [ AndersonTorres ];
74 platforms = lib.platforms.unix;