guile-rdf/guix.scm

guix.scm

1
;;;; Copyright (C) 2020 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 pkg-config)
28
  (gnu packages texinfo)
29
  (gnu packages tls))
30
31
(package
32
  (name "guile-rdf")
33
  (version "1.0")
34
  (source
35
    (origin
36
      (method git-fetch)
37
      (uri (git-reference
38
             (url "https://framagit.org/tyreunom/guile-rdf")
39
             (commit version)))
40
      (file-name (git-file-name name version))
41
      (sha256
42
       (base32
43
        "00l03j8ajkd1a7sg1zycbpdaz71mscrncw7rwjzqk2ia6j04rwxm"))))
44
  (build-system gnu-build-system)
45
  (inputs
46
   `(("guile" ,guile-next)))
47
  (native-inputs
48
   `(("automake" ,automake)
49
     ("autoconf" ,autoconf)
50
     ("pkg-config" ,pkg-config)
51
     ("texinfo" ,texinfo)))
52
  (home-page "https://framagit.org/tyreunom/guile-rdf")
53
  (synopsis "Guile implementation of the RDF abstract syntax and the Turtle syntax")
54
  (description "Resource Description Framework (RDF) is a general-purpose
55
language for representing information in the Web.  Multiple languages can be
56
used to represent RDF data, turtle is one of them.")
57
  (license license:gpl3+))
58