From patchwork Fri Feb 4 00:26:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 36979 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 E2DCB27BBEA; Fri, 4 Feb 2022 00:28:12 +0000 (GMT) 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 A857627BBE9 for ; Fri, 4 Feb 2022 00:28:12 +0000 (GMT) Received: from localhost ([::1]:51468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFmSR-00041L-Sw for patchwork@mira.cbaines.net; Thu, 03 Feb 2022 19:28:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFmRP-0002Lh-Rj for guix-patches@gnu.org; Thu, 03 Feb 2022 19:27:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFmRK-0002Hq-7m for guix-patches@gnu.org; Thu, 03 Feb 2022 19:27:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFmRK-0000Bc-2U for guix-patches@gnu.org; Thu, 03 Feb 2022 19:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 13/17] gnu: Add clojure-com-cognitect-aws-api. 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: Fri, 04 Feb 2022 00:27:02 +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 Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.1643934374602 (code B ref 53765); Fri, 04 Feb 2022 00:27:02 +0000 Received: (at 53765) by debbugs.gnu.org; 4 Feb 2022 00:26:14 +0000 Received: from localhost ([127.0.0.1]:58337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmQX-00009e-Uj for submit@debbugs.gnu.org; Thu, 03 Feb 2022 19:26:14 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:44138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmQW-00009P-H0 for 53765@debbugs.gnu.org; Thu, 03 Feb 2022 19:26:12 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (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-103.mailbox.org (Postfix) with ESMTPS id 4JqbtQ5fDzz9sSc for <53765@debbugs.gnu.org>; Fri, 4 Feb 2022 01:26:06 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1643934364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=KNIva+grCxfuZAs7yehCctnKI1anL8A/fxGpb8HGdv8=; b=axamMOpcGKsjN20n2qP/gghDs/SbKl69JOTM0W1j36l99ktwdRw7ZWYqq3CgGOFKLYDrZs ABqJbEuTBPjLdSvJ0EkV84L5Kazywu+5eoZYF+C8pkLww3Nu0qRcNESaJsRX4dMYeMD1xn pyFY09JEFbOfAI7xMOQ8zGDtKoEZz8dbpEi5XEtqpUUZqVQBt5lG0sYdxoznzmEeNJm4AT ATIA0iJ776p10N2bl4eVhLkKE8q4HJEjE/PbeWkC/AtQnnCnd+kWenpzd0LPirMbHpycT/ M2oCQaZhEq+l85bS9zWuyS36lXfyKaLI+laKX4DfIUHqeAcUBjWv7QAMkZimpg== From: Reily Siegel Date: Thu, 03 Feb 2022 19:26:00 -0500 Message-ID: <87ee4j32av.fsf@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 (clojure-com-cognitect-aws-api): New variable. --- gnu/packages/clojure.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 58adb8d080..b99ec139da 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -260,6 +260,46 @@ (define-public clojure-algo-monads (home-page "https://github.com/clojure/algo.monads") (license license:epl1.0))) +(define-public clojure-com-cognitect-aws-api + (package + (name "clojure-com-cognitect-aws-api") + (version "0.8.539") + (home-page "https://github.com/cognitect-labs/aws-api") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pi1578hgfy9w25gyidz5dwl85q51rjm3kfffmlxsysl7vx3gv03")))) + (build-system clojure-build-system) + (native-inputs (list clojure-http-kit + java-commons-io + clojure-com-cognitect-aws-endpoints + clojure-com-cognitect-aws-s3 + clojure-test-check)) + (propagated-inputs (list clojure-core-async + clojure-tools-logging + clojure-data-json + clojure-data-xml + clojure-com-cognitect-http-client)) + (arguments + '(#:source-dirs '("src" "resources") + #:test-dirs '("test/src" "test/resources") + #:doc-dirs '("doc"))) + (synopsis "aws-api is a Clojure library which provides programmatic access +to AWS services from your Clojure program") + (description "@code{aws-api} is an idiomatic, data-oriented Clojure +library for invoking AWS APIs. While the library offers some helper and +documentation functions you'll use at development time, the only functions you +ever need at runtime are @code{client}, which creates a client for a given +service and @code{invoke}, which invokes an operation on the +service. @code{invoke} takes a map and returns a map, and works the same way +for every operation on every service.") + (license license:asl2.0))) + (define-public clojure-com-cognitect-http-client (package (name "clojure-com-cognitect-aws-api")