typst: 0.11.1 -> 0.12.0
Diff: https://github.com/typst/typst/compare/v0.11.1...v0.12.0 Changelog: https://github.com/typst/typst/releases/tag/v0.12.0
This commit is contained in:
parent
b5408dc9b6
commit
453c8177dc
1431
pkgs/by-name/ty/typst/Cargo.lock
generated
1431
pkgs/by-name/ty/typst/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -9,23 +9,24 @@
|
||||
stdenv,
|
||||
darwin,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "typst";
|
||||
version = "0.11.1";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "typst";
|
||||
repo = "typst";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FagjVU8BJZStE/geexZERuV2P28iF/pPn2mTi1Gu9iU=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-OfTMJ7ylVOJjL295W3Flj2upTiUQXmfkyDFSE1v8+a4=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"typst-dev-assets-0.11.1" = "sha256-SMRtitDHFpdMEoOuPBnC3RBTyZ96hb4KmMSCXpAyKfU=";
|
||||
"typst-dev-assets-0.12.0" = "sha256-YLxLuhpAUzktjyprZAhZ4GjcXEDUDdLtSzc5onzLuto=";
|
||||
};
|
||||
};
|
||||
|
||||
@ -54,9 +55,6 @@ rustPlatform.buildRustPackage rec {
|
||||
# Fix for "Found argument '--test-threads' which wasn't expected, or isn't valid in this context"
|
||||
substituteInPlace tests/src/tests.rs --replace-fail 'ARGS.num_threads' 'ARGS.test_threads'
|
||||
substituteInPlace tests/src/args.rs --replace-fail 'num_threads' 'test_threads'
|
||||
|
||||
# Fix build with Rust 1.80; remove on next release
|
||||
ln -sf ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
@ -68,6 +66,12 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoTestFlags = [ "--workspace" ];
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user