From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbS2U-0000tc-Gp for guix-patches@gnu.org; Mon, 24 Dec 2018 10:21:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbS2Q-0003XO-Hw for guix-patches@gnu.org; Mon, 24 Dec 2018 10:21:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbS2Q-0003XG-De for guix-patches@gnu.org; Mon, 24 Dec 2018 10:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gbS2Q-0006RW-7m for guix-patches@gnu.org; Mon, 24 Dec 2018 10:21:02 -0500 Subject: bug#33853: [PATCH] gnu: Add font-mononoki. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h8f4oc11.fsf@gmail.com> Date: Mon, 24 Dec 2018 16:20:17 +0100 In-Reply-To: <87h8f4oc11.fsf@gmail.com> (Gabriel Hondet's message of "Sun, 23 Dec 2018 09:43:18 +0100") Message-ID: <87k1jzeytq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Gabriel Hondet Cc: 33853-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Gabriel, Gabriel Hondet skribis: > * gnu/packages/fonts.scm (font-mononoki): New variable. Thanks for the patch! I made the changes below on your behalf. The =E2=80=98git-fetch=E2=80=99 bit is to avoid relying on tarballs generated b= y github.com since they can change over time. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =C2=A9 2017, 2018 Arun Isaac ;;; Copyright =C2=A9 2017 Mohammed Sadiq ;;; Copyright =C2=A9 2018 Charlie Ritter +;;; Copyright =C2=A9 2018 Gabriel Hondet ;;; ;;; 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))) --=-=-=--