2022-10-21 18:38:19 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, libeb, lzo
|
|
|
|
, qtmultimedia, qttools, qtwebengine, wrapQtAppsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "qolibri";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ludios";
|
|
|
|
repo = "qolibri";
|
2022-10-21 18:38:19 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "jyLF1MKDVH0Lt8lw+O93b+LQ4J+s42O3hebthJk83hg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2022-10-21 18:38:19 +00:00
|
|
|
libeb lzo qtmultimedia qtwebengine
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -D $src/qolibri.desktop -t $out/share/applications
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ludios/qolibri";
|
|
|
|
description = "EPWING reader for viewing Japanese dictionaries";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|