nixpkgs-suyu/pkgs/tools/inputmethods/zinnia/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
623 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
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 ];
};
}