From dede51a18b52a43c9ff7be5f58968b897b711d9c Mon Sep 17 00:00:00 2001 From: Eric Dvorsak Date: Mon, 17 Aug 2015 01:04:27 +0200 Subject: gnu: Add font-inconsolata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fonts.scm (font-inconsolata): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/fonts.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 694f7263eb..bd62349b7a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -34,6 +34,34 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages pkg-config)) +(define-public font-incosolata + (package + (name "font-inconsolata") + (version "0.80") + (source (origin + (method url-fetch) + (uri "http://www.levien.com/type/myfonts/Inconsolata.otf") + (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))) + (home-page "http://levien.com/type/myfonts/inconsolata.html") + (synopsis "Monospace font") + (description "A monospace font, designed for code listings and the like, +in print. With attention to detail for high resolution rendering.") + (license license:silofl1.1))) + (define-public font-ubuntu (package (name "font-ubuntu") -- cgit v1.2.3