Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / jose.scm
CommitLineData
4d674b41
MR
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
88847437 3;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
4d674b41
MR
4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages jose)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix utils)
88847437 25 #:use-module (guix build-system meson)
4d674b41
MR
26 #:use-module (gnu packages pkg-config)
27 #:use-module (gnu packages web)
28 #:use-module (gnu packages compression)
29 #:use-module (gnu packages tls))
30
31(define-public jose
32 (package
33 (name "jose")
88847437 34 (version "11")
4d674b41
MR
35 (source (origin
36 (method url-fetch)
37 (uri
88847437
TGR
38 (string-append "https://github.com/latchset/jose/releases/"
39 "download/v" version "/jose-" version ".tar.xz"))
4d674b41
MR
40 (sha256
41 (base32
88847437
TGR
42 "09c2kn9cjqkgx4g0rf6c2k3ng9970r468c9z7067j8kyf7ksywp2"))))
43 (build-system meson-build-system)
4d674b41
MR
44 (native-inputs `(("pkg-config" ,pkg-config)))
45 (inputs `(("jansson" ,jansson)
46 ("zlib" ,zlib)
47 ("libcrypto" ,openssl)))
4d674b41
MR
48 (home-page "https://github.com/latchset/jose")
49 (synopsis "Object Signing and Encryption")
50 (description "C-language implementation of Javascript Object Signing and
51Encryption")
52 (license license:asl2.0)))