11 rustPlatform.buildRustPackage {
13 version = "0-unstable-2024-10-09";
15 src = fetchFromGitHub {
16 owner = "itsjunetime";
18 fetchSubmodules = true;
19 rev = "f6d339923bc71d3f637f24bf0c6eef6dacb61bf9";
20 hash = "sha256-C1S5u1EsOYvUE1CqreeBg7Z5Oj+mzCf0zPdZBz0LNLw=";
24 lockFile = ./Cargo.lock;
26 "ratatui-0.28.1" = "sha256-riVdXpHW5J1f4YY2A32YLpwydxn/kJ1cHRdm7CCdoN8=";
27 "ratatui-image-2.0.1" = "sha256-ZFd7ABeyuO270vWEZEE685Bil6sq3RndqoD7TSU8qmU=";
28 "vb64-0.1.2" = "sha256-Ypb59Rtn0ZkP6fwqIqOEeiNLcmzB368CkViIVCxpCI8=";
32 nativeBuildInputs = [ pkg-config ];
41 # No tests are currently present
44 # requires nightly features (feature(portable_simd))
45 RUSTC_BOOTSTRAP = true;
48 description = "Tui-based PDF viewer";
49 homepage = "https://github.com/itsjunetime/tdf";
50 license = lib.licenses.mpl20;
51 maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
53 platforms = lib.platforms.linux;