2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-01-07 22:42:32 +00:00
|
|
|
, pkg-config
|
|
|
|
, freetype, giflib, gtk3, lcms2, libjpeg, libpng, libtiff, openjpeg, gifsicle
|
2016-10-23 14:27:41 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "mtPaint";
|
2021-01-07 22:42:32 +00:00
|
|
|
ver_maj = "3.50";
|
|
|
|
ver_min = "01";
|
2016-10-23 14:27:41 +01:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wjaguar";
|
|
|
|
repo = p_name;
|
2021-01-07 22:42:32 +00:00
|
|
|
rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f";
|
|
|
|
sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y";
|
2016-10-23 14:27:41 +01:00
|
|
|
};
|
|
|
|
|
2021-01-07 22:42:32 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-10-23 14:27:41 +01:00
|
|
|
buildInputs = [
|
2021-01-07 22:42:32 +00:00
|
|
|
freetype giflib gtk3 lcms2 libjpeg libpng libtiff openjpeg gifsicle
|
2016-10-23 14:27:41 +01:00
|
|
|
];
|
|
|
|
|
2021-01-07 22:42:32 +00:00
|
|
|
configureFlags = [ "gtk3" "intl" "man" ];
|
|
|
|
|
2016-10-23 14:27:41 +01:00
|
|
|
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/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.vklquevs ];
|
2016-10-23 14:27:41 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|