about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/inputmethods/tegaki-zinnia-japanese/default.nix
blob: 6274451364103ad709da6d27699aa05a7e38c7ec (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
{ lib, stdenv, fetchurl, unzip }:

stdenv.mkDerivation {
  pname = "tegaki-zinnia-japanese";
  version = "0.3";

  src = fetchurl {
    url = "http://www.tegaki.org/releases/0.3/models/tegaki-zinnia-japanese-0.3.zip";
    sha256 = "1nmg9acxhcqly9gwkyb9m0hpy76fll91ywk4b1q4xms0ajxip1h7";
  };

  meta = with lib; {
    description = "Japanese handwriting model for the Zinnia engine";
    homepage = "http://tegaki.org/";
    license = licenses.lgpl21;
    platforms = platforms.unix;
    maintainers = [ maintainers.gebner ];
  };

  nativeBuildInputs = [ unzip ];

  makeFlags = [ "installpath=$(out)/share/tegaki/models/zinnia/" ];
}