aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: b3f7bf3da170caf7284220a4b0c4df9362232ac0 (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
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
(use-modules
  (guix packages)
  ((guix licenses) #:prefix license:)
  (guix download)
  (guix git-download)
  (guix build-system gnu)
  (gnu packages)
  (gnu packages databases)
  (gnu packages crypto)
  (gnu packages autotools)
  (gnu packages guile)
  (gnu packages guile-xyz)
  (gnu packages pkg-config)
  (gnu packages texinfo))

(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 "0344d63de6035f8e666085f88a49ffdcbaf0e7e5")))
        (file-name (git-file-name name version))
        (sha256 (base32 "00pr4j1biiklcr4q3x38fi45md866bql57aq2aima826jfkwws05"))))
    (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+)))

(package
  (name "guile-eris")
  (version "0.1")
  (source "./guile-eris-0.1.tar.gz")
  (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
   `(("guile-sodium" ,guile-sodium)
     ("leveldb" ,leveldb)))
  (synopsis
   "Guile implementation of Encoding for Robust Immutable Storage (ERIS)")
  (description
   "guile-eris is the reference implementation of Encoding for Robust Immutable Storage (ERIS). ERIS allows arbirtary content to be encoded into uniformly sized, encrypted blocks that can be reassembled using a short read-capability.")
  (home-page
   "https://gitlab.com/openengiadina/eris")
  (license license:gpl3+))