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