From patchwork Thu Aug 22 23:36:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 67242 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 29FA027BBE9; Fri, 23 Aug 2024 00:38:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5B82D27BBE2 for ; Fri, 23 Aug 2024 00:38:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shHNg-00068H-AN; Thu, 22 Aug 2024 19:38:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shHNf-000681-JJ for guix-patches@gnu.org; Thu, 22 Aug 2024 19:38:15 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shHNf-0006xC-98 for guix-patches@gnu.org; Thu, 22 Aug 2024 19:38:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=4SADjdibL+CjFKNp9EP2YPXE21ydrCvmBB7g/EbERFo=; b=ZcPLR1L7VR/N5WE9qBPBLMNSDGro9D6Bp6iFqCddlGlqshmXNHEZm+myBMn2XS5wMo1M1TStCqRSSjprj8IAZl+Pi/dEgx5vBtDmgRpoqdH4ykFMk1gXj135irXg2JSHyaMSrJbFwbszrBO3Xvcspe9yu49gDdWjZZEZQQzjG2NE1RyMI0qYJdKhMJQEuZEg6An7Y4+S/ph2V8TraX3S70/USncovTrqp1Rdj573Bt0ehNCrbuMUTQ/gT3PdoPa4OKeu6gaO0toq0sox3DDPXErLQzzET5OL5dqU1A1egXgGtqBumKj61dma8VmH7ayAkZsO7SnZG2tjpPWw1Y+MlQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shHOP-0002dD-KU for guix-patches@gnu.org; Thu, 22 Aug 2024 19:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72766] [PATCH 1/2] gnu: Add libjwt. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Aug 2024 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72766@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 72766-submit@debbugs.gnu.org id=B72766.172436989010037 (code B ref 72766); Thu, 22 Aug 2024 23:39:01 +0000 Received: (at 72766) by debbugs.gnu.org; 22 Aug 2024 23:38:10 +0000 Received: from localhost ([127.0.0.1]:38575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shHNZ-0002bo-Nv for submit@debbugs.gnu.org; Thu, 22 Aug 2024 19:38:10 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:33750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shHNX-0002bf-GD for 72766@debbugs.gnu.org; Thu, 22 Aug 2024 19:38:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4SADjdibL+CjFKNp9EP2YPXE21ydrCvmBB7g/EbERFo=; b=Ty6ZSF+0rrp4uW9CrSOQ53mo+N IdnEaz0fEJq+KoH/2T8ECHyTX2j0cxmAXoOq8G2evCTtTBn0md8VSH7+HpmZ+UzRa5LZDc51BG2qY l/ZhhO3CU8ngmx2UBO6CGvUzq7IcVW8/AU71Fohs0pLw09qLcY2osGPTJiJDI09jR1In3pYpaTErg eGj8O3w6Imd30GuxDtIuofiGISCJrXtsmeMZeMvfTRUAnNsQaup3DPgqqliAzjEBnxr6Kj4NAfEhz tHOzem90iNxNRfN+ioQisLTXvrTesWGfAcqohsDBWTP3LPdn5Y7J20A9zb+sOawUyoeTVPXe2v4OK GtzFaOxA==; Received: from [192.168.2.1] (port=58412 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1shHHn-000000007H1-1yZH; Fri, 23 Aug 2024 00:32:12 +0100 From: Arun Isaac Date: Fri, 23 Aug 2024 00:36:30 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/web.scm (libjwt): New variable. Change-Id: Ied516fb41a90de316588622b999b27f0f7ee8de3 --- gnu/packages/web.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 34922911a7..dd1b9438a2 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016, 2023 Clément Lassieur ;;; Copyright © 2016, 2017 Nikita -;;; Copyright © 2016–2023 Arun Isaac +;;; Copyright © 2016–2024 Arun Isaac ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice ;;; Copyright © 2016 Bake Timmons ;;; Copyright © 2017 Thomas Danckaert @@ -1604,6 +1604,30 @@ (define-public rapidjson 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")