all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33853] [PATCH] gnu: Add font-mononoki.
@ 2018-12-23  8:43 Gabriel Hondet
  2018-12-24 15:20 ` bug#33853: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Hondet @ 2018-12-23  8:43 UTC (permalink / raw)
  To: 33853

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

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index b0cb78c5c..b4ca0cfd1 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1351,3 +1351,25 @@ reproduction and display environments.  This package provides only TrueType
 files (TTF).")
     (home-page "https://software.sil.org/charis/")
     (license license:silofl1.1)))
+
+(define-public font-mononoki
+  (package
+    (name "font-mononoki")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/madmalik/mononoki/archive/"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "14bd2sk6z24kq5q8wyr1vcjr380vvjdm5i7zqa0f0ynk9jkz57qq"))
+              (file-name (string-append "font-mononoki-"
+                                        version ".tar.gz"))))
+    (build-system font-build-system)
+    (synopsis "Font for programming and code review")
+    (description
+     "Mononoki is a typeface by Matthias Tellen, created to enhance code
+formatting")
+    (home-page "https://madmalik.github.io/mononoki/")
+    (license license:silofl1.1)))
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#33853: [PATCH] gnu: Add font-mononoki.
  2018-12-23  8:43 [bug#33853] [PATCH] gnu: Add font-mononoki Gabriel Hondet
@ 2018-12-24 15:20 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-12-24 15:20 UTC (permalink / raw)
  To: Gabriel Hondet; +Cc: 33853-done

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

Hello Gabriel,

Gabriel Hondet <gabrielhondet@gmail.com> skribis:

> * gnu/packages/fonts.scm (font-mononoki): New variable.

Thanks for the patch!  I made the changes below on your behalf.  The
‘git-fetch’ bit is to avoid relying on tarballs generated by github.com
since they can change over time.

Thank you!

Ludo’.


[-- Attachment #2: Type: text/x-patch, Size: 1654 bytes --]

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index b4ca0cfd10..88315008bd 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2017, 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
 ;;; Copyright © 2018 Charlie Ritter <chewzerita@posteo.net>
+;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1357,19 +1358,18 @@ files (TTF).")
     (name "font-mononoki")
     (version "1.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/madmalik/mononoki/archive/"
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/madmalik/mononoki/")
+                    (commit version)))
               (sha256
                (base32
-                "14bd2sk6z24kq5q8wyr1vcjr380vvjdm5i7zqa0f0ynk9jkz57qq"))
-              (file-name (string-append "font-mononoki-"
-                                        version ".tar.gz"))))
+                "1rkzyxn30rn8qv2h2xz324j7q15hzg2lci8790a7cdl1dfgic4xi"))
+              (file-name (git-file-name name version))))
     (build-system font-build-system)
     (synopsis "Font for programming and code review")
     (description
      "Mononoki is a typeface by Matthias Tellen, created to enhance code
-formatting")
+formatting.")
     (home-page "https://madmalik.github.io/mononoki/")
     (license license:silofl1.1)))

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

end of thread, other threads:[~2018-12-24 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-23  8:43 [bug#33853] [PATCH] gnu: Add font-mononoki Gabriel Hondet
2018-12-24 15:20 ` bug#33853: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.