1 { lib, stdenv, fetchFromGitHub
3 , freetype, giflib, gtk3, lcms2, libjpeg, libpng, libtiff, openjpeg, gifsicle
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
13 rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f";
14 sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y";
17 nativeBuildInputs = [ pkg-config ];
19 freetype giflib gtk3 lcms2 libjpeg libpng libtiff openjpeg gifsicle
22 configureFlags = [ "gtk3" "intl" "man" ];
25 description = "Simple GTK painting program";
27 mtPaint is a simple GTK painting program designed for
28 creating icons and pixel based artwork. It can edit indexed palette
29 or 24 bit RGB images and offers basic painting and palette manipulation
30 tools. It also has several other more powerful features such as channels,
32 Due to its simplicity and lack of dependencies it runs well on
33 GNU/Linux, Windows and older PC hardware.
35 homepage = "https://mtpaint.sourceforge.net/";
36 license = lib.licenses.gpl3Plus;
37 platforms = lib.platforms.linux;
38 maintainers = [ lib.maintainers.vklquevs ];
39 mainProgram = "mtpaint";