[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: font-hack: Use 'font-build-system'.
From: |
Arun Isaac |
Subject: |
05/07: gnu: font-hack: Use 'font-build-system'. |
Date: |
Sat, 17 Jun 2017 11:40:04 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit 8069f889eefb6225c997dc90945bbb2ed4227bba
Author: Arun Isaac <address@hidden>
Date: Fri Jun 16 11:49:21 2017 +0530
gnu: font-hack: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-hack): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
---
gnu/packages/fonts.scm | 25 ++-----------------------
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 3a79244..01b6ef0 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -794,7 +794,7 @@ glyph designs, not just an added slant.")
(name "font-hack")
(version "2.020")
(source (origin
- (method url-fetch)
+ (method url-fetch/zipbomb)
(uri (string-append
"https://github.com/chrissimpkins/Hack/releases/download/v"
version "/Hack-v"
@@ -803,28 +803,7 @@ glyph designs, not just an added slant.")
(sha256
(base32
"16kkmc3psckw1b7k07ccn1gi5ymhlg9djh43nqjzg065g6p6d184"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder (begin
- (use-modules (guix build utils)
- (srfi srfi-26))
-
- (let ((PATH (string-append (assoc-ref %build-inputs
- "unzip")
- "/bin"))
- (font-dir (string-append %output
- "/share/fonts/truetype")))
- (setenv "PATH" PATH)
- (system* "unzip" (assoc-ref %build-inputs "source"))
-
- (mkdir-p font-dir)
- (for-each (lambda (ttf)
- (install-file ttf font-dir))
- (find-files "." "\\.ttf$"))))))
- (native-inputs
- `(("source" ,source)
- ("unzip" ,unzip)))
+ (build-system font-build-system)
(home-page "https://sourcefoundry.org/hack/")
(synopsis "Typeface designed for source code")
(description
- branch master updated (40b784b -> b41704c), Arun Isaac, 2017/06/17
- 02/07: gnu: font-anonymous-pro: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 04/07: gnu: font-un: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 03/07: gnu: font-google-roboto: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 07/07: gnu: font-adobe-source-code-pro: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 01/07: gnu: font-tex-gyre: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 05/07: gnu: font-hack: Use 'font-build-system'.,
Arun Isaac <=
- 06/07: gnu: font-fira-mono: Use 'font-build-system'., Arun Isaac, 2017/06/17