diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2024-08-22 16:38:43 +0100 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2024-10-18 02:20:47 +0100 |
commit | ba0340eec2e50439cfd94e85b40bf41c2d488a74 (patch) | |
tree | e4108384c4657a5a658d437d4a645dc95bd8f24e /gnu/packages | |
parent | 91dd354a10edbb0d3d4bc3220b671504eda871a7 (diff) | |
download | guix-ba0340eec2e50439cfd94e85b40bf41c2d488a74.tar guix-ba0340eec2e50439cfd94e85b40bf41c2d488a74.tar.gz |
gnu: Add libjwt.
* gnu/packages/web.scm (libjwt): New variable.
Change-Id: Ied516fb41a90de316588622b999b27f0f7ee8de3
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5d2ab791ae..9cd6d4dd40 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2016, 2023 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is> -;;; Copyright © 2016–2023 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2016–2024 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> @@ -1610,6 +1610,30 @@ current version of any major web browser.") style API.") (license license:expat)))) +(define-public libjwt + (package + (name "libjwt") + (version "1.17.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/benmcollins/libjwt/releases/download/v" + version "/libjwt-" + version ".tar.bz2")) + (sha256 + (base32 + "1bpfaa0y8bccz5hr677lkrprs07akx02k0qbf82z2c8syr24a77i")))) + (build-system gnu-build-system) + (inputs + (list jansson openssl)) + (native-inputs + (list check pkg-config)) + (home-page "https://github.com/benmcollins/libjwt") + (synopsis "C @acronym{JWT, JSON Web Token} library") + (description "@code{libjwt} is a @acronym{JWT, JSON Web Token} library for +C.") + (license license:mpl2.0))) + (define-public yajl (package (name "yajl") |