11 rustPlatform.buildRustPackage rec {
16 inherit pname version;
17 hash = "sha256-bR4Rhhs6rAC6C1nfPFj/3rCtfEziuTGn5m33CR0qZkU=";
20 cargoHash = "sha256-jUtlJ5LPEy/4BX2G5z/UbOYM5nPNH/hTC7MiMrqYWRI=";
26 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
27 darwin.apple_sdk.frameworks.CoreServices
31 wrapProgram $out/bin/typst-live \
32 --suffix PATH : ${lib.makeBinPath [ typst ]}
36 description = "Hot reloading for your typst files";
37 homepage = "https://github.com/ItsEthra/typst-live";
38 license = licenses.mit;
39 maintainers = with maintainers; [ figsoda ];
40 mainProgram = "typst-live";