making mupdf buildable in our nix flake
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2025-09-12 07:27:57 -05:00
parent 044dcd6fea
commit e98e6c7619
3 changed files with 758 additions and 359 deletions

1109
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -38,7 +38,9 @@ rapidhash = "4.0.0"
rapidfuzz = "0.5.0"
# femtovg = { version = "0.16.0", features = ["wgpu"] }
# wgpu = "26.0.1"
mupdf = "0.5.0"
# mupdf = "0.5.0"
mupdf = { version = "0.5.0", git = "https://github.com/messense/mupdf-rs", rev="2425c1405b326165b06834dcc1ca859015f92787"}
# rfd = { version = "0.12.1", features = ["xdg-portal"], default-features = false }
[dependencies.libcosmic]

View file

@ -45,6 +45,7 @@
lldb
cmake
clang
libclang
makeWrapper
vulkan-headers
vulkan-loader
@ -88,9 +89,10 @@
pkgs.wayland-protocols
pkgs.libxkbcommon
pkgs.mupdf
pkgs.clang
pkgs.libclang
]
}";
# LIBCLANG_PATH = "${pkgs.clang}";
DATABASE_URL = "sqlite:///home/chris/.local/share/lumina/library-db.sqlite3";
};
defaultPackage = naersk'.buildPackage {