mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
typst: add support to instantiate typst with a set of typst packages
This commit is contained in:
parent
d976d61d9e
commit
c47a2a8ac7
4 changed files with 42 additions and 2 deletions
|
@ -115,7 +115,7 @@ class TypstPackage:
|
|||
hash=source_hash,
|
||||
typstDeps=[
|
||||
self.package_name_full(p, v)
|
||||
for p, v in sorted(self.deps, key=lambda x: x[0])
|
||||
for p, v in sorted(self.deps, key=lambda x: (x[0], Version(x[1])))
|
||||
],
|
||||
description=self.description,
|
||||
license=self.license_tokens(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue