guix.scm
| 1 | ;;;; Copyright (C) 2019 Julien Lepiller <julien@lepiller.eu> |
| 2 | ;;;; |
| 3 | ;;;; This library is free software; you can redistribute it and/or |
| 4 | ;;;; modify it under the terms of the GNU Lesser General Public |
| 5 | ;;;; License as published by the Free Software Foundation; either |
| 6 | ;;;; version 3 of the License, or (at your option) any later version. |
| 7 | ;;;; |
| 8 | ;;;; This library is distributed in the hope that it will be useful, |
| 9 | ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 | ;;;; Lesser General Public License for more details. |
| 12 | ;;;; |
| 13 | ;;;; You should have received a copy of the GNU Lesser General Public |
| 14 | ;;;; License along with this library; if not, write to the Free Software |
| 15 | ;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 16 | ;;;; |
| 17 | |
| 18 | (use-modules |
| 19 | ((guix licenses) #:prefix license:) |
| 20 | (guix build-system gnu) |
| 21 | (guix download) |
| 22 | (guix git-download) |
| 23 | (guix packages) |
| 24 | (guix utils) |
| 25 | (gnu packages autotools) |
| 26 | (gnu packages guile) |
| 27 | (gnu packages guile-xyz) |
| 28 | (gnu packages pkg-config) |
| 29 | (gnu packages texinfo) |
| 30 | (gnu packages tls)) |
| 31 | |
| 32 | (package |
| 33 | (name "guile-jsonld") |
| 34 | (version "1.0.1") |
| 35 | (source |
| 36 | (origin |
| 37 | (method git-fetch) |
| 38 | (uri (git-reference |
| 39 | (url "https://framagit.org/tyreunom/guile-jsonld") |
| 40 | (commit version))) |
| 41 | (file-name (git-file-name name version)) |
| 42 | (sha256 |
| 43 | (base32 |
| 44 | "0zfn3nwlz6xzip1j8xbj768dc299r037cfc81bk6kwl9xhzkjbrg")))) |
| 45 | (build-system gnu-build-system) |
| 46 | (arguments |
| 47 | `(#:tests? #f)); require network |
| 48 | (inputs |
| 49 | `(("guile" ,guile-3.0) |
| 50 | ("guile-gnutls" ,gnutls) |
| 51 | ("guile-json" ,guile-json-3) |
| 52 | ("guile-rdf" ,guile-rdf))) |
| 53 | (native-inputs |
| 54 | `(("automake" ,automake) |
| 55 | ("autoconf" ,autoconf) |
| 56 | ("pkg-config" ,pkg-config) |
| 57 | ("texinfo" ,texinfo))) |
| 58 | (home-page "https://framagit.org/tyreunom/guile-jsonld") |
| 59 | (synopsis "Guile implementation of the JsonLD API specification") |
| 60 | (description "Guile JsonLD is an implementation of the JsonLD API defined |
| 61 | by the W3C for GNU Guile. JsonLD stands for Json for Linked Data. Linked Data |
| 62 | is a representation for the semantic web. It allows you to express links |
| 63 | between data, in a way that is very similar to WikiData for instance. An object |
| 64 | can have relations (in the form of an IRI) that relates it to one or more objects |
| 65 | or strings, represented by a Json object or an IRI.") |
| 66 | (license license:gpl3+)) |
| 67 |