blob: fe80eb541bd0346bc15651ee9b5448cc8fa2f35a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
(define-module (chibi-scheme)
#:use-module ((guix licenses)
#:select (bsd-3))
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu))
(define-public chibi-scheme
(let ((commit-ref "854015587598384ce0ae5f2c468a34eb3cfcd36b"))
(package
(name "chibi-scheme")
(version commit-ref)
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ashinn/chibi-scheme.git")
(commit commit-ref)))
(sha256
(base32 "058r51fav895hvsqvglvkk88zv3iwnisilqxnq3ng14v69rv1haf"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'set-cc
(lambda _
(setenv "CC" "gcc"))))
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out)
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))
#:test-target "test"))
(home-page "https://github.com/ashinn/chibi-scheme")
(synopsis "Small embeddable Scheme implementation")
(description
"Chibi-Scheme is a very small library with no external dependencies
intended for use as an extension and scripting language in C programs.
In addition to support for lightweight VM-based threads, each VM itself
runs in an isolated heap allowing multiple VMs to run simultaneously in
different OS threads.")
(license bsd-3))))
|