Guest User

Untitled

a guest
Jan 9th, 2022
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. (define-module (termsyn2)
  2. #:use-module (guix packages)
  3. #:use-module (guix download)
  4. #:use-module (guix build utils)
  5. #:use-module (guix build-system font)
  6. #:use-module (guix licenses))
  7.  
  8. (define-public font-termsyn2
  9. (package
  10. (name "font-termsyn2")
  11. (version "1.8.7")
  12. (source
  13. (origin
  14. (method url-fetch)
  15. (uri (string-append "mirror://sourceforge/termsyn/termsyn-" version ".tar.gz"))
  16. (sha256
  17. (base32 "15vsmc3nmzl0pkgdpr2993da7p38fiw2rvcg01pwldzmpqrmkpn6"))))
  18. (build-system font-build-system)
  19. (arguments
  20. `(#:modules
  21. ((srfi srfi-26)
  22. ,@%font-build-system-modules)
  23. #:phases
  24. (modify-phases %standard-phases
  25. (replace 'install
  26. (let* ((out (assoc-ref %outputs "out"))
  27. (source (getcwd))
  28. (fonts (string-append out "/share/fonts"))
  29. (consolefonts (string-append out "/share/kbd/consolefonts")))
  30. (for-each (cut install-file <> fonts)
  31. (find-files source "\\.(pcf)$"))
  32. (for-each (cut install-file <> consolefonts)
  33. (find-files source "\\.(psfu)$"))
  34. #t)))))
  35. (synopsis "Hello, Guix world: An example custom Guix package")
  36. (description
  37. "GNU Hello prints the message \"Hello, world!\" and then exits. It
  38. serves as an example of standard GNU coding practices. As such, it supports
  39. command-line arguments, multiple languages, and so on.")
  40. (home-page "https://www.gnu.org/software/hello/")
  41. (license gpl3+)))
  42.  
Advertisement
Add Comment
Please, Sign In to add comment