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 | |
30 | (define-public guile-jsonld |
31 | (package |
32 | (name "guile-jsonld") |
33 | (version "0.1.0") |
34 | (source |
35 | (origin |
36 | (method git-fetch) |
37 | (uri (git-reference |
38 | (url "https://framagit.org/tyreunom/guile-jsonld") |
39 | (commit "b6cf6ab99a398828943b7034191f2e8ed67b26f9"))) |
40 | (file-name (git-file-name name version)) |
41 | (sha256 |
42 | (base32 |
43 | "1j3q0ysi8cyv07zp6adkpn9kyhdxdfds417ifickv304b9cxk873")))) |
44 | (build-system gnu-build-system) |
45 | (arguments |
46 | `(#:tests? #f)) |
47 | (inputs |
48 | `(("guile" ,guile-2.2) |
49 | ("guile-json" ,guile-json-3))) |
50 | (native-inputs |
51 | `(("automake" ,automake) |
52 | ("autoconf" ,autoconf) |
53 | ("pkg-config" ,pkg-config) |
54 | ("texinfo" ,texinfo))) |
55 | (home-page "https://framagit.org/tyreunom/guile-jsonld") |
56 | (synopsis "Implementation of the Json Linked-Data algorithms") |
57 | (description "") |
58 | (license license:lgpl3+))) |
59 | |
60 | (package |
61 | (name "guile-fediverse") |
62 | (version "0.1.0") |
63 | (source |
64 | (origin |
65 | (method git-fetch) |
66 | (uri (git-reference |
67 | (url "https://framagit.org/tyreunom/guile-fediverse") |
68 | (commit version))) |
69 | (file-name (git-file-name name version)) |
70 | (sha256 |
71 | (base32 |
72 | "00l03j8ajkd1a7sg1zycbpdaz71mscrncw7rwjzqk2ia6j04rwxm")))) |
73 | (build-system gnu-build-system) |
74 | (inputs |
75 | `(("guile" ,guile-2.2) |
76 | ("guile-json" ,guile-json-3) |
77 | ("guile-jsonld" ,guile-jsonld))) |
78 | (native-inputs |
79 | `(("automake" ,automake) |
80 | ("autoconf" ,autoconf) |
81 | ("pkg-config" ,pkg-config) |
82 | ("texinfo" ,texinfo))) |
83 | (home-page "https://framagit.org/tyreunom/guile-fediverse") |
84 | (synopsis "Implementation of multiple Fediverse algorithms") |
85 | (description "") |
86 | (license license:lgpl3+)) |
87 |