all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Gabriel Hondet <gabrielhondet@gmail.com>
Cc: 33853-done@debbugs.gnu.org
Subject: bug#33853: [PATCH] gnu: Add font-mononoki.
Date: Mon, 24 Dec 2018 16:20:17 +0100	[thread overview]
Message-ID: <87k1jzeytq.fsf@gnu.org> (raw)
In-Reply-To: <87h8f4oc11.fsf@gmail.com> (Gabriel Hondet's message of "Sun, 23 Dec 2018 09:43:18 +0100")

[-- 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)))

      reply	other threads:[~2018-12-24 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23  8:43 [bug#33853] [PATCH] gnu: Add font-mononoki Gabriel Hondet
2018-12-24 15:20 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1jzeytq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=33853-done@debbugs.gnu.org \
    --cc=gabrielhondet@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.