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') 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 ='left'>Commit message (Expand)Author 2019-03-24tests: Add missing import....This is a followup to 22f95e028f038cee342f455dfc55bd32b804907c. * tests/scripts.scm: Use (guix tests). Ludovic Courtès 2019-03-16tests: Add 'with-environment-variable'....* tests/scripts.scm (with-environment-variable): Move to... * guix/tests.scm (with-environment-variable): ... here. * tests/build-utils.scm ("wrap-program, one input, multiple calls"): Use it instead of 'setenv'. Ludovic Courtès