summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-05-15 20:16:04 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-05-28 19:30:05 +0530
commitb2f89c19fc709bc104da6b74e94248ea31decfd6 (patch)
tree028d5da172b0bc1d710e2e60251ddfe11ffd40fe /gnu
parent3d90fa982b489cea2ccd2c0b14d63d45923e294a (diff)
gnu: font-inconsolata: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-inconsolata): Switch to 'font-build-system'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fonts.scm14
1 files changed, 2 insertions, 12 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 03a1f6f796..8e938819e8 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -42,6 +42,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system font)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (gnu packages base)
@@ -64,18 +65,7 @@
(sha256
(base32
"06js6znbcf7swn8y3b8ki416bz96ay7d3yvddqnvi88lqhbfcq8m"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder (begin
- (use-modules (guix build utils))
- (let ((font-dir (string-append %output
- "/share/fonts/opentype"))
- (source (assoc-ref %build-inputs "source")))
- (mkdir-p font-dir)
- (copy-file source
- (string-append font-dir "/" "inconsolata.otf"))))))
- (native-inputs `(("source" ,source)))
+ (build-system font-build-system)
(home-page "http://levien.com/type/myfonts/inconsolata.html")
(synopsis "Monospace font")
(description "A monospace font, designed for code listings and the like,