aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix.scm115
1 files changed, 95 insertions, 20 deletions
diff --git a/guix.scm b/guix.scm
index ad1c040..8cf7cdb 100644
--- a/guix.scm
+++ b/guix.scm
@@ -8,29 +8,104 @@
(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))
+ ((guix licenses) #:prefix license:))
(define %source-dir (dirname (current-filename)))
+(define guile-rdf
+ (package
+ (name "guile-rdf")
+ (version "1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://framagit.org/tyreunom/guile-rdf")
+ (commit "382d5dcb66fbf770445f329fc3db3fa789b45867")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gjhrgqbsf1nhvmrz2fy9a4351yiyxb4kl81hc0bqilacnqr5p7g"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f)); require network
+ (inputs
+ `(("guile" ,guile-next)))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)))
+ (home-page "https://framagit.org/tyreunom/guile-rdf")
+ (synopsis "Guile implementation of the RDF abstract syntax and the Turtle syntax")
+ (description "Resource Description Framework (RDF) is a general-purpose
+language for representing information in the Web. Multiple languages can be
+used to represent RDF data, turtle is one of them.")
+ (license license:lgpl3+)))
+
+(define guile-jsonld
+ (package
+ (name "guile-jsonld")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://framagit.org/tyreunom/guile-jsonld")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jd08kx0ipl3ad89r0h9fhim6ch8pw4n6fv9rka1zmv70r0n1b58"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f)) ; require network
+ (inputs
+ `(("guile" ,guile-next)
+ ("guile-gnutls" ,guile3.0-gnutls)
+ ("guile-json" ,guile3.0-json)
+ ("guile-rdf" ,guile-rdf)))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)))
+ (home-page "https://framagit.org/tyreunom/guile-jsonld")
+ (synopsis "Guile implementation of the JsonLD API specification")
+ (description "Guile JsonLD is an implementation of the JsonLD API defined
+by the W3C for GNU Guile. JsonLD stands for Json for Linked Data. Linked Data
+is a representation for the semantic web. It allows you to express links
+between data, in a way that is very similar to WikiData for instance. An object
+can have relations (in the form of an IRI) that relates it to one or more objects
+or strings, represented by a Json object or an IRI.")
+ (license license:lgpl3+)))
+
(package
- (name "data-model")
- (version "0.1.0")
- (source (local-file %source-dir
- #:recursive? #t
- #:select? (git-predicate %source-dir)))
- (build-system gnu-build-system)
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)))
- (inputs
- `(("guile" ,guile-3.0)
- ("leveldb" ,leveldb)
- ("guile-gcrypt" ,guile3.0-gcrypt)
- ("libsodium" ,libsodium)))
- (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 lgpl3+))
+ (name "data-model")
+ (version "0.1.0")
+ (source (local-file %source-dir
+ #:recursive? #t
+ #:select? (git-predicate %source-dir)))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs
+ `(("guile" ,guile-3.0)
+ ("leveldb" ,leveldb)
+ ("guile-gcrypt" ,guile3.0-gcrypt)
+ ("libsodium" ,libsodium)
+ ("guile-rdf", guile-rdf)
+ ("guile-jsonld", guile-jsonld)
+ ("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+))