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