qolibri: 2.1.5-unstable-2024-03-17 -> 2.1.5-unstable-2025-01-18 (#428901)

This commit is contained in:
Azat Bahawi 2025-08-09 02:44:32 +03:00 committed by GitHub
commit 56078c1dcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,25 +8,15 @@
qtwebengine, qtwebengine,
wrapQtAppsHook, wrapQtAppsHook,
}: }:
let
eb = fetchFromGitHub {
owner = "mvf";
repo = "eb";
rev = "58e1c3bb9847ed5d05863f478f21e7a8ca3d74c8";
hash = "sha256-gZP+2P6fFADWht2c0hXmljVJQX8RpCq2mWP+KDi+GzE=";
};
in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "qolibri"; pname = "qolibri";
version = "2.1.5-unstable-2024-03-17"; version = "2.1.5-unstable-2025-01-18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mvf"; owner = "mvf";
repo = "qolibri"; repo = "qolibri";
rev = "99f0771184fcb2c5f47aad11c16002ebb8469a3f"; rev = "edc0683915c0a99872a4c04ff53afe0f5df101fb";
hash = "sha256-ArupqwejOO2YK9a3Ky0j20dIHs1jIqJksNIb4K2jwgI="; hash = "sha256-RPcA9pPbd86gJtoHxalDKze0t8DNg/uVQYp9eYTxxyc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -41,7 +31,14 @@ stdenv.mkDerivation {
]; ];
cmakeFlags = [ cmakeFlags = [
"-DQOLIBRI_EB_SOURCE_DIR=${eb}" (lib.cmakeOptionType "filepath" "QOLIBRI_EB_SOURCE_DIR"
"${fetchFromGitHub {
owner = "mvf";
repo = "eb";
rev = "58e1c3bb9847ed5d05863f478f21e7a8ca3d74c8";
hash = "sha256-gZP+2P6fFADWht2c0hXmljVJQX8RpCq2mWP+KDi+GzE=";
}}"
)
]; ];
postInstall = '' postInstall = ''
@ -54,12 +51,12 @@ stdenv.mkDerivation {
done done
''; '';
meta = with lib; { meta = {
description = "EPWING reader for viewing Japanese dictionaries"; description = "EPWING reader for viewing Japanese dictionaries";
homepage = "https://github.com/mvf/qolibri"; homepage = "https://github.com/mvf/qolibri";
license = licenses.gpl2; license = lib.licenses.gpl2;
maintainers = with maintainers; [ azahi ]; maintainers = [ lib.maintainers.azahi ];
platforms = platforms.unix; platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; # Looks like a libcxx version mismatch problem. broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; # Looks like a libcxx version mismatch problem.
mainProgram = "qolibri"; mainProgram = "qolibri";
}; };