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

39 lines
859 B
Nix
Raw Normal View History

2019-08-17 01:18:08 +01:00
{ 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 ];
};
}