9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
14 owner = "Enter-tainer";
17 hash = "sha256-TOu/1NiIofY87ttdBPDM2tVRg57FL8v8FCwkf0NFdBQ=";
20 useFetchCargoVendor = true;
21 cargoHash = "sha256-2BX1Ol7eCWs7b5cIwQWWBwFksQ4HO7NmnoP9D384TUQ=";
23 # Disabling tests requiring network access
28 nativeInstallCheckInputs = [
31 versionCheckProgramArg = [ "--version" ];
32 doInstallCheck = true;
35 updateScript = nix-update-script { };
39 changelog = "https://github.com/Enter-tainer/typstyle/blob/v${version}/CHANGELOG.md";
40 description = "Format your typst source code";
41 homepage = "https://github.com/Enter-tainer/typstyle";
42 license = lib.licenses.asl20;
43 mainProgram = "typstyle";
44 maintainers = with lib.maintainers; [ drupol ];