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