qolibri: 2019-07-22 -> 2.1.4

This commit is contained in:
Jacavena 2022-09-14 09:53:59 +08:00 committed by ehmry
parent d6ba3c97b2
commit 4511f696fb

View file

@ -1,22 +1,26 @@
{ mkDerivation, lib, fetchFromGitHub, pkg-config, cmake, libeb, lzo
, qtbase, qtmultimedia, qttools, qtwebengine }:
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, libeb, lzo
, qtmultimedia, qttools, qtwebengine, wrapQtAppsHook }:
mkDerivation {
stdenv.mkDerivation rec {
pname = "qolibri";
version = "2019-07-22";
version = "2.1.4";
src = fetchFromGitHub {
owner = "ludios";
repo = "qolibri";
rev = "b58f9838d39300cba444eba725a369181c5d746b";
sha256 = "0kcc6dvbcmq9y7hk8mp23pydiaqz6f0clg64d1f2y04ppphmah42";
rev = version;
sha256 = "jyLF1MKDVH0Lt8lw+O93b+LQ4J+s42O3hebthJk83hg=";
};
nativeBuildInputs = [ pkg-config cmake ];
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
buildInputs = [
libeb lzo qtbase qtmultimedia qttools qtwebengine
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";