From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6DfGIxDcMWJfTgEAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 13:46:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0D6ZIBDcMWJCBQEAauVa8A (envelope-from ) for ; Wed, 16 Mar 2022 13:46:08 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 36EFC322CA for ; Wed, 16 Mar 2022 13:46:08 +0100 (CET) Received: from localhost ([::1]:52916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUT2V-0007wJ-E6 for larch@yhetil.org; Wed, 16 Mar 2022 08:46:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1V-0007Gc-TF for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1V-0004hI-Gb for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1V-0001l7-FI for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 13/18] gnu: Add clojure-com-cognitect-http-client. References: <87y22r32hi.fsf@reilysiegel.com> In-Reply-To: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Mar 2022 12:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.16474346636559 (code B ref 53765); Wed, 16 Mar 2022 12:45:05 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:23 +0000 Received: from localhost ([127.0.0.1]:50554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0o-0001hh-H3 for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:22 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:41218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0l-0001gn-HX for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:20 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4KJVMd5WlSz9sct; Wed, 16 Mar 2022 13:44:13 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=m2sUW6meymxkfCf5K84+t6jAWpT7uvsrTWs/5Dk1zqw=; b=KNyoUOBZMmVvf+jaMLFPk3CCMa93KHMZklU12COBA4mBUNRMzM8ez7U3FvEttwczNEW3qK lhWf0HI9Plcc958o+YBpnL9GXMy7xQk3q46LyLuX+P8KvAAwLUXp0I3HK1Bs3WM8kn8lPT nxdMyPZyXlIKEF06ccv/U59670J+lkimGJZoabj276OsgZe1HUl5+zrgLZ2n3Uuat1mDva 2KcPbRO43t52NpctvX/M7+2I/GcQR389ZSS4F+H85Tg1ZdEbJqWKeOLlmBnnPaivX5i5/f oHVZNk/bAU/Q9HQ+qLas51QfgLQ3QNCwBMzST7qR+5NUCySrj6gC+EFEHhw0JA== Date: Wed, 16 Mar 2022 13:44:10 +0100 Message-ID: <87v8wecbj9.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647434768; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=m2sUW6meymxkfCf5K84+t6jAWpT7uvsrTWs/5Dk1zqw=; b=RemYNiMJ/hAuBDIsE/KtFCt23tMYYVrY/NcOVZZCWbdis/Miyw1vRyaej0odGLna/af1Zw Ks5uNYHGjjdn6/ArEv/dtcC89oYbv75z0ZMQPGKpuBf2VNXkgTgwLHh8IzGxyp6XkPKrNG 6XBdMsQMUB92WsMYl1in/+fyBatwewt2HiSRCXOhohWICR1L9UA40ZsvbxCrjbOWLcJpyy v8DzP5TJBblXuvoR+tbKymIy+n/EB71tAteZ3vTvg4hf0RUqXI8QYa/TbwqqVWmKWIaLQG V8UMQYnTJyL9epjk/ci8SIx6piru7E9Or9c2Go5yyHBnlRTkrktR+vgEaj/vew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647434768; a=rsa-sha256; cv=none; b=f5uTzKGp3MKpOzk6lMWLojLfTdBDy90P8xLNmKxcoNY2Zhv5mlKUgw7E8liTd5rUyjmgX0 93lJr+GgA4pzR5CgQwYTsR0Iktc3Bhq7cVkunmMPCkfJfppShmm4coYInV89jMKP6J3OeO 8v35OhWlHT3hS57Gp5cz4h9lv4qzvvKIe4MwpTNgW53QY0R2NO9yvRqRIIqiagJ0QugsHV LaDnDQBNX5eG2ftqEHtFHR7Elf1tdR4UL3N1M+JI6FBxa1vXYmVZvMHfuhy93xol075HJK rt5v3B/zjax+eZxwijwKIV+WOWsnaj0fo6FkIVI4634Rz9B4Uco95FfxmGRS6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=KNyoUOBZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=KNyoUOBZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 36EFC322CA X-Spam-Score: -0.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: UXi99OlPXdie * gnu/packages/clojure.scm (clojure-com-cognitect-http-client): New variable. --- gnu/packages/clojure.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 6a45ba7d6c..9d4026e844 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -25,6 +25,7 @@ (define-module (gnu packages clojure) #:use-module (gnu packages java) #:use-module (gnu packages maven) #:use-module (gnu packages readline) + #:use-module (gnu packages web) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -259,6 +260,36 @@ (define-public clojure-algo-monads (home-page "https://github.com/clojure/algo.monads") (license license:epl1.0))) +(define-public clojure-com-cognitect-http-client + (package + (name "clojure-com-cognitect-http-client") + (version "1.0.111") + (source (origin + (method url-fetch) + ;; This JAR contains only uncompiled Clojure sources. + (uri (string-append "https://repo1.maven.org/maven2/" + "com/cognitect/http-client/" + version "/http-client-" + version ".jar")) + (sha256 + (base32 + "0n03vyr6i6n8ll8jn14b5zsba5pndb0ivdwizimz16gd8w3kf5xh")))) + (build-system clojure-build-system) + (propagated-inputs (list clojure-core-async + java-eclipse-jetty-client + java-eclipse-jetty-http + java-eclipse-jetty-util + java-eclipse-jetty-io)) + (arguments + '(#:source-dirs '("src") + #:test-dirs '() + #:doc-dirs '())) + (home-page "https://cognitect.com") + (synopsis "HTTP client for Clojure") + (description "HTTP client for Clojure that wraps Jetty's Java API, +providing an API that follows Clojure conventions.") + (license license:asl2.0))) + (define-public clojure-core-async (package (name "clojure-core-async") -- 2.34.0 -- Reily Siegel