blob: c0530dfe78e3046ce34a621c8c62fe9c20dbb48e (
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, fetchFromGitHub, pkg-config, cmake, libeb, lzo
, qtmultimedia, qttools, qtwebengine, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "qolibri";
version = "2.1.4";
src = fetchFromGitHub {
owner = "ludios";
repo = "qolibri";
rev = version;
sha256 = "jyLF1MKDVH0Lt8lw+O93b+LQ4J+s42O3hebthJk83hg=";
};
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
buildInputs = [
libeb lzo qtmultimedia qtwebengine
];
postInstall = ''
install -D $src/qolibri.desktop -t $out/share/applications
'';
meta = with lib; {
homepage = "https://github.com/ludios/qolibri";
description = "EPWING reader for viewing Japanese dictionaries";
mainProgram = "qolibri";
platforms = platforms.linux;
maintainers = with maintainers; [ ];
license = licenses.gpl2;
};
}
|