summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/zinnia/default.nix
blob: b1516aa56ab05f3690b35fd3bc3dcf55a3ce2e2b (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
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
  pname = "zinnia";
  version = "2016-08-28";

  src = fetchFromGitHub {
    owner = "taku910";
    repo = "zinnia";
    rev = "fd74d8c8680bb3df8692279151ea6339ab68e32b";
    sha256 = "1izjy5qw6swg0rs2ym2i72zndb90mwrfbd1iv8xbpwckbm4899lg";
  };

  setSourceRoot = ''
    sourceRoot=$(echo */zinnia)
  '';

  meta = with stdenv.lib; {
    description = "Online hand recognition system with machine learning";
    homepage = "http://taku910.github.io/zinnia/";
    license = licenses.bsd2;
    platforms = platforms.unix;
    maintainers = [ maintainers.gebner ];
  };
}