1 (import (chicken process-context)
5 (define env-var get-environment-variable)
10 (printf "[~A]\n" (env-var "EGG_NAME"))
14 (->string (if (list? dep)
18 (ref 'dependencies egg eqv? '())
19 ;; TODO separate this into `buildInputs` and `propagatedBuildInputs`
20 (ref 'build-dependencies egg eqv? '()))))
21 (printf "dependencies = [~A]\n"
22 (string-intersperse (map (lambda (dep) (sprintf "~S" dep))
26 (define license (ref 'license egg))
27 (printf "license = ~S\n"
30 (string-translate (->string (car license))
31 "ABCDEFGHIJKLMNOPQRSTUVWXYZ "
32 "abcdefghijklmnopqrstuvwxyz-")))
34 (printf "sha256 = ~S\n" (env-var "EGG_SHA256"))
36 (define synopsis (ref 'synopsis egg))
37 (printf "synopsis = ~S\n"
42 (printf "version = ~S\n" (env-var "EGG_VERSION"))