summary refs log tree commit diff
path: root/pkgs/applications/graphics/mtpaint/default.nix
diff options
context:
space:
mode:
authorDrill Bear <vklquevs@gmail.com>2016-10-23 14:27:41 +0100
committerDrill Bear <vklquevs@gmail.com>2016-10-23 15:45:49 +0100
commit86793f600ccd3f2eac29e75b4a28705de00a6844 (patch)
treef7739ce5406282f7991ea6c90bc673910406b4ed /pkgs/applications/graphics/mtpaint/default.nix
parentb231edcdaf5534e6657b9f8b5569b1b344170a3f (diff)
downloadnixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar.gz
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar.bz2
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar.lz
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar.xz
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.tar.zst
nixpkgs-86793f600ccd3f2eac29e75b4a28705de00a6844.zip
mtpaint: init at 3.49.12
Diffstat (limited to 'pkgs/applications/graphics/mtpaint/default.nix')
-rw-r--r--pkgs/applications/graphics/mtpaint/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/mtpaint/default.nix b/pkgs/applications/graphics/mtpaint/default.nix
new file mode 100644
index 00000000000..e8c22b37638
--- /dev/null
+++ b/pkgs/applications/graphics/mtpaint/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchFromGitHub
+, pkgconfig
+, freetype, giflib, gtk2, lcms2, libjpeg, libpng, libtiff, openjpeg, gifsicle
+}:
+
+stdenv.mkDerivation rec {
+  p_name  = "mtPaint";
+  ver_maj = "3.49";
+  ver_min = "12";
+  name = "${p_name}-${ver_maj}.${ver_min}";
+
+  src = fetchFromGitHub {
+    owner = "wjaguar";
+    repo = p_name;
+    rev = "6aed1b0441f99055fc7d475942f8bd5cb23c41f8";
+    sha256 = "0bvf623g0n2ifijcxv1nw0z3wbs2vhhdky4n04ywsbjlykm44nd1";
+  };
+
+  buildInputs = [
+    pkgconfig
+    freetype giflib gtk2 lcms2 libjpeg libpng libtiff openjpeg gifsicle
+  ];
+
+  meta = {
+    description = "A simple GTK+1/2 painting program";
+    longDescription = ''
+      mtPaint is a simple GTK+1/2 painting program designed for
+      creating icons and pixel based artwork.  It can edit indexed palette
+      or 24 bit RGB images and offers basic painting and palette manipulation
+      tools. It also has several other more powerful features such as channels,
+      layers and animation.
+      Due to its simplicity and lack of dependencies it runs well on
+      GNU/Linux, Windows and older PC hardware.
+    '';
+    homepage = "http://mtpaint.sourceforge.net/";
+    license = stdenv.lib.licenses.gpl3;
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = [ stdenv.lib.maintainers.vklquevs ];
+  };
+}
+