guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/01: gnu: font-hermit: Download as 'url-fetch/tarbomb'.
Date: Tue, 14 May 2019 07:48:12 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1731b29742bb2abb24fb0000ea00b3f35b5133bc
Author: Efraim Flashner <address@hidden>
Date:   Tue May 14 14:47:44 2019 +0300

    gnu: font-hermit: Download as 'url-fetch/tarbomb'.
    
    * gnu/packages/fonts.scm (font-hermit)[source]: Use 'url-fetch/tarbomb'
    method.
    [arguments]: Remove custom phases.
---
 gnu/packages/fonts.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index a3c695f..72ed0b5 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1455,7 +1455,7 @@ display based on Libre Franklin.")
     (name "font-hermit")
     (version "2.0")
     (source (origin
-              (method url-fetch)
+              (method url-fetch/tarbomb)
               (uri (string-append "https://pcaro.es/d/otf-hermit-"; version
                                   ".tar.gz"))
               (sha256
@@ -1463,16 +1463,7 @@ display based on Libre Franklin.")
                 "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0"))))
     (build-system font-build-system)
     (arguments
-     `(#: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)))))
+     `(#:tests? #f))
     (home-page "https://pcaro.es/p/hermit/";)
     (synopsis "Monospace font")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]