gnu: font-hermit: Download as 'url-fetch/tarbomb'.

* gnu/packages/fonts.scm (font-hermit)[source]: Use 'url-fetch/tarbomb'
method.
[arguments]: Remove custom phases.
This commit is contained in:
Efraim Flashner 2019-05-14 14:47:44 +03:00
parent 45d41c035e
commit 1731b29742
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1455,7 +1455,7 @@ (define-public font-hermit
(name "font-hermit") (name "font-hermit")
(version "2.0") (version "2.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch/tarbomb)
(uri (string-append "https://pcaro.es/d/otf-hermit-" version (uri (string-append "https://pcaro.es/d/otf-hermit-" version
".tar.gz")) ".tar.gz"))
(sha256 (sha256
@ -1463,16 +1463,7 @@ (define-public font-hermit
"09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0")))) "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0"))))
(build-system font-build-system) (build-system font-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f))
#:phases
(modify-phases %standard-phases
(replace 'unpack
;; the tarball provided does not contain a directory
(lambda* (#:key source #:allow-other-keys)
(mkdir "source")
(invoke "tar" "xvf" source "-C" "source")
(chdir "source")
#t)))))
(home-page "https://pcaro.es/p/hermit/") (home-page "https://pcaro.es/p/hermit/")
(synopsis "Monospace font") (synopsis "Monospace font")
(description (description