From 153e573ae33798f8e84f8ddd28dcba1d9f2b51bd Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 1 Sep 2023 16:37:33 -0400 Subject: [PATCH] typst-live: unstable-2023-05-27 -> 0.6.0 https://github.com/ItsEthra/typst-live/compare/10a2da57b93f8d6e4eaa0bfcec1e68e46b916868...ae652364cadcc16719d7c52a771d21b93591e1fa --- pkgs/tools/typesetting/typst-live/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/typesetting/typst-live/default.nix b/pkgs/tools/typesetting/typst-live/default.nix index f9d0e2cd18c7..bb705c5ce96a 100644 --- a/pkgs/tools/typesetting/typst-live/default.nix +++ b/pkgs/tools/typesetting/typst-live/default.nix @@ -1,24 +1,22 @@ { lib , rustPlatform -, fetchFromGitHub +, fetchCrate , stdenv , darwin , makeWrapper , typst }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "typst-live"; - version = "unstable-2023-05-27"; + version = "0.6.0"; - src = fetchFromGitHub { - owner = "ItsEthra"; - repo = "typst-live"; - rev = "10a2da57b93f8d6e4eaa0bfcec1e68e46b916868"; - hash = "sha256-42QzqbyIjPn0C4coCU81gtlI7v5XJStlsDZvnLlwpYs="; + src = fetchCrate { + inherit pname version; + hash = "sha256-8YndEqhIESC3Cbe4klQfkVqesNFeZ2g1oRd1VoVrMnE="; }; - cargoHash = "sha256-M5jYSLw5oquAq2gGWZOJvx5/CGAl2Rg+G94V6ivAOzc="; + cargoHash = "sha256-62tBefXek6W01RfdPczXBuYhrLK+wG1YQ7va7FQmAhA="; nativeBuildInputs = [ makeWrapper @@ -38,5 +36,6 @@ rustPlatform.buildRustPackage { homepage = "https://github.com/ItsEthra/typst-live"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; + mainProgram = "typst-live"; }; }