10 rustPlatform.buildRustPackage rec {
15 inherit pname version;
16 hash = "sha256-9GhrWhT0mYU2OOeoHGd5XY7BKO/S7cKTnURXi9dF+IU=";
19 cargoHash = "sha256-KGwmTXkY2nv5oWwjs5ZLz6u3bJ7YWJQPqOqJJNxKDkM=";
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
26 darwin.apple_sdk.frameworks.CoreServices
30 wrapProgram $out/bin/typst-live \
31 --suffix PATH : ${lib.makeBinPath [ typst ]}
35 description = "Hot reloading for your typst files";
36 homepage = "https://github.com/ItsEthra/typst-live";
37 license = licenses.mit;
38 maintainers = with maintainers; [ figsoda ];
39 mainProgram = "typst-live";