From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 39599@debbugs.gnu.org
Subject: [bug#39599] [PATCH 3/4] gnu: Add clojure-wrapper.
Date: Mon, 17 Feb 2020 12:12:27 +0100 [thread overview]
Message-ID: <20200217111228.23716-3-mail@ambrevar.xyz> (raw)
In-Reply-To: <20200217111228.23716-1-mail@ambrevar.xyz>
* gnu/packages/clojure.scm (clojure-wrapper): New variable.
---
gnu/packages/clojure.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 9a1ceed66c..f34e4dadab 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -1,8 +1,9 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2018, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2020 Jesse Gibbons <jgibbons2357@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,6 +28,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system ant)
#:use-module (guix build-system clojure)
+ #:use-module (guix build-system copy)
#:use-module (ice-9 match))
(define-public clojure
@@ -321,3 +323,29 @@ tree.
"The @code{tools.cli} library provides Clojure programmers with tools to
work with command-line arguments.")
(license license:epl1.0)))
+
+(define-public clojure-wrapper
+ (package
+ (name "clojure-wrapper")
+ (version "1.10.1.507")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/brew-install.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zipz22pszv4vls4qhxkia8gm86s1wkahr0jdbqhc46mpd8n54fz"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ `(("src/main/resources/" "bin/" #:include ("clj" "clojure"))
+ ("doc/clojure.1" "share/man/man1/")
+ ("epl.html" ,,(string-append "share/doc/clojure-" (package-version clojure) "/")))))
+ (synopsis "Clojure launch scripts")
+ (description "Scripts to launch Clojure from the command line.
+Without these scripts a user would need to run jar with the Clojure jar's
+location.")
+ (home-page "https://clojure.org/")
+ (license license:epl1.0)))
--
2.25.0
next prev parent reply other threads:[~2020-02-17 11:13 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 12:51 [bug#39599] [PATCH 0/2] New build system: copy-build-system Pierre Neidhardt
2020-02-14 12:53 ` [bug#39599] [PATCH 1/2] build-system: Add copy-build-system Pierre Neidhardt
2020-02-14 12:53 ` [bug#39599] [PATCH 2/2] gnu: gcide: Use the copy-build-system Pierre Neidhardt
2020-02-14 13:39 ` [bug#39599] [PATCH 1/2] build-system: Add copy-build-system Giovanni Biscuolo
2020-02-16 13:16 ` Pierre Neidhardt
2020-02-17 11:12 ` [bug#39599] [PATCH 1/4] " Pierre Neidhardt
2020-02-17 11:12 ` [bug#39599] [PATCH 2/4] gnu: gcide: Use the copy-build-system Pierre Neidhardt
2020-02-17 11:12 ` Pierre Neidhardt [this message]
2020-02-17 11:12 ` [bug#39599] [PATCH 4/4] gnu: net-base: Use copy build system Pierre Neidhardt
2020-02-17 11:48 ` [bug#39599] [PATCH 1/4] build-system: Add copy-build-system Mathieu Othacehe
2020-02-20 9:47 ` Ricardo Wurmus
2020-02-20 10:00 ` Pierre Neidhardt
2020-02-20 1:06 ` Alex Griffin
2020-02-20 8:40 ` Pierre Neidhardt
2020-02-20 8:44 ` Mathieu Othacehe
[not found] ` <87pne95krx.fsf@ambrevar.xyz>
2020-02-20 17:09 ` Julien Lepiller
2020-02-20 18:00 ` Pierre Neidhardt
2020-02-21 9:53 ` Pierre Neidhardt
2020-02-21 10:43 ` Nicolas Goaziou
2020-02-21 11:07 ` Pierre Neidhardt
2020-02-21 11:43 ` Nicolas Goaziou
2020-02-21 12:04 ` Pierre Neidhardt
2020-02-21 11:50 ` Tobias Geerinckx-Rice via Guix-patches via
2020-02-21 12:06 ` Pierre Neidhardt
2020-02-21 3:37 ` [bug#39599] Jack Hill
2020-02-21 3:37 ` [bug#39599] [PATCH v2] gnu: Add gnome-shell-extension-paperwm Jack Hill
2020-02-21 14:34 ` Alex Griffin
2020-02-21 16:22 ` Jack Hill
2020-02-21 18:48 ` Alex Griffin
2020-02-21 18:51 ` Jack Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200217111228.23716-3-mail@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=39599@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).