guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33853: [PATCH] gnu: Add font-mononoki.


From: Ludovic Courtès
Subject: bug#33853: [PATCH] gnu: Add font-mononoki.
Date: Mon, 24 Dec 2018 16:20:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello Gabriel,

Gabriel Hondet <address@hidden> 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’.

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 <address@hidden>
 ;;; Copyright © 2017 Mohammed Sadiq <address@hidden>
 ;;; Copyright © 2018 Charlie Ritter <address@hidden>
+;;; Copyright © 2018 Gabriel Hondet <address@hidden>
 ;;;
 ;;; 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)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]