12 eb = fetchFromGitHub {
15 rev = "58e1c3bb9847ed5d05863f478f21e7a8ca3d74c8";
16 hash = "sha256-gZP+2P6fFADWht2c0hXmljVJQX8RpCq2mWP+KDi+GzE=";
22 version = "2.1.5-unstable-2024-03-17";
24 src = fetchFromGitHub {
27 rev = "99f0771184fcb2c5f47aad11c16002ebb8469a3f";
28 hash = "sha256-ArupqwejOO2YK9a3Ky0j20dIHs1jIqJksNIb4K2jwgI=";
43 "-DQOLIBRI_EB_SOURCE_DIR=${eb}"
47 install -Dm644 $src/qolibri.desktop -t $out/share/applications
49 for size in 16 32 48 64 128; do
51 $src/images/qolibri-$size.png \
52 $out/share/icons/hicolor/''${size}x''${size}/apps/qolibri.png
57 description = "EPWING reader for viewing Japanese dictionaries";
58 homepage = "https://github.com/mvf/qolibri";
59 license = licenses.gpl2;
60 maintainers = with maintainers; [ azahi ];
61 platforms = platforms.unix;
62 broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; # Looks like a libcxx version mismatch problem.
63 mainProgram = "qolibri";