fonts.scm (1948B)


      1 (define-module (mt packages fonts)
      2   #:use-module ((guix licenses) #:prefix license:)
      3   #:use-module (guix packages)
      4   #:use-module (guix download)
      5   #:use-module (guix gexp)
      6   #:use-module (guix build-system copy)
      7   #:use-module (gnu packages python))
      8 
      9 (define-public font-ioskeley-mono
     10   (package
     11     (name "font-ioskeley-mono")
     12     (version "2025.10.09-6")
     13     (source (origin
     14               (method url-fetch/zipbomb)
     15               (uri (string-append "https://github.com/ahatem/IoskeleyMono/releases/download/"
     16                                   version "/IoskeleyMono-TTF-Hinted.zip"))
     17               (sha256
     18                (base32
     19                 "14xykmw7fa9kbq07x7fkh6kyycqsianbp7xp5md869xdzps7cin8"))))
     20     (build-system copy-build-system)
     21     (arguments
     22      (list
     23       #:install-plan #~'(("TTF/" "share/fonts/truetype/"))))
     24     (home-page "https://github.com/ahatem/IoskeleyMono/")
     25     (synopsis "Modification of the Iosevka typeface designed to mimic the look
     26 and feel of Berkeley Mono as closely as possible")
     27     (description #f)
     28     (license license:silofl1.1)))
     29     
     30 (define-public font-fira-mono-nerd-font
     31   (package
     32     (name "font-fira-mono-nerd-font")
     33     (version "3.4.0")
     34     (source (origin
     35               (method url-fetch)
     36               (uri (string-append "https://github.com/ryanoasis/nerd-fonts/releases/download/v"
     37                                   version "/FiraMono.tar.xz"))
     38               (sha256
     39                (base32
     40                 "0x2swc1lxa28v3ybbg05lc0x9b0q0jy7jvkf1bbjmypxzsbxqjif"))))
     41     (build-system copy-build-system)
     42     (arguments
     43      (list 
     44       ;; Copy only the fonts from the base directory
     45       ;; TODO: Find a better option
     46       #:install-plan #~'(("." "share/fonts/truetype/" #:include-regexp (".*\\.otf$")))))
     47     (home-page "https://github.com/ryanoasis/nerd-fonts/")
     48     (synopsis "Monospace cut of Fira Sans with Nerd Font patches")
     49     (description #f)
     50     (license license:silofl1.1)))