unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new.
@ 2023-01-26 19:57 conses
  2023-01-27  8:55 ` Nicolas Goaziou
  2023-01-28 18:56 ` [bug#61084] [PATCH v2] " conses
  0 siblings, 2 replies; 4+ messages in thread
From: conses @ 2023-01-26 19:57 UTC (permalink / raw)
  To: 61084

* 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




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new.
  2023-01-26 19:57 [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new conses
@ 2023-01-27  8:55 ` Nicolas Goaziou
  2023-01-28 18:56 ` [bug#61084] [PATCH v2] " conses
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-01-27  8:55 UTC (permalink / raw)
  To: conses; +Cc: 61084

Hello,

conses <contact@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#61084] [PATCH v2] gnu: Add emacs-clj-deps-new.
  2023-01-26 19:57 [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new conses
  2023-01-27  8:55 ` Nicolas Goaziou
@ 2023-01-28 18:56 ` conses
  2023-01-29 14:44   ` bug#61084: " Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: conses @ 2023-01-28 18:56 UTC (permalink / raw)
  To: 61084

* 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




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#61084: [PATCH v2] gnu: Add emacs-clj-deps-new.
  2023-01-28 18:56 ` [bug#61084] [PATCH v2] " conses
@ 2023-01-29 14:44   ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-01-29 14:44 UTC (permalink / raw)
  To: conses; +Cc: 61084-done

Hello,

conses <contact@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-29 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 19:57 [bug#61084] [PATCH] gnu: Add emacs-clj-deps-new conses
2023-01-27  8:55 ` Nicolas Goaziou
2023-01-28 18:56 ` [bug#61084] [PATCH v2] " conses
2023-01-29 14:44   ` bug#61084: " Nicolas Goaziou

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).