aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: 0b3ca4ef3e5447accc8eab470900cfca5a526aae (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
(use-modules
 (guix packages)
 (guix download)
 (guix git-download)
 (guix build-system dune)
 ((guix licenses) #:prefix license:)
 (gnu packages multiprecision)
 (gnu packages ocaml)
 (gnu packages libevent))

(define-public ocaml-cbor
  (package
    (name "ocaml-cbor")
    (version "11261798db015a768d4759b33a529395e2ab5a30")
    (home-page "https://inqlab.net/git/ocaml-cbor.git")
    (source
     (origin (method git-fetch)
             (uri (git-reference
                   (url home-page)
                   (commit version)))
             (file-name (git-file-name name version))
             (sha256
              (base32 "12l3xz1jpnw87w0k506qh2hv8aiw0sq2fz5ri8rka1glizhb5wvn"))))
    (build-system dune-build-system)
    (native-inputs
     `(("alcotest" ,ocaml-alcotest)
       ("qcheck" ,ocaml-qcheck)))
    (propagated-inputs
     `(("angstrom" ,ocaml-angstrom)
       ("zarith" ,ocaml-zarith)
       ("gmp" ,gmp)))
    (synopsis #f)
    (description #f)
    (license license:agpl3+)))

(define-public ocaml-containers
  (package
   (name "ocaml-containers")
   (version "3.4")
   (home-page "https://github.com/c-cube/ocaml-containers/")
   (source
    (origin
     (method git-fetch)
     (uri (git-reference
           (url home-page)
           (commit (string-append "v" version))))
     (sha256
      (base32
       "0ixpy81p6rc3lq71djfndb2sg2hfj20j1jbzzrrmgqsysqdjsgzz"))))
   (build-system dune-build-system)
   (arguments
    ;; too lazy to add deps
    `(#:tests? #f))
   (propagated-inputs
    `(("ocaml-seq" ,ocaml-seq)
      ("ocaml-odoc" ,ocaml-odoc)))
   ;; (native-inputs
   ;;  `(("ocaml-qtest" ,ocaml-qtest)
   ;;    ("ocaml-qcheck" ,ocaml-qcheck)
   ;;    ("ocaml-ounit" ,ocaml-ounit)
   ;;    ("ocaml-iter" ,ocaml-iter)
   ;;    ("ocaml-gen" ,ocaml-gen)
      ;; ("ocaml-uutf" ,ocaml-uutf)))
   (synopsis
    "A modular, clean and powerful extension of the OCaml standard library")
   (description #f)
   (license license:bsd-2)))

(define-public ocaml-rdf
  (package
    (name "ocaml-rdf")
    (version "0.0.0")
    (source #f)
    (build-system dune-build-system)
    (arguments '())
    (native-inputs
     `(("alcotest" ,ocaml-alcotest)
       ("qcheck" ,ocaml-qcheck)))
    (propagated-inputs
     `(("uri" ,ocaml-uri)
       ("yojson" ,ocaml-yojson)
       ("cbor" ,ocaml-cbor)
       ("angstrom" ,ocaml-angstrom)
       ("fmt" ,ocaml-fmt)
       ("containers" ,ocaml-containers)))
    (home-page "https://gitlab.com/public.dream/DROMEDAR/ocaml-rdf")
    (synopsis "RDF library for OCaml")
    (description #f)
    (license license:agpl3+)))

ocaml-rdf