1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/grafx2/default.nix

30 lines
844 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkgconfig, lua5 }:
stdenv.mkDerivation rec {
version = "2.4.2035";
pname = "grafx2";
src = fetchurl {
url = "https://grafx2.googlecode.com/files/${pname}-${version}-src.tgz";
sha256 = "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q";
};
nativeBuildInputs = [ pkgconfig ];
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-15 13:21:58 +00:00
license = lib.licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
2021-01-15 13:21:58 +00:00
maintainers = [ lib.maintainers.zoomulator ];
};
}