aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2020-08-19 17:10:30 +0200
committerpukkamustard <pukkamustard@posteo.net>2020-08-19 17:10:30 +0200
commit20355cbed24e5218ef6b22f94d80aa446f77743a (patch)
treedd3ebe017f12d27c58c54bd518b89dae4787e74f /guix.scm
parentb16ad839808955c96a79d47bbaae21950bc1eb1a (diff)
split of sodium bindings to separate library
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm31
1 files changed, 30 insertions, 1 deletions
diff --git a/guix.scm b/guix.scm
index fcb7726..bfe24c1 100644
--- a/guix.scm
+++ b/guix.scm
@@ -18,6 +18,35 @@
(guix build-system gnu)
((guix licenses) #:prefix license:))
+(define-public guile-sodium
+ (package
+ (name "guile-sodium")
+ (version "0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/openengiadina/guile-sodium")
+ (commit "260afbeaf48d01fa5da9fc954daf3ebec9051259")))
+ (file-name "guile-sodium-0.1-checkout")
+ (sha256 (base32 "1j6frddjxaimva7pnfzqxawx461252xfmj5khgy53sd16y0dimky"))))
+ (build-system gnu-build-system)
+ (arguments `())
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)))
+ (inputs `(("guile" ,guile-3.0)))
+ (propagated-inputs `(("libsodium" ,libsodium)))
+ (synopsis "Guile bindings to libsodium.)")
+ (description
+ "This package provides bindings to libsodium which provides core cryptogrpahic primitives needed to build higher-level tools.")
+ (home-page
+ "https://gitlab.com/openengiadina/guile-sodium")
+ (license license:gpl3+)))
+
+
(define %source-dir (dirname (current-filename)))
(package
@@ -31,8 +60,8 @@
("automake" ,automake)))
(inputs
`(("guile" ,guile-3.0)
+ ("guile-sodium" ,guile-sodium)
("leveldb" ,leveldb)
- ("libsodium" ,libsodium)
("guile-rdf", guile-rdf)
("guile-jsonld", guile-jsonld)
("guile-json" ,guile3.0-json)