From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qHDPJtoi9mL+CwAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 11:52:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SMO1Jdoi9mKGKwEAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 11:52:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A5DC288FE for ; Fri, 12 Aug 2022 11:52:26 +0200 (CEST) Received: from localhost ([::1]:37868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMRL7-0002Lp-6c for larch@yhetil.org; Fri, 12 Aug 2022 05:52:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMRKk-0002Lh-O5 for guix-patches@gnu.org; Fri, 12 Aug 2022 05:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMRKk-0000WJ-G4 for guix-patches@gnu.org; Fri, 12 Aug 2022 05:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMRKk-0005EI-3k for guix-patches@gnu.org; Fri, 12 Aug 2022 05:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57149] [PATCH] gnu: Add font-nerd-fonts-firacode Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Benoit Joly , 57149@debbugs.gnu.org Received: via spool by 57149-submit@debbugs.gnu.org id=B57149.166029788520058 (code B ref 57149); Fri, 12 Aug 2022 09:52:02 +0000 Received: (at 57149) by debbugs.gnu.org; 12 Aug 2022 09:51:25 +0000 Received: from localhost ([127.0.0.1]:55693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRK8-0005DS-Gl for submit@debbugs.gnu.org; Fri, 12 Aug 2022 05:51:24 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:36643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRK5-0005DI-Mb for 57149@debbugs.gnu.org; Fri, 12 Aug 2022 05:51:23 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M3zTB6Mzhz1LZY1; Fri, 12 Aug 2022 11:51:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4M3zTB6Mzhz1LZY1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1660297871; bh=kcMgr2A8cLCTRWH6ZdGM2Yx/HB9UF2SpVe8Cq6ESR6w=; h=Subject:From:To:Date:In-Reply-To:References:From; b=mJfcfLui3TKe6G4Cx3GB4IzNJk7oZZWhp0r5Ind7F60+NrWP7dddWyUxuXrxavG+0 ZX6zf4ff5lLveefbQrkuTuhO30MOjlFYKEz+f6DD1zEa5BQw36OZmhCv6t0N+uxi3E 8Mf5rMnj5TjMhuar3mve36ZGSme9kQbIZ30QcZic= Message-ID: From: Liliana Marie Prikler Date: Fri, 12 Aug 2022 11:51:09 +0200 In-Reply-To: <20220812042313.19198-1-benoit@benoitj.ca> References: <20220812042313.19198-1-benoit@benoitj.ca> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660297946; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kcMgr2A8cLCTRWH6ZdGM2Yx/HB9UF2SpVe8Cq6ESR6w=; b=QbwJ+CN5aVt7j41QBsj1aEbi7IW5yjFTz8i8BzZAfZyaVIDdCWt7PCz3baIIeCVKIzR7Rp P6PWdMud4OpbOwGT37SEebApyP6VgNHWUyIgfUtxAa9Wl7RmFh6ogx5h6miy/skQ1NS4lj EAS2tlcq/4Yo9qti+GjjyZF10Uwhyw71OmcH3yJaAz38Flf+yCx+u3v5+bAkvTriFX61xY DVoKdxabEejMtclEO+3yaZwaa5icd49Q44qnMPp+ck47rgZplGk3vatTVu9Z4y0j2jwDSt qIb2piIJkAbcUPS6mMMqRUoQdJ/lpJkpPO4cvwF8Olep5U+95xTTz87Jn5QORQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660297946; a=rsa-sha256; cv=none; b=Xw8LGgJA5ZhwgAN600VPoHuAyiHxpiGFt+clRZU9LF84AImz7WR66nkHHMApXJOED3G1d3 9zZXCCAhIPKvVPmzcD8CnOFE2H6/VVWfNRWZ3IY/HSe3NJsQJQNgJSlV517sJkQDlEcZ7G Nuuoc1i72ni3bIJm/Wt1p0xQWyoN5Vqmuf+4QGbxS0y7QigGxTFqbgzE/DXm47ghRSijfR PM27userKqAqzbN1LIEHmWsNl8ag3qraq4X0qmOjZAxA71IDgt8cYL8ThsMMYv1u1oipty tUhI7eYv0MicHvvUPHlV/58DVaxFmMtI2X1PAalP4SGPZ/ceKwCabsbElKwNdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=mJfcfLui; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=mJfcfLui; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4A5DC288FE X-Spam-Score: 5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: gQ8xoPzBNaZw Am Freitag, dem 12.08.2022 um 00:23 -0400 schrieb Benoit Joly: > * gnu/packages/fonts (font-nerd-fonts-firacode): New variable. > --- >  gnu/packages/fonts.scm | 35 +++++++++++++++++++++++++++++++++++ >  1 file changed, 35 insertions(+) > > diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm > index 20b55bce96..0ce9ba8414 100644 > --- a/gnu/packages/fonts.scm > +++ b/gnu/packages/fonts.scm > @@ -51,6 +51,7 @@ >  ;;; Copyright © 2021 Liliana Marie Prikler > >  ;;; Copyright © 2022 Jose G Perez Taveras >  ;;; Copyright © 2022 Hilton Chain > +;;; Copyright © 2022 Benoit Joly >  ;;; >  ;;; This file is part of GNU Guix. >  ;;; > @@ -2795,3 +2796,37 @@ (define-public font-chiron-hei-hk >  Kong variant of Adobe’s Source Han Sans.  The font aims at providing > a modern, >  region-agnostic glyph set adopting the “modern” glyph style that is > similar to >  prevalent typefaces in Traditional Chinese regions."))) > + > +(define-public font-nerd-fonts-fira-code > +  (package > +   (name "font-nerd-fonts-fira-code") > +   (version "2.1.0") > +   (source > +    (origin > +     (method url-fetch) > +     (uri > +      (string-append > +       "https://github.com/ryanoasis/nerd-fonts/releases/download/v" > +       version > +       "/FiraCode.zip")) > +     (sha256 > +      (base32 > +       "1rx7zrkq0584k6hrh6dx30xrnz5nq379xyw73pfd4gxaxnh9mpi1")))) Use (uri (string-append "..." "...") > +   (build-system font-build-system) > +   (arguments > +    `(#:phases > +      (modify-phases %standard-phases > +        (add-before 'install 'make-files-writable > +          (lambda _ > +            (for-each > +             make-file-writable > +             (find-files "." ".*\\.(otf|otc|ttf|ttc)$")) > +            #t))))) Why do the files need to be made writable for install? > +   (home-page "https://www.nerdfonts.com/") > +   (synopsis "Nerd fonts variant of FiraCode font") > +   (description > +    "Nerd fonts variant of FiraCode font.  Nerd Fonts is a project > that patches > +developer targeted fonts with a high number of glyphs (icons).  > Specifically to > +add a high number of extra glyphs from popular 'iconic fonts' such > as Font > +Awesome, Devicons, Octicons, and others.") > +   (license license:silofl1.1))) The description should consist of full sentences. Note that Nerd fonts pulls in icons that are licensed under CC BY-NC-ND, which makes them unfree. I'm not sure if those icons are present in the default distribution, but I'd hazard a guess that they are. More concerningly, the patches that can be applied via nerd fonts are directly coded into their font-patcher, rather than, say, distributed as a json file to be read separately. As far as I'm aware, this makes nerd-fonts (the tool) itself NG. Cheers