unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44410] (no subject)
@ 2020-11-03  7:53 Nicolò Balzarotti
  2020-11-03  8:01 ` [bug#44410] Add JuliaMono font " Nicolò Balzarotti
  2020-11-05 22:16 ` bug#44410: " Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolò Balzarotti @ 2020-11-03  7:53 UTC (permalink / raw)
  To: 44410

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Hi guix!

This patch adds JuliaMono, a monospaced font.

Thanks!


[-- Attachment #2: 0001-gnu-Add-font-juliamono.patch --]
[-- Type: text/x-patch, Size: 1903 bytes --]

From dfa2d577a54d3c4d291415ff2f8e23e41e2b2303 Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Sun, 1 Nov 2020 11:04:12 +0100
Subject: [PATCH] gnu: Add font-juliamono.

* gnu/packages/fonts.scm (font-juliamono): New variable.
---
 gnu/packages/fonts.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index f39c529beb..806fe0bb8d 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1762,6 +1762,37 @@ Mono’s typeface forms are simple and free from unnecessary details.  Rendered
 in small sizes, the text looks crisper.")
     (license license:asl2.0)))
 
+(define-public font-juliamono
+  (package
+    (name "font-juliamono")
+    (version "0.025")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cormullion/juliamono")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1w8mpl9zc1y4j1f26ikbz5g9dqsszhikp4r9p1d3ch3b5ayb5c3m"))))
+    (build-system font-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'delete-website-folder
+           ;; This folder contains other unrelated fonts
+           (lambda _
+             (delete-file-recursively "website")
+             #t)))))
+    (home-page "https://github.com/cormullion/juliamono")
+    (synopsis "Monospaced font for programming")
+    (description
+     "JuliaMono is a monospaced font for scientific and technical computing,
+designed to work for programming in the Julia Programming Language and other
+text environments.")
+    (license license:silofl1.1)))
+
 (define-public font-vazir
   (package
     (name "font-vazir")
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-05 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03  7:53 [bug#44410] (no subject) Nicolò Balzarotti
2020-11-03  8:01 ` [bug#44410] Add JuliaMono font " Nicolò Balzarotti
2020-11-05 22:16 ` bug#44410: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).