17 stdenv.mkDerivation (finalAttrs: {
27 name = "grafx2-${finalAttrs.version}.tar.gz";
28 url = "https://pulkomandy.tk/projects/GrafX2/downloads/65";
29 hash = "sha256-KdY7GUhQp/Q7t/ktLPGxI66ZHy2gDAffn2yB5pmcJCM=";
33 substituteInPlace misc/unix/grafx2.desktop \
34 --replace "Exec=grafx2" "Exec=grafx2-sdl"
53 strictDeps = false; # Why??
55 makeFlags = [ "-C src" ];
62 installManPage misc/unix/grafx2.1
66 homepage = "http://grafx2.eu/";
67 description = "Ultimate 256-color painting program";
69 GrafX2 is a bitmap paint program inspired by the Amiga programs ​Deluxe
70 Paint and Brilliance. Specialized in 256-color drawing, it includes a very
71 large number of tools and effects that make it particularly suitable for
72 pixel art, game graphics, and generally any detailed graphics painted with
75 The program is mostly developed on Haiku, Linux and Windows, but is also
76 portable on many other platforms.
78 license = with lib.licenses; [ gpl2Plus ];
79 mainProgram = "grafx2-sdl";
80 maintainers = with lib.maintainers; [ AndersonTorres ];
81 platforms = lib.platforms.unix;