nixpkgs/pkgs/applications/graphics/azpainter/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab
2023-01-08 19:49:19 +01:00
, desktop-file-utils, shared-mime-info, ninja, pkg-config
, libiconv
, libX11, libXcursor, libXext, libXi
2019-08-17 02:18:08 +02:00
, freetype, fontconfig
, libjpeg, libpng, libtiff, libwebp
2019-08-17 02:18:08 +02:00
, zlib
}:
stdenv.mkDerivation rec {
pname = "azpainter";
2023-10-29 09:13:57 +01:00
version = "3.0.7";
2019-08-17 02:18:08 +02:00
src = fetchFromGitLab {
owner = "azelpg";
2019-08-17 02:18:08 +02:00
repo = pname;
2020-04-26 14:11:09 +02:00
rev = "v${version}";
2023-10-29 09:13:57 +01:00
hash = "sha256-RlsiN9pefpTYUh4M8j4Ty/Ipi9StoVcNcICd7QDirhI=";
2019-08-17 02:18:08 +02:00
};
nativeBuildInputs = [
desktop-file-utils # for update-desktop-database
shared-mime-info # for update-mime-info
2023-01-08 19:49:19 +01:00
ninja
pkg-config
];
2019-08-17 02:18:08 +02:00
buildInputs = [
libX11 libXcursor libXext libXi
2019-08-17 02:18:08 +02:00
freetype fontconfig
libjpeg libpng libtiff libwebp
2019-08-17 02:18:08 +02:00
zlib
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
2023-01-08 19:49:19 +01:00
preBuild = ''
cd build
'';
enableParallelBuilding = true;
2019-08-17 02:18:08 +02:00
meta = with lib; {
2019-08-17 02:18:08 +02:00
description = "Full color painting software for illustration drawing";
homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
2019-08-17 02:18:08 +02:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ];
2020-04-26 14:11:09 +02:00
platforms = with platforms; linux ++ darwin;
2024-02-11 03:19:15 +01:00
mainProgram = "azpainter";
2019-08-17 02:18:08 +02:00
};
}