vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / applications / office / tagainijisho / default.nix
blobcc2522ffa7282481e51392133c7e0db6b718e6d4
1 { stdenv, lib, fetchzip, qtbase, qttools, cmake, sqlite, wrapQtAppsHook }:
3 stdenv.mkDerivation rec {
4   pname = "tagainijisho";
5   version = "1.2.2";
7   src = fetchzip {
8     url = "https://github.com/Gnurou/tagainijisho/releases/download/${version}/tagainijisho-${version}.tar.gz";
9     hash = "sha256-CTDMoYGbVE4W0SDerW//aAdUVsySWFQycSy0I3a9+94=";
10   };
12   nativeBuildInputs = [ qttools cmake wrapQtAppsHook ];
13   buildInputs = [ qtbase sqlite ];
15   cmakeFlags = [
16     "-DEMBED_SQLITE=OFF"
17   ];
19   meta = with lib; {
20     description = "Free, open-source Japanese dictionary and kanji lookup tool";
21     mainProgram = "tagainijisho";
22     homepage = "https://www.tagaini.net/";
23     license = with licenses; [
24       /* program */
25       gpl3Plus
26       /* data */
27       cc-by-sa-30
28     ];
29     platforms = platforms.linux;
30     maintainers = with maintainers; [ vbgl ];
31   };