From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +N3TBd0AxWF23QAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 00:06:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yN2ZAd0AxWEYdgAAB5/wlQ (envelope-from ) for ; Thu, 23 Dec 2021 23:06:05 +0000 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 5EB272F9BC for ; Fri, 24 Dec 2021 00:06:04 +0100 (CET) Received: from localhost ([::1]:43802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0X9t-0005Uh-Mx for larch@yhetil.org; Thu, 23 Dec 2021 18:06:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0X96-0004pp-EC for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0X8y-0003cq-LJ for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0X8y-0003YR-GS for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs. Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Dec 2021 23:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48735@debbugs.gnu.org Received: via spool by 48735-submit@debbugs.gnu.org id=B48735.164030068913554 (code B ref 48735); Thu, 23 Dec 2021 23:05:04 +0000 Received: (at 48735) by debbugs.gnu.org; 23 Dec 2021 23:04:49 +0000 Received: from localhost ([127.0.0.1]:35186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8j-0003WW-2K for submit@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:49 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:52908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8e-0003Vp-8a for 48735@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:44 -0500 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-202.mailbox.org (Postfix) with ESMTPS id 4JKm3p3ZMYzQkht for <48735@debbugs.gnu.org>; Fri, 24 Dec 2021 00:04:38 +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=1640300678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wg4T7i/6JSy6pD9WrbUw/du05JVqEE4Bk17Sl0Xgq8o=; b=EKnvfwU7e/i1b5bv3D2nKIIcNV2pTKzKhjOW70ZiRP2zskKvTxY4fJ6RKb+EnspRPAjxmq A3IYCMZX1RNbu1/adj4uEieNIlfZG8HGQLnKxBKtxFwP9K5aDxshqU6WdTJhoeEplGxqGZ cQBD0AEAWtnEaQW4sztmbtLOXkAQUCaXeFjywFW8yVEzp8yFzEkmDgubnICQWWTRyZrlLz K2AuPbIwn6bXhnVfD5a5WV7AGAiB3WqgbH+8n8RbCfYGZ8HB7PsaFs0/GiBjja+QI5sWwB MfS6SoVg1Z2TxegEda+KIWVsKNCbm9pWhvNTsZPhlFicA2o//LcpfkxxALXGQg== From: Reily Siegel In-Reply-To: <9e561666cdecbd9cef4d9db0e5136ae8b918771b.1640300654.git.mail@reilysiegel.com> References: Message-Id: Date: Thu, 23 Dec 2021 18:04:35 -0500 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640300764; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=wg4T7i/6JSy6pD9WrbUw/du05JVqEE4Bk17Sl0Xgq8o=; b=d42feLQboqw6XMCuM8v6sJlUnQrivBp6SM3avpHkD91SmTBiRt0QQkJwS1U4l0S7BAzVd1 Nfa59xLi/gts2TaBeoWgWsm4GJg0qDK2iwAmH+GGdWPceT8WO+6zNkbCyQC/m7+9PuujhP XnUK50SCLQnemgsmm5WdPep2pCk9SUP8XaE04xN/keg3AReenARmKcichk9llNqAlM/RZh hZJC1Gpf79K9RHUgzscEhhXNs8mgcYMP8MkSIBFFRcZZ55avZk7Nk/YnbHurgg3fkz3Agb HK3oKIRn57a0I6I1TMC1mP2FVOBPxR4OKSxo8/VLukXypRAqm6TlvLVdYWC/KA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640300764; a=rsa-sha256; cv=none; b=tNIZ+sLb7erSwQzWHL3LXedq5pQwEQTcqVhPVOxATCBQM1WwF89aW3FthToufm+mLYngw/ EJJ1HAe7jKuylybEc2IoGbvFdU119D/3pTgJ58zuAME5BxxVz+LaBLLyCo/m4ivzUVVLGP Yfm8W+/UTCZEGd+jJ+HbG26teoF4zgk6DAcWd8mJ4DCqdAX7RgwMbWAYnHyXCyx5my/zJE Zct/txAD8d/1H3OuaduPJNf/6IE7APR+Q9BbIpyrV+5rj99WiXnHRAmGRpD12wo/IiRTOA aO3y4QE4kLN6hkJvz2aZFS6ZV3R/KFEWzXHMYDH8GV7Rii5SZFI3q8VQ1+HVjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=EKnvfwU7; 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: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=EKnvfwU7; 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: 5EB272F9BC X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: azHo1bq6qRcC * gnu/packages/clojure.scm (clojure-tools-gitlibs): New variable. --- gnu/packages/clojure.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 463d0fb46c..70239cb7e7 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -23,6 +23,7 @@ (define-module (gnu packages clojure) #:use-module (gnu packages) #:use-module (gnu packages java) + #:use-module (gnu packages version-control) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -368,3 +369,34 @@ (define-public clojure-tools-cli "The @code{tools.cli} library provides Clojure programmers with tools to work with command-line arguments.") (license license:epl1.0))) + +(define-public clojure-tools-gitlibs + (package + (name "clojure-tools-gitlibs") + (version "2.4.172") + (home-page "https://github.com/clojure/tools.gitlibs") + (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 + "19d83wigmigy66f5i61a3ishg7zrlv8jngj8m9brsh9v38a0fwdr")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + ;; FIXME: Tests modify filesystem (cloning git repos), and the build + ;; system does not like this. + #:tests? #f)) + (native-inputs (list git)) + (synopsis "API for retrieving, caching, and programatically accessing git +libraries") + (description "To access git dependencies (for example, via tools.deps), +one must download git directories and working trees as indicated by git +shas. This library provides this functionality and also keeps a cache of git +dirs and working trees that can be reused.") + (license license:epl1.0))) -- 2.34.0