aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: bfe24c15c05add6b5be79f2499f5641003537d8a (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
67
68
69
70
71
72
73
; SPDX-FileCopyrightText: 2020 pukkamustard <pukkamustard@posteo.net>
;
; SPDX-License-Identifier: GPL-3.0-or-later

(use-modules (guix packages)
             (guix download)
             (guix git-download)
             (gnu packages autotools)
             (gnu packages pkg-config)
             (gnu packages guile)
             (gnu packages guile-xyz)
             (gnu packages gnupg)
             (gnu packages crypto)
             (gnu packages maths)
             (gnu packages databases)
             (gnu packages texinfo)
             (gnu packages tls)
             (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
 (name "data-model")
 (version "0.1.0")
 (source #t)
 (build-system gnu-build-system)
 (native-inputs
  `(("pkg-config" ,pkg-config)
    ("autoconf" ,autoconf)
    ("automake" ,automake)))
 (inputs
  `(("guile" ,guile-3.0)
    ("guile-sodium" ,guile-sodium)
    ("leveldb" ,leveldb)
    ("guile-rdf", guile-rdf)
    ("guile-jsonld", guile-jsonld)
    ("guile-json" ,guile3.0-json)
    ("gnuplot" ,gnuplot)))

 (synopsis "Experimentations into data model/data storage for openEngiadina")
 (description "Experimentations into data model/data storage for openEngiadina")
 (home-page "https://gitlab.com/openEngiadina/data-model")
 (license license:lgpl3+))