blob: 26454897ddabd56918f7bedab03f47626102cf23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ lib
, stdenv
, fetchurl
, SDL
, SDL_image
, SDL_ttf
, fontconfig
, libpng
, libtiff
, lua5
, pkg-config
, zlib
}:
stdenv.mkDerivation rec {
version = "2.8.3091";
pname = "grafx2";
src = fetchurl {
url = "https://pulkomandy.tk/projects/GrafX2/downloads/65";
name = "${pname}-${version}.tar.gz";
hash = "sha256-KdY7GUhQp/Q7t/ktLPGxI66ZHy2gDAffn2yB5pmcJCM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
SDL
SDL_image
SDL_ttf
fontconfig
libpng
libtiff
lua5
zlib
];
makeFlags = [ "-C src" ];
installFlags = [ "-C src" "PREFIX=$(out)" ];
meta = {
description = "Bitmap paint program inspired by the Amiga programs Deluxe Paint and Brilliance";
homepage = "http://pulkomandy.tk/projects/GrafX2";
license = lib.licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = [];
mainProgram = "grafx2-sdl";
};
}
|