2016-10-23 14:27:41 +01:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-10-23 14:27:41 +01:00
|
|
|
buildInputs = [
|
|
|
|
freetype giflib gtk2 lcms2 libjpeg libpng libtiff openjpeg gifsicle
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "A simple GTK painting program";
|
2016-10-23 14:27:41 +01:00
|
|
|
longDescription = ''
|
2019-09-03 23:49:40 +01:00
|
|
|
mtPaint is a simple GTK painting program designed for
|
2016-10-23 14:27:41 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://mtpaint.sourceforge.net/";
|
2016-10-23 14:27:41 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vklquevs ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|