39 lines
859 B
Nix
39 lines
859 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook
|
|
, libX11, libXext, libXi
|
|
, freetype, fontconfig
|
|
, libpng, libjpeg
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "azpainter";
|
|
version = "2.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Symbian9";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "1hrr9lhsbjyzar3nxvli6cazr7zhyzh0p8hwpg4g9ga6njs8vi8m";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [
|
|
libX11 libXext libXi
|
|
freetype fontconfig
|
|
libpng libjpeg
|
|
zlib
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-freetype-dir=${stdenv.lib.getDev freetype}/include/freetype2"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Full color painting software for illustration drawing";
|
|
homepage = "https://osdn.net/projects/azpainter";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
};
|
|
}
|