chicken: more eggs.

This commit is contained in:
Daniel Ziltener 2023-12-28 15:59:04 +01:00
parent 3ff3fc5439
commit 8b0658d8af
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 163 additions and 57 deletions

View file

@ -1,3 +1,4 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later ;;; SPDX-License-Identifier: GPL-3.0-or-later
((nil . ((sentence-end-double-space . t))) ((nil . ((sentence-end-double-space . t)))
(scheme-mode . ((geiser-guile-binary . ("guix" "repl"))))) (scheme-mode . ((geiser-active-implementations . (guile))
(geiser-guile-binary . ("guix" "repl")))))

View file

@ -30,54 +30,89 @@
#:use-module ((guix licenses) #:use-module ((guix licenses)
#:prefix license:)) #:prefix license:))
;;;; Eggs
(define-public chicken ;;;;; Language extensions
#;
(define-public chicken-f-operator
(package (package
(name "chicken") (name "chicken-f-operator")
(version "5.3.0") (version "4.1.4")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://code.call-cc.org/releases/" (uri (egg-uri "f-operator" version))
version "/chicken-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0xhdvcdwlv9vbhxh7k0fzd32ybhc7fn83y9fj48dhzp1z7c9kbf3")))) "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
(build-system gnu-build-system) (propagated-inputs
(arguments (list chicken-miscmacros
`(#:modules ((guix build gnu-build-system) chicken-datatype
(guix build utils) chicken-box))
(srfi srfi-1)) (native-inputs
(list chicken-test
chicken-test-utils
chicken-utf8
chicken-srfi-1
chicken-srfi-18))
(build-system chicken-build-system)
(arguments '(#:egg-name "f-operator"))
(synopsis "Delimited continuation operators")
(home-page "https://wiki.call-cc.org/eggref/5/f-operator")
(description "Delimited continuation operators")
(license license:bsd-2)))
;; No `configure' script; run "make check" after "make install" as
;; prescribed by README.
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(add-after 'install 'check
(assoc-ref %standard-phases 'check)))
#:make-flags (let ((out (assoc-ref %outputs "out"))) #;
(list "PLATFORM=linux" (define-public chicken-anaphora
(string-append "PREFIX=" out) (package
(string-append "VARDIR=" out "/var/lib"))) (name "chicken-anaphora")
(version "1.0.1")
(source
(origin
(method url-fetch)
(uri (egg-uri "anaphora" version))
(sha256
(base32
"0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
(propagated-inputs
(list ))
(native-inputs
(list chicken-simple-tests))
(build-system chicken-build-system)
(arguments '(#:egg-name "anaphora"))
(synopsis "Anaphoric macros")
(home-page "https://wiki.call-cc.org/eggref/5/anaphora")
(description "Anaphoric macros")
(license license:bsd-2)))
;; Parallel builds are not supported, as noted in README. #;
#:parallel-build? #f)) (define-public chicken-begin-syntax
(native-search-paths (package
(list (search-path-specification (name "chicken-begin-syntax")
(variable "CHICKEN_REPOSITORY_PATH") (version "0.2.1")
;; TODO extract binary version into a module level definition. (source
(files (list "var/lib/chicken/11"))))) (origin
(propagated-inputs (list gcc-toolchain)) (method url-fetch)
(home-page "https://www.call-cc.org/") (uri (egg-uri "begin-syntax" version))
(synopsis "R5RS Scheme implementation that compiles native code via C") (sha256
(description (base32
"CHICKEN is a compiler for the Scheme programming language. CHICKEN "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
produces portable and efficient C, supports almost all of the R5RS Scheme (propagated-inputs
language standard, and includes many enhancements and extensions.") (list chicken-matchable))
(native-inputs
(list chicken-srfi-1
chicken-module-declarations))
(build-system chicken-build-system)
(arguments '(#:egg-name "begin-syntax"))
(synopsis "Convenience macro for inline syntax expansion")
(home-page "https://wiki.call-cc.org/eggref/5/begin-syntax")
(description "Convenience macro for inline syntax expansion")
(license license:bsd-3))) (license license:bsd-3)))
;;;;; Unsorted
(define-public chicken-compile-file (define-public chicken-compile-file
(package (package
(name "chicken-compile-file") (name "chicken-compile-file")
@ -651,3 +686,73 @@ with integers.")
(home-page "https://wiki.call-cc.org/eggref/5/doc") (home-page "https://wiki.call-cc.org/eggref/5/doc")
(description "chicken-doc is a tool for exploring Chicken documentation.") (description "chicken-doc is a tool for exploring Chicken documentation.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public chicken-input-parse
(package
(name "chicken-input-parse")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (egg-uri "input-parse" version))
(sha256
(base32
"0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
(propagated-inputs
(list ))
(native-inputs
(list ))
(build-system chicken-build-system)
(arguments '(#:egg-name "input-parse"))
(synopsis "Oleg Kiselyov's basic input-stream tokenizing and parsing routines.")
(home-page "https://wiki.call-cc.org/eggref/5/input-parse")
(description "Oleg Kiselyov's basic input-stream tokenizing and parsing routines.")
(license license:public-domain)))
(define-public chicken-ssax
(package
(name "chicken-ssax")
(version "5.1.0")
(source
(origin
(method url-fetch)
(uri (egg-uri "ssax" version))
(sha256
(base32
"0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
(propagated-inputs
(list chicken-input-parse
chicken-srfi-1
chicken-srfi-13))
(native-inputs
(list ))
(build-system chicken-build-system)
(arguments '(#:egg-name "ssax"))
(synopsis "Oleg Kiselyov's XML parser.")
(home-page "https://wiki.call-cc.org/eggref/5/ssax")
(description "Oleg Kiselyov's XML parser.")
(license license:public-domain)))
(define-public chicken-rss
(package
(name "chicken-rss")
(version "1.7")
(source
(origin
(method url-fetch)
(uri (egg-uri "rss" version))
(sha256
(base32
"0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s"))))
(propagated-inputs
(list chicken-matchable
chicken-srfi-1
chicken-ssax))
(native-inputs
(list ))
(build-system chicken-build-system)
(arguments '(#:egg-name "rss"))
(synopsis "An RSS parser")
(home-page "https://wiki.call-cc.org/eggref/5/rss")
(description "An RSS parser")
(license license:bsd-2)))