forked from rotty/spells
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pkg-list.scm
115 lines (94 loc) · 2.88 KB
/
pkg-list.scm
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
;; Copyright (C) 2010, 2011, 2012 Andreas Rottmann <[email protected]>
;; This program is free software, you can redistribute it and/or
;; modify it under the terms of the new-style BSD license.
;; You should have received a copy of the BSD license along with this
;; program. If not, see <http://www.debian.org/misc/bsd.license>.
;;; Main libraries
(package (spells (0))
(depends
(srfi-1)
(srfi-2)
(srfi-8)
(srfi-9)
(srfi-13)
(srfi-14)
(srfi-19)
(srfi-26)
(srfi-27)
(srfi-38)
(srfi-39)
(srfi-43)
(srfi-67)
(srfi-98)
(wak-irregex)
(wak-foof-loop)
(wak-fmt)
(wak-trc-testing))
(synopsis "portability and utility library")
(description
"A portability library. It offers a single interface to"
"functionality commonly present, but not standardized, in various"
"Scheme implementations."
""
"Spells currently offers:"
" - A filesystem interface"
" - A pathname facility"
" - An interface to OS processes"
" - A simple interface to TCP sockets"
" - Weak cells"
" - An implementation of the zipper data structure"
" - Extensible vectors")
(homepage "http://rotty.yi.org/software/spells/")
(stexidoc "docs/spells.scm")
(libraries
(exclude ("spells" "foreign")
("spells" "foreign.sls")
("spells" "gzip.sls")
("spells" "private" "stexidoc.sls"))
("spells" . sls))
(library-auxiliaries
("spells" "private")))
;;; Foreign-function interface
(package (spells-foreign (0))
(depends
(srfi-1)
(srfi-8)
(spells)
(wak-foof-loop)
(conjure))
(synopsis "foreign function interface to C")
(description
"An foreign function interface that allows Scheme code"
"to interact with code (libraries) written in C.")
(homepage "http://rotty.yi.org/software/spells/")
(libraries
("spells" "foreign" . sls)
("spells" "foreign.sls"))
(conjure
(import (rnrs base)
(spells foreign conjure))
(foreign-conjure-tasks))
(installation-hook ((needs-source? . #t))
(import (rnrs)
(spells pathname)
(spells foreign conjure)
(conjure dsl)
(conjure dorodango))
(make-conjure-hook
(lambda (agent)
(let ((config-pathname (->pathname
'(("spells" "foreign") "config.sls"))))
(task install
(ordinary
(depends 'configure)
(proc (lambda (self)
(let ((product (pathname-join ((self 'project) 'product-dir)
config-pathname)))
(agent 'install-file
'libraries
(->namestring config-pathname)
(->namestring product)))))))
(foreign-conjure-tasks))))))
;; Local Variables:
;; scheme-indent-styles: (pkg-list conjure-dsl)
;; End: