GNU bug report logs - #61084
[PATCH] gnu: Add emacs-clj-deps-new.

Previous Next

Package: guix-patches;

Reported by: conses <contact <at> conses.eu>

Date: Thu, 26 Jan 2023 19:58:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61084 in the body.
You can then email your comments to 61084 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61084; Package guix-patches. (Thu, 26 Jan 2023 19:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to conses <contact <at> conses.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 26 Jan 2023 19:58:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: conses <contact <at> conses.eu>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-clj-deps-new.
Date: Thu, 26 Jan 2023 20:57:27 +0100
* gnu/packages/emacs-xyz.scm (emacs-clj-deps-new): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc378581f5..ea65223ac1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11688,6 +11688,28 @@ (define-public emacs-clojure-mode
 It is recommended to use @code{clojure-mode} with Paredit or Smartparens.")
     (license license:gpl3+)))
 
+(define-public emacs-clj-deps-new
+  (package
+    (name "emacs-clj-deps-new")
+    (version "20221007.1014")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://melpa.org/packages/clj-deps-new-"
+                                  version ".el"))
+              (sha256
+               (base32
+                "0hpakpkcrfz1f79fpx1z74kvazwqsflr71szw73zmlys47wcz3pg"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-transient))
+    (home-page "https://github.com/jpe90/emacs-clj-deps-new")
+    (synopsis "Create Clojure projects from templates")
+    (description
+     "This is a small wrapper around the
+@uref{https://github.com/seancorfield/deps-new, deps-new} and
+@uref{https://github.com/seancorfield/clj-new, clj-new} tools for creating
+Clojure projects from templates.")
+    (license license:gpl3)))
+
 (define-public emacs-clj-refactor
   (package
     (name "emacs-clj-refactor")
-- 
2.38.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#61084; Package guix-patches. (Fri, 27 Jan 2023 08:56:02 GMT) Full text and rfc822 format available.

Message #8 received at 61084 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 61084 <at> debbugs.gnu.org
Subject: Re: [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new.
Date: Fri, 27 Jan 2023 09:55:07 +0100
Hello,

conses <contact <at> conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-clj-deps-new): New variable.

Thank you. Some comments follow.

> +(define-public emacs-clj-deps-new
> +  (package
> +    (name "emacs-clj-deps-new")
> +    (version "20221007.1014")

Version is "1.1" according to "clj-deps-new.el" file.

> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://melpa.org/packages/clj-deps-new-"
> +                                  version ".el"))

Guix doesn't use MELPA as upstream because their tarballs are not
stable. You may use "https://github.com/jpe90/emacs-clj-deps-new" instead.

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#61084; Package guix-patches. (Sat, 28 Jan 2023 18:57:01 GMT) Full text and rfc822 format available.

Message #11 received at 61084 <at> debbugs.gnu.org (full text, mbox):

From: conses <contact <at> conses.eu>
To: 61084 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-clj-deps-new.
Date: Sat, 28 Jan 2023 19:56:48 +0100
* gnu/packages/emacs-xyz.scm (emacs-clj-deps-new): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc378581f5..0d3316e6a4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11688,6 +11688,33 @@ (define-public emacs-clojure-mode
 It is recommended to use @code{clojure-mode} with Paredit or Smartparens.")
     (license license:gpl3+)))
 
+(define-public emacs-clj-deps-new
+  (let ((version "1.1")
+        (commit "e1cf65eb040f5a2e9a3eca970044ba71cc53fb27")
+        (revision "0"))
+    (package
+      (name "emacs-clj-deps-new")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jpe90/emacs-clj-deps-new")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "03db3l5klc20wgdaj44scgjfi2mha85bip07ls6pwbi039ls7rvx"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-transient))
+      (home-page "https://github.com/jpe90/emacs-clj-deps-new")
+      (synopsis "Create Clojure projects from templates")
+      (description
+       "This is a small wrapper around the
+@uref{https://github.com/seancorfield/deps-new, deps-new} and
+@uref{https://github.com/seancorfield/clj-new, clj-new} tools for creating
+Clojure projects from templates.")
+      (license license:gpl3))))
+
 (define-public emacs-clj-refactor
   (package
     (name "emacs-clj-refactor")
-- 
2.38.1



-- 
Best regards,
conses




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 29 Jan 2023 14:45:02 GMT) Full text and rfc822 format available.

Notification sent to conses <contact <at> conses.eu>:
bug acknowledged by developer. (Sun, 29 Jan 2023 14:45:02 GMT) Full text and rfc822 format available.

Message #16 received at 61084-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 61084-done <at> debbugs.gnu.org
Subject: Re: [bug#61084] [PATCH v2] gnu: Add emacs-clj-deps-new.
Date: Sun, 29 Jan 2023 15:44:40 +0100
Hello,

conses <contact <at> conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-clj-deps-new): New variable.

Thank you. I applied it with the minor changes below.

> +(define-public emacs-clj-deps-new
> +  (let ((version "1.1")

We hard-code version in `git-version' call below, so I removed this
binding.

> +        (commit "e1cf65eb040f5a2e9a3eca970044ba71cc53fb27")
> +        (revision "0"))
> +    (package
> +      (name "emacs-clj-deps-new")
> +      (version (git-version version revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/jpe90/emacs-clj-deps-new")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "03db3l5klc20wgdaj44scgjfi2mha85bip07ls6pwbi039ls7rvx"))))
> +      (build-system emacs-build-system)
> +      (propagated-inputs (list emacs-transient))
> +      (home-page "https://github.com/jpe90/emacs-clj-deps-new")
> +      (synopsis "Create Clojure projects from templates")
> +      (description
> +       "This is a small wrapper around the
> +@uref{https://github.com/seancorfield/deps-new, deps-new} and
> +@uref{https://github.com/seancorfield/clj-new, clj-new} tools for creating
> +Clojure projects from templates.")
> +      (license license:gpl3))))

License is actually GPL3+, since the library header contains:

  either version 3 of the License, or (at your option) any later version.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Feb 2023 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.