summary refs log tree commit diff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-14 01:00:23 +0100
committerMarius Bakke <marius@gnu.org>2021-12-14 10:50:12 +0100
commit0983f0129189f10980e4ce6da02d71aacd9b2a07 (patch)
treeecf1b2f92f6ff76236f33f66177204b8576044a6 /gnu/packages/fonts.scm
parent94836b215630ad0f4a7c06b8e4284d923ac1197f (diff)
downloadguix-0983f0129189f10980e4ce6da02d71aacd9b2a07.tar.gz
gnu: font-cozette: Update to 1.13.0.
* gnu/packages/fonts.scm (font-cozette): Update to 1.13.0.
[arguments]: Add phase to avoid git dependency.
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index b4384c327e..63d1240d5c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2201,7 +2201,7 @@ suitable for a wide range of uses.")
 (define-public font-cozette
   (package
     (name "font-cozette")
-    (version "1.9.3")
+    (version "1.13.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2210,11 +2210,18 @@ suitable for a wide range of uses.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0mb5ns6705piwgjw1g10czsakhyc1jnvxh342ixw8m5f1gf4595n"))))
+                "178i812n4sfsvid7jhnm683jlxqmrv4ck6qbb4nwyllhwg3gyq60"))))
     (build-system font-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'dont-depend-on-git
+           (lambda _
+             (substitute* "build.py"
+               ;; Merely importing this module requires a git repository.
+               ;; We don't use get_changelog, so just disable the import.
+               (("from cozette_builder\\.changeloggen import get_changelog")
+                ""))))
          (add-before 'install 'build
            (lambda _
              (invoke "python3" "build.py" "fonts"))))))