9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
14 owner = "Enter-tainer";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-liGGnaUhi3/d4SxpiG/P1wp89brqUJaLyo9/KJvPf9I=";
21 lockFile = ./Cargo.lock;
23 "reflexo-0.5.0-rc7" = "sha256-XjzHo9HprI1FVPDwNQ0Gw9iTXspo6PUsxz3BOd6qkL0=";
27 # Disabling tests requiring network access
32 nativeInstallCheckInputs = [
35 versionCheckProgramArg = [ "--version" ];
36 doInstallCheck = true;
39 updateScript = nix-update-script { };
43 changelog = "https://github.com/Enter-tainer/typstyle/blob/${src.rev}/CHANGELOG.md";
44 description = "Format your typst source code";
45 homepage = "https://github.com/Enter-tainer/typstyle";
46 license = lib.licenses.asl20;
47 mainProgram = "typstyle";
48 maintainers = with lib.maintainers; [ drupol ];