mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
e155371d1e
* azpainter: 2.1.6 -> 3.0.4 (#157548) * github -> gitlab * 3.0 "remade as a whole" (translated) * new deps * azpainter: add libiconv input on Darwin and add build-time commands and enable parallel building and update meta.homepage Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ lib, stdenv, fetchFromGitLab
|
|
, desktop-file-utils, shared-mime-info
|
|
, libiconv
|
|
, libX11, libXcursor, libXext, libXi
|
|
, freetype, fontconfig
|
|
, libjpeg, libpng, libtiff, libwebp
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "azpainter";
|
|
version = "3.0.4";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "azelpg";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-2gTTF1ti9bO24d75mhwyvJISSgMKdmp+oJVmgzEQHdY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils # for update-desktop-database
|
|
shared-mime-info # for update-mime-info
|
|
];
|
|
|
|
buildInputs = [
|
|
libX11 libXcursor libXext libXi
|
|
freetype fontconfig
|
|
libjpeg libpng libtiff libwebp
|
|
zlib
|
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Full color painting software for illustration drawing";
|
|
homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
platforms = with platforms; linux ++ darwin;
|
|
};
|
|
}
|