13 mupdf-cxx = mupdf.override { enableCxx = true; };
15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
20 owner = "Librum-Reader";
23 fetchSubmodules = true;
24 hash = "sha256-Iwcbcz8LrznFP8rfW6mg9p7klAtTx4daFxylTeFKrH0=";
28 (replaceVars ./use_mupdf_in_nixpkgs.patch {
29 nixMupdfLibPath = "${mupdf-cxx.out}/lib";
30 nixMupdfIncludePath = "${mupdf-cxx.dev}/include";
40 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 ++ lib.optionals stdenv.hostPlatform.isLinux [
54 description = "Application designed to make reading enjoyable and straightforward";
56 Librum is an application designed to make reading enjoyable
57 and straightforward for everyone. It's not just an e-book
58 reader. With Librum, you can manage your own online library
59 and access it from any device anytime, anywhere. It has
60 features like note-taking, AI tooling, and highlighting,
61 while offering customization to make it as personal as you
62 want! Librum also provides free access to over 70,000 books
63 and personal reading statistics while being free and
64 completely open source.
66 homepage = "https://librumreader.com";
67 changelog = "https://github.com/Librum-Reader/Librum/releases/tag/${src.rev}";
68 license = licenses.gpl3Plus;
69 mainProgram = "librum";
70 maintainers = with maintainers; [
74 platforms = platforms.unix;