Merge pull request #252842 from figsoda/typst-live

typst-live: unstable-2023-05-27 -> 0.6.0
This commit is contained in:
Weijia Wang 2023-09-01 23:52:49 +02:00 committed by GitHub
commit f56623e3b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};
}