about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/azpainter/default.nix
blob: 2f636764e1fc86e7986616d021f45502d294e4e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ stdenv, fetchFromGitHub, autoreconfHook
, libX11, libXext, libXi
, freetype, fontconfig
, libpng, libjpeg
, zlib
}:

stdenv.mkDerivation rec {
  pname = "azpainter";
  version = "2.1.5";

  src = fetchFromGitHub {
    owner = "Symbian9";
    repo = pname;
    rev = "refs/tags/v${version}";
    sha256 = "0x5jmsprjissqcvwq75pqq9wgv4k9b7cy507hai8xk6xs3vxwgba";
  };

  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 ];
  };
}