texlive/pkgs.nix: add revision

This commit is contained in:
Dmitry Kalinkin
2020-03-12 17:58:07 -04:00
parent 9752593eb0
commit 9c4212cb9f
2 changed files with 3778 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,9 @@ $a}
# quote package names, as some start with a number :-/
s/^name (.*)/name "\1"/
# extract revision
s/^revision ([0-9]*)$/ revision = \1;/p
# form an attrmap per package
/^name /s/^name (.*)/\1 = {/p
/^$/,1i};