--- Begin Message ---
Subject: |
[PATCH] gnu: Add emacs-clj-deps-new. |
Date: |
Thu, 26 Jan 2023 20:57:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
* 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#61084] [PATCH v2] gnu: Add emacs-clj-deps-new. |
Date: |
Sun, 29 Jan 2023 15:44:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
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
--- End Message ---