2022-02-20 05:27:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab
|
|
|
|
, desktop-file-utils, shared-mime-info
|
|
|
|
, libiconv
|
|
|
|
, libX11, libXcursor, libXext, libXi
|
2020-04-24 23:36:52 +00:00
|
|
|
, freetype, fontconfig
|
2022-02-20 05:27:41 +00:00
|
|
|
, libjpeg, libpng, libtiff, libwebp
|
2020-04-24 23:36:52 +00:00
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "azpainter";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "3.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "azelpg";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = pname;
|
2020-05-03 17:38:23 +00:00
|
|
|
rev = "v${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
hash = "sha256-2gTTF1ti9bO24d75mhwyvJISSgMKdmp+oJVmgzEQHdY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils # for update-desktop-database
|
|
|
|
shared-mime-info # for update-mime-info
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2022-02-20 05:27:41 +00:00
|
|
|
libX11 libXcursor libXext libXi
|
2020-04-24 23:36:52 +00:00
|
|
|
freetype fontconfig
|
2022-02-20 05:27:41 +00:00
|
|
|
libjpeg libpng libtiff libwebp
|
2020-04-24 23:36:52 +00:00
|
|
|
zlib
|
2022-02-20 05:27:41 +00:00
|
|
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Full color painting software for illustration drawing";
|
2022-02-20 05:27:41 +00:00
|
|
|
homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2020-05-03 17:38:23 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|