-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforeign-sodium.asd
49 lines (44 loc) · 1.67 KB
/
foreign-sodium.asd
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
(in-package #:cl-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:load-system '#:cffi-grovel))
(defpackage #:foreign-sodium/asdf
(:use #:cl
#:asdf
#:cffi-grovel))
(in-package #:foreign-sodium/asdf)
(defsystem #:foreign-sodium
:version "0.3.2"
:author "Svante v. Erichsen <[email protected]>"
:description "CFFI bindings for libsodium (http://doc.libsodium.org/), which
is a shared library fork of NaCl (https://nacl.cr.yp.to/). Uses only the
original NaCl C API."
:license "public domain"
:serial t
:defsystem-depends-on (#:cffi-grovel)
:depends-on (#:cffi)
:components ((:file "packages")
(grovel-file "grovel-libsodium-h")
(:file "conversion")
(:file "load")
(:file "init")
(:file "keypair")
(:file "box")
(:file "scalarmult")
(:file "sign"))
:in-order-to ((test-op (test-op #:foreign-sodium-test))))
(defsystem #:foreign-sodium-test
:version "0.3.2"
:author "Svante v. Erichsen <[email protected]>"
:description "Tests for foreign-sodium"
:license "public domain"
:serial t
:depends-on (#:hu.dwim.stefil)
:components ((:module "test"
:serial t
:components ((:file "package")
(:file "test-suite")
(:file "box-test")
(:file "scalarmult-test")
(:file "sign-test"))))
:perform (test-op (o c) (uiop:symbol-call 'foreign-sodium-test
'test-foreign-sodium)))