18 url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
19 sha256 = "08bwv8ppdzhryfcnifgzgdilb12jcnivl4ig6hd44f12d76z6il4";
32 ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.AGL;
35 "--disable-silent-rules"
36 "--disable-dependency-tracking"
39 # NOTE: 2019-09-19: experimental "--enable-npdjvu" fails
40 ] ++ lib.optional stdenv.isDarwin "--enable-mac";
43 mozillaPlugin = "/lib/mozilla/plugins";
47 broken = stdenv.isDarwin;
48 description = "A portable DjVu viewer (Qt5) and browser (nsdejavu) plugin";
49 mainProgram = "djview";
50 homepage = "https://djvu.sourceforge.net/djview4.html";
51 license = licenses.gpl2;
52 platforms = platforms.unix;
53 maintainers = with maintainers; [ Anton-Latukha ];
55 The portable DjVu viewer (Qt5) and browser (nsdejavu) plugin.
58 - entirely based on the public DjVulibre api.
59 - entirely written in portable Qt5.
60 - works natively under Unix/X11, MS Windows, and macOS X.
61 - continuous scrolling of pages
62 - side-by-side display of pages
63 - ability to specify a url to the djview command
64 - all plugin and cgi options available from the command line
65 - all silly annotations implemented
66 - display thumbnails as a grid
68 - page names supported (see djvused command set-page-title)
69 - metadata dialog (see djvused command set-meta)
70 - implemented as reusable Qt widgets
72 nsdejavu: browser plugin for DjVu. It internally uses djview.
73 Has CGI-style arguments to configure the view of document (see man).