2022-09-14 01:53:59 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, libeb, lzo
|
|
|
|
, qtmultimedia, qttools, qtwebengine, wrapQtAppsHook }:
|
2018-12-18 09:56:37 +00:00
|
|
|
|
2022-09-14 01:53:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "qolibri";
|
2022-09-14 01:53:59 +00:00
|
|
|
version = "2.1.4";
|
2018-12-18 09:56:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ludios";
|
|
|
|
repo = "qolibri";
|
2022-09-14 01:53:59 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "jyLF1MKDVH0Lt8lw+O93b+LQ4J+s42O3hebthJk83hg=";
|
2018-12-18 09:56:37 +00:00
|
|
|
};
|
|
|
|
|
2022-09-14 01:53:59 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
|
2018-12-18 09:56:37 +00:00
|
|
|
buildInputs = [
|
2022-09-14 01:53:59 +00:00
|
|
|
libeb lzo qtmultimedia qtwebengine
|
2018-12-18 09:56:37 +00:00
|
|
|
];
|
|
|
|
|
2022-09-14 01:53:59 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -D $src/qolibri.desktop -t $out/share/applications
|
|
|
|
'';
|
|
|
|
|
2019-09-10 21:26:57 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ludios/qolibri";
|
2018-12-18 09:56:37 +00:00
|
|
|
description = "EPWING reader for viewing Japanese dictionaries";
|
|
|
|
platforms = platforms.linux;
|
2020-01-19 17:18:34 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-12-18 09:56:37 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|