diff options
author | Kim Simmons <zoomulator@gmail.com> | 2013-11-21 11:19:56 +0100 |
---|---|---|
committer | Kim Simmons <zoomulator@gmail.com> | 2013-11-21 11:19:56 +0100 |
commit | d70e11672f7f7f08255b7e30f621e8ac05f7af00 (patch) | |
tree | 7dbfaab436e402c901ce442e2f938bf06874303b /pkgs/applications/graphics | |
parent | 7a18f1125ef59838a92275a2cdd3a67d7c43899e (diff) | |
download | nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar.gz nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar.bz2 nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar.lz nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar.xz nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.tar.zst nixlib-d70e11672f7f7f08255b7e30f621e8ac05f7af00.zip |
grafx2: new package
GrafX2 is a bitmap paint program inspired by the Amiga programs Deluxe Paint and Brilliance. Specialized in 256-color drawing.
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/grafx2/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/grafx2/default.nix b/pkgs/applications/graphics/grafx2/default.nix new file mode 100644 index 000000000000..938f5bb497f2 --- /dev/null +++ b/pkgs/applications/graphics/grafx2/default.nix @@ -0,0 +1,32 @@ +{ 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"; + }; + + buildInputs = [ SDL SDL_image SDL_ttf libpng zlib lua5 pkgconfig ]; + + buildPhase = '' + cd src + make + ''; + + installPhase = '' + mkdir -p "$out" + make install prefix="$out" + ''; + + meta = { + description = "GrafX2 is a 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 ]; + }; +} |