From c5dc87fee840ad620b01637dc4f9ffa5efc9270c Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Thu, 11 Feb 2021 17:47:01 +0100 Subject: gnu: Add font-cozette. * gnu/packages/fonts.scm (font-cozette): New variable. --- gnu/packages/fonts.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index b24425ca22..891a7dd211 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -33,7 +33,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 John Soo ;;; Copyright © 2020 Raghav Gururajan -;;; Copyright © 2020 Julien Lepiller +;;; Copyright © 2020, 2021 Julien Lepiller ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2020 Simen Endsjø ;;; Copyright © 2020 Tim Van den Langenbergh @@ -2100,3 +2100,36 @@ operators and special symbols.") is a stylish type with a polished yet relaxed feel. Its versatility makes it suitable for a wide range of uses.") (license license:silofl1.1)))) + +(define-public font-cozette + (package + (name "font-cozette") + (version "1.9.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slavfox/Cozette") + (commit (string-append "v." version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mb5ns6705piwgjw1g10czsakhyc1jnvxh342ixw8m5f1gf4595n")))) + (build-system font-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'build + (lambda _ + (invoke "python3" "build.py" "fonts")))))) + (native-inputs + `(("fontforge" ,fontforge) + ("python" ,python) + ("python-crayons" ,python-crayons) + ("python-fonttools" ,python-fonttools) + ("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/slavfox/Cozette") + (synopsis "Bitmap programming font") + (description "Cozette is a 6x13px (bounding box) bitmap font based on Dina +and heavily inspired by Creep.") + (license license:expat))) -- cgit v1.2.3