blob: cc2522ffa7282481e51392133c7e0db6b718e6d4 (
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
|
{ stdenv, lib, fetchzip, qtbase, qttools, cmake, sqlite, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "tagainijisho";
version = "1.2.2";
src = fetchzip {
url = "https://github.com/Gnurou/tagainijisho/releases/download/${version}/tagainijisho-${version}.tar.gz";
hash = "sha256-CTDMoYGbVE4W0SDerW//aAdUVsySWFQycSy0I3a9+94=";
};
nativeBuildInputs = [ qttools cmake wrapQtAppsHook ];
buildInputs = [ qtbase sqlite ];
cmakeFlags = [
"-DEMBED_SQLITE=OFF"
];
meta = with lib; {
description = "Free, open-source Japanese dictionary and kanji lookup tool";
mainProgram = "tagainijisho";
homepage = "https://www.tagaini.net/";
license = with licenses; [
/* program */
gpl3Plus
/* data */
cc-by-sa-30
];
platforms = platforms.linux;
maintainers = with maintainers; [ vbgl ];
};
}
|