gnu: Remove tegaki package leftovers.

Leftovers from ed3c97f53e.

* gnu/packages/languages.scm (tegaki-release-uri)
(remove-pre-compiled-files)
(remove-pre-compiled-files-modules): Delete variables.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Bruno Victal 2023-01-05 12:38:23 +00:00 committed by Mathieu Othacehe
parent 6d3a0b2f65
commit c2f47c968e
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -835,29 +835,6 @@ (define-public perl-text-german
done by Gudrun Putze-Meier.")
(license license:perl-license)))
(define* (tegaki-release-uri proj version
#:optional (ext "tar.gz"))
(string-append "https://github.com/tegaki/tegaki/releases/download"
"/v" version "/" proj "-" version "." ext))
(define remove-pre-compiled-files
(lambda exts
"Return snippet for removing pre-compiled files matching one of the
extensions in EXTS."
`(begin (for-each delete-file
(find-files "."
(lambda (name _)
(any (cut string-suffix? <> name)
(map (cut string-append "." <>)
',exts)))))
#t)))
;;; modules required for the above snippet
(define remove-pre-compiled-files-modules
'((guix build utils)
(srfi srfi-1)
(srfi srfi-26)))
(define-public link-grammar
(package
(name "link-grammar")