From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4KZpADrcMWLAWgEAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 13:46:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YMh6OTncMWIVHgAA9RJhRA (envelope-from ) for ; Wed, 16 Mar 2022 13:46:49 +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 A7EEE3679C for ; Wed, 16 Mar 2022 13:46:49 +0100 (CET) Received: from localhost ([::1]:53834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUT39-00009u-8k for larch@yhetil.org; Wed, 16 Mar 2022 08:46:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1Y-0007Lm-4Y for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1X-0004iS-Nk for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1X-0001li-KT for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 17/18] gnu: clojure-tools-deps-alpha: Fix issues with S3 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:07 +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.16474346736630 (code B ref 53765); Wed, 16 Mar 2022 12:45:07 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:33 +0000 Received: from localhost ([127.0.0.1]:50568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0w-0001id-6O for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:33 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:54106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0s-0001hZ-OA for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:27 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (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 4KJVMm6cdLz9sTl; Wed, 16 Mar 2022 13:44:20 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434660; 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=VDZm+BYOQXY8mGbZQCxdFxSRTiaIbX6x68pOrZeugVw=; b=MOFqCooKpPT28+/sYrUWoK/1wKg8lDD8Wf38doaXDeL4FWm8fjSsUBa3PpcsHsKlA9asGH EerO6hI7fp+m0buyLx4ZmtQgvCrTFoLn9A5OtjQPuhjZmDshInYH5keaQVgxgLar+fBR7r d9pRkABRNZNmbqvbRbemZm72RVV+tJyAe2oNyvoYlj5fdDukTUAFGFWz7AuzCFRpSe6UKo 7EuE2lb7yZ5/NzX7ik98snaTJzR+FuGcXHXa7VjlozDCd1Q8tCsZw+MvAiee+Np9eQ1nJQ OIizI9DxKPzFBH8cppf+cVQnnRUPjmrnB5ZR1ba/cydVI9MT12PS/6PxApTmrQ== Date: Wed, 16 Mar 2022 13:44:18 +0100 Message-ID: <87pmmmcbj1.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=1647434809; 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=VDZm+BYOQXY8mGbZQCxdFxSRTiaIbX6x68pOrZeugVw=; b=FdGFiZMkPFYCjb2xP05as628GJNlTXeWpGvVAZfSxU91/RtFLkmfF+hKrasHmAswQeFuJ2 /wPD79PtCnixHa+5tH1YL11mgyz04M2NI5jsFS/X/BbX4K2fBseuawinrh0U20y8d+enkO +SeUuy5RX8oT7DS8aZXt2BpHnMpKoHmZxkHHsnLjOy87an7wJFQ8ChSJsGXBqRf6ih21fK vgvYw33S6jbBDjlGeuURtu8PTGr65xahAmJGVzXz50TvwoW13mKMH1Ad/4p/VEA+lr2GXm i1dQbR0O/aG43468nkWSM0m0zRcJjeTJwZQsRRPXglTsmc2T4eEeFo1aWBM1fA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647434809; a=rsa-sha256; cv=none; b=AyODjZH49qlmGtUSAHwGXf7mL/SBMvZixpIMUxsd6H8M2uwsIcXXJ9mA/0f+icJRr/FS4H BV1GPxa9pWNGV8FnMGlGS3n++v59uc1vpkbWtoEHQwEqv4gVcVrBpXIEAiVuQq/ai6phqf EmxnRbi8jr0PLc3Ko+3j//UnLuLgobyu3rhu6k38zmoTY5165ccd7m0pb9QvhRWYZRGr3L +Vu93T0QbOuClS4qoGXn78zAlx4Wk5a6yZQv+L9tW65C3sZ1WldOEz3Ky+J8Mg4VWbrE7L fCuZAn8tkmXuqTUtk45ugXQRv6VwnA5xeHBII6XhQQYapVhVngcYckaQ8r+gGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=MOFqCooK; 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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=MOFqCooK; 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: A7EEE3679C X-Spam-Score: -0.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: qjgojXZuPLsk * gnu/packages/clojure.scm (clojure-tools-deps-alpha): Remove a restriction which prevented the S3 loader from being used due to dependency issues. Now that clojure-core-async has been packaged, this restriction can be lifted. --- gnu/packages/clojure.scm | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index d2d5bbda48..f6169bc324 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -888,34 +888,11 @@ (define-public clojure-tools-deps-alpha (build-system clojure-build-system) (arguments `(#:source-dirs '("src/main/clojure" "src/main/resources") + #:java-source-dirs '("src/main/java") #:test-dirs '("src/test/clojure") #:doc-dirs '() ;; FIXME: Could not initialize class org.eclipse.aether.transport.http.SslSocketFactory - #:tests? #f - #:phases - (modify-phases %standard-phases - ;; FIXME: Currently, the S3 transporter depends on ClojureScript, - ;; which is very difficult to package due to dependencies on Java - ;; libraries with non-standard build systems. Instead of actually - ;; packaging these libraries, we just remove the S3 transporter that - ;; depends on them. - (add-after 'unpack 'remove-s3-transporter - (lambda _ - (for-each delete-file - (list - (string-append - "src/main/clojure/clojure/" - "tools/deps/alpha/util/s3_aws_client.clj") - (string-append - "src/main/clojure/clojure/" - "tools/deps/alpha/util/s3_transporter.clj") - (string-append - "src/test/clojure/clojure/" - "tools/deps/alpha/util/test_s3_transporter.clj"))) - (substitute* - "src/main/clojure/clojure/tools/deps/alpha/util/maven.clj" - (("clojure.tools.deps.alpha.util.s3-transporter") - ""))))))) + #:tests? #f)) (propagated-inputs (list maven-resolver-api maven-resolver-spi maven-resolver-impl @@ -927,7 +904,11 @@ (define-public clojure-tools-deps-alpha maven-resolver-transport-file clojure-tools-gitlibs clojure-tools-cli - clojure-data-xml)) + clojure-data-xml + clojure-com-cognitect-aws-api + clojure-com-cognitect-aws-endpoints + clojure-com-cognitect-aws-s3 + java-javax-inject)) (synopsis "Clojure library supporting clojure-tools") (description "This package provides a functional API for transitive dependency graph expansion and the creation of classpaths.") -- 2.34.0 -- Reily Siegel