1 { lib, stdenv, fetchFromGitLab
2 , desktop-file-utils, shared-mime-info, ninja, pkg-config
4 , libX11, libXcursor, libXext, libXi
6 , libjpeg, libpng, libtiff, libwebp
10 stdenv.mkDerivation rec {
14 src = fetchFromGitLab {
18 hash = "sha256-NiQYX/Dcl/t30Jx08DKr6EP5ODS00pyEGKh/qiNT5t4=";
22 desktop-file-utils # for update-desktop-database
23 shared-mime-info # for update-mime-info
29 libX11 libXcursor libXext libXi
31 libjpeg libpng libtiff libwebp
33 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
39 enableParallelBuilding = true;
42 description = "Full color painting software for illustration drawing";
43 homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
44 license = licenses.gpl3Plus;
45 maintainers = with maintainers; [ dtzWill ];
46 platforms = with platforms; linux ++ darwin;
47 mainProgram = "azpainter";