1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-17 09:32:50 +00:00

texlive/pkgs.nix: add revision

This commit is contained in:
Dmitry Kalinkin 2020-03-12 17:58:07 -04:00
parent 9752593eb0
commit 9c4212cb9f
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
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};