mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: Add font-inconsolata
* gnu/packages/fonts.scm (font-inconsolata): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e93b88f782
commit
dede51a18b
1 changed files with 28 additions and 0 deletions
|
@ -34,6 +34,34 @@ (define-module (gnu packages fonts)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
#:use-module (gnu packages pkg-config))
|
#: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
|
(define-public font-ubuntu
|
||||||
(package
|
(package
|
||||||
(name "font-ubuntu")
|
(name "font-ubuntu")
|
||||||
|
|
Loading…
Reference in a new issue