gnu: font-fira-mono: Use 'font-build-system'.

* gnu/packages/fonts.scm (font-awesome): Switch to font-build-system.
This commit is contained in:
Arun Isaac 2017-06-16 11:50:11 +05:30
parent 8069f889ee
commit 3a722dde06
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -871,23 +871,7 @@ (define-public font-fira-mono
(sha256 (sha256
(base32 (base32
"1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi")))) "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi"))))
(build-system trivial-build-system) (build-system font-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
"/bin/unzip"))
(font-dir (string-append %output "/share/fonts/opentype")))
(mkdir-p font-dir)
(system* unzip
"-j"
(assoc-ref %build-inputs "source")
"*.otf"
"-d" font-dir)))))
(native-inputs
`(("unzip" ,unzip)))
(home-page "http://mozilla.github.io/Fira/") (home-page "http://mozilla.github.io/Fira/")
(synopsis "Mozilla's monospace font") (synopsis "Mozilla's monospace font")
(description "This is the typeface used by Mozilla in Firefox OS.") (description "This is the typeface used by Mozilla in Firefox OS.")