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

39 lines
859 B
Nix
Raw Normal View History

2019-08-17 00:18:08 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook
, libX11, libXext, libXi
, freetype, fontconfig
, libpng, libjpeg
, zlib
}:
stdenv.mkDerivation rec {
pname = "azpainter";
2019-12-03 13:37:05 +00:00
version = "2.1.5";
2019-08-17 00:18:08 +00:00
src = fetchFromGitHub {
owner = "Symbian9";
repo = pname;
rev = "refs/tags/v${version}";
2019-12-03 13:37:05 +00:00
sha256 = "0x5jmsprjissqcvwq75pqq9wgv4k9b7cy507hai8xk6xs3vxwgba";
2019-08-17 00:18:08 +00:00
};
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 ];
};
}