From patchwork Sat Jan 22 00:32:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 38355 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 B0B7F27BBEB; Wed, 6 Apr 2022 13:42:39 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 7422127BBEA for ; Wed, 6 Apr 2022 13:42:39 +0100 (BST) Received: from localhost ([::1]:60354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc4ze-0001h0-KX for patchwork@mira.cbaines.net; Wed, 06 Apr 2022 08:42:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4z7-0000rH-FS for guix-patches@gnu.org; Wed, 06 Apr 2022 08:42:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc4z7-0000pe-6D for guix-patches@gnu.org; Wed, 06 Apr 2022 08:42:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nc4z7-0000Lb-4R for guix-patches@gnu.org; Wed, 06 Apr 2022 08:42:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v3 12/17] gnu: Add clojure-com-cognitect-http-client. References: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Apr 2022 12:42: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.16492488951168 (code B ref 53765); Wed, 06 Apr 2022 12:42:05 +0000 Received: (at 53765) by debbugs.gnu.org; 6 Apr 2022 12:41:35 +0000 Received: from localhost ([127.0.0.1]:57285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc4yd-0000Ih-13 for submit@debbugs.gnu.org; Wed, 06 Apr 2022 08:41:35 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:59461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc4yb-0000I8-JW for 53765@debbugs.gnu.org; Wed, 06 Apr 2022 08:41:34 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (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-202.mailbox.org (Postfix) with ESMTPS id 4KYPJl5GzHz9sTG; Wed, 6 Apr 2022 14:41:27 +0200 (CEST) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1649248885; 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: in-reply-to:in-reply-to; bh=Z/ldBWZMyYcpkUY6OPrEiYF/Oi6s32XKAg37dWvHj3w=; b=Vpgrb9FNQ4qyZvXEiVezm+GAbDc81BvfQjD554yBHC3wbDS5EkB8j7Ti6IJ7x9feu5wQOW HrUnwugVilKcmCYRSz50GY4DKfPwwjj0tfKKU8QWG30v+IssfEe0JMaNJJXQkO0FanqCcs 6OlItis3HVRPV/21BGlpszMtkFO4ECNsIYAOtXfzD8aGX7RHdl7ystrkUcebWGNX9Pvsue I4wR5RebBZLmIHG1shwbiP0j0VXsB8d4+EsgIEefUfrm6HyhjGuP0126f/HvTuemV1Rnyh BrYaYkiezhRERQ7GKHlafoI2HGkyPjX04JC44BwLnt82+lQ1SA8D/VO3WRRUPg== In-Reply-To: Date: Fri, 21 Jan 2022 19:32:47 -0500 Message-Id: <9114bb33d51966d21a6a279e2352b126659e6a20.1649248640.git.mail@reilysiegel.com> 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" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/clojure.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 7b2af9464d..964d33185e 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")