mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
531e4b80c9
Only acts on one-line dependency lists.
30 lines
844 B
Nix
30 lines
844 B
Nix
{ stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkgconfig, lua5 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.4.2035";
|
|
name = "grafx2-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://grafx2.googlecode.com/files/${name}-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://code.google.co/p/grafx2/;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
maintainers = [ stdenv.lib.maintainers.zoomulator ];
|
|
};
|
|
}
|