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 gnupg) |
27 | (gnu packages guile) |
28 | (gnu packages guile-xyz) |
29 | (gnu packages pkg-config) |
30 | (gnu packages texinfo) |
31 | (gnu packages tls)) |
32 | |
33 | (package |
34 | (name "guile-fediverse") |
35 | (version "0.1.0") |
36 | (source |
37 | (origin |
38 | (method git-fetch) |
39 | (uri (git-reference |
40 | (url "https://framagit.org/tyreunom/guile-fediverse") |
41 | (commit version))) |
42 | (file-name (git-file-name name version)) |
43 | (sha256 |
44 | (base32 |
45 | "00l03j8ajkd1a7sg1zycbpdaz71mscrncw7rwjzqk2ia6j04rwxm")))) |
46 | (build-system gnu-build-system) |
47 | (arguments |
48 | `(#:make-flags '("SCHEMA_ORG_FILE=schema.org/schema.jsonld"))) |
49 | (inputs |
50 | `(("guile" ,guile-3.0) |
51 | ("guile-json" ,guile-json-4) |
52 | ("guile-jsonld" ,guile-jsonld) |
53 | ("guile-gcrypt" ,guile-gcrypt))) |
54 | (native-inputs |
55 | `(("automake" ,automake) |
56 | ("autoconf" ,autoconf) |
57 | ("pkg-config" ,pkg-config) |
58 | ("texinfo" ,texinfo))) |
59 | (home-page "https://framagit.org/tyreunom/guile-fediverse") |
60 | (synopsis "Implementation of multiple Fediverse algorithms") |
61 | (description "") |
62 | (license license:lgpl3+)) |
63 |