gnu: fntsample: Update Blocks.txt and use stable URL.

* gnu/packages/fontutils.scm (fntsample)[input]: Update unicode-blocks
to 14.0.0 and include the version in its URL and name.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-21 19:37:07 +02:00
parent 04542d5a6f
commit 3e73beaf23
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -935,13 +935,15 @@ (define-public fntsample
("perl-pdf-api2" ,perl-pdf-api2)
("perl-libintl-perl" ,perl-libintl-perl)
("unicode-blocks"
,(origin
(method url-fetch)
(uri "https://unicode.org/Public/UNIDATA/Blocks.txt")
(file-name "unicode-blocks.txt")
(sha256
(base32
"1xs8fnhh48gs41wg004r7m4r2azh9khmyjjlnvyzy9c6zrd212x2"))))))
,(let ((version "14.0.0"))
(origin
(method url-fetch)
(uri (string-append "https://unicode.org/Public/"
version "/ucd/Blocks.txt"))
(file-name (string-append "unicode-blocks-" version ".txt"))
(sha256
(base32
"05vzgrvfp35mgxjgkm4wnxjjgzva8n6545i9jxd4pczpvvfp122r")))))))
(home-page "https://github.com/eugmes/fntsample")
(synopsis "PDF and PostScript font samples generator")
(description "This package provides a tool that can be used to make font