mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: font-fira-mono: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-awesome): Switch to font-build-system.
This commit is contained in:
parent
8069f889ee
commit
3a722dde06
1 changed files with 1 additions and 17 deletions
|
@ -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.")
|
||||||
|
|
Loading…
Reference in a new issue