diff mbox series

[bug#73111] add font-monocraft

Message ID 87y143xu4x.fsf@morales.pe
State New
Headers show
Series [bug#73111] add font-monocraft | expand

Commit Message

Rodrigo Morales Sept. 7, 2024, 5:15 p.m. UTC
This is one of my first contributions to the Guix project. If I have
done something wrong, please let me know so that I don't make the same
mistake in the future.

Comments

Nicolas Graves Sept. 18, 2024, 10:22 p.m. UTC | #1
On 2024-09-07 12:15, Rodrigo Morales wrote:

> This is one of my first contributions to the Guix project. If I have
> done something wrong, please let me know so that I don't make the same
> mistake in the future.

Hi Rodrigo,

Welcome !

>
> From 209787022655d89b2395e3d9c8bbd2b5417dfaf8 Mon Sep 17 00:00:00 2001
> From: Rodrigo Morales <rodrigo@morales.pe>
> Date: Sat, 7 Sep 2024 12:09:21 -0500
> Subject: [PATCH] gnu: Add font-monocraft
>
> ---
>  gnu/packages/fonts.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)

A similar patch has been provide some time ago in
https://issues.guix.gnu.org/57637

At the time, it was discarded for probably being illegal software (in
the sense that Minecraft license probably doesn't allow such a
copy). This has not been researched enough to be proven, so feel free to
ask/enquire about the developper or Minecraft rights on this font.

Other than that, at first glance, your patch looks fine, except for the
lack of details in the description. It shouldn't be a copy of the
synopsis.

Closing, thanks for the patch, please open it once again if you have
good news on the license / legal subject.
diff mbox series

Patch

From 209787022655d89b2395e3d9c8bbd2b5417dfaf8 Mon Sep 17 00:00:00 2001
From: Rodrigo Morales <rodrigo@morales.pe>
Date: Sat, 7 Sep 2024 12:09:21 -0500
Subject: [PATCH] gnu: Add font-monocraft

---
 gnu/packages/fonts.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 98c20ee90a..0a7e79a8cd 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3958,3 +3958,22 @@  (define-public font-teko
 full support for the conjuncts and ligatures required by languages
 written with the Devanagari script.")
       (license license:silofl1.1))))
+
+(define-public font-monocraft
+  (package
+   (name "font-monocraft")
+   (version "4.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append
+           "https://github.com/IdreesInc/Monocraft/releases/download/"
+           "v" version
+           "/Monocraft-ttf-otf.zip"))
+     (sha256
+      (base32 "1zy4a73779kaac69v8zmqa8v8s0a016k8bf2slani2msa1wsrnyy"))))
+   (build-system font-build-system)
+   (home-page "https://github.com/IdreesInc/Monocraft/")
+   (synopsis "Monospaced programming font inspired by the Minecraft typeface.")
+   (description "Monospaced programming font inspired by the Minecraft typeface.")
+   (license license:silofl1.1)))
-- 
2.34.1