unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] emacs-cider
@ 2016-06-02 20:01 Catonano
  2016-06-05  9:06 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Catonano @ 2016-06-02 20:01 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-cider.patch --]
[-- Type: text/x-patch, Size: 2021 bytes --]

From c26fd4f53f4bdb6092dad635695b2df9c97d3ebc Mon Sep 17 00:00:00 2001
From: humanitiesNerd <catonano@gmail.com>
Date: Thu, 2 Jun 2016 21:53:12 +0200
Subject: gnu: Add emacs-cider.

* gnu/packages/emacs.scm (emacs-cider): New variable.

---

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index b7c0a1f..96670f9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1795,3 +1795,44 @@ work on lists, strings and vectors.")
 Emacs default configuration in uncontroversial ways that nearly everyone can
 agree upon.")
     (license license:gpl3+)))
+
+(define-public emacs-cider
+  (package
+    (name "emacs-cider")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/clojure-emacs/cider/archive/v"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+          "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))
+       (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-clojure-mode" ,emacs-clojure-mode)
+       ("emacs-spinner" ,emacs-spinner)
+       ("emacs-pkg-info" ,emacs-pkg-info)
+       ("emacs-queue" ,emacs-queue)
+       ("emacs-seq" ,emacs-seq)
+       ("emacs-dash" ,emacs-dash)))
+    (home-page
+     "http://www.github.com/clojure-emacs/cider")
+    (synopsis
+     "Clojure Interactive Development Environment that Rocks")
+    (description
+    "CIDER aims to provide an interactive development experience
+similar to the one you'd get when programming in Emacs Lisp,
+Common Lisp (with SLIME or Sly),
+Scheme (with Geiser) and Smalltalk.
+
+CIDER is the successor to the now deprecated combination
+of using SLIME + swank-clojure for Clojure development.
+
+There are plenty of differences between CIDER and SLIME,
+but the core ideas are pretty much the same
+(and SLIME served as the principle inspiration for CIDER).")
+  (license license:gpl3+)))
-- 
2.5.5


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

* Re: [PATCH] emacs-cider
  2016-06-02 20:01 [PATCH] emacs-cider Catonano
@ 2016-06-05  9:06 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2016-06-05  9:06 UTC (permalink / raw)
  To: Catonano; +Cc: guix-devel

Catonano (2016-06-02 23:01 +0300) wrote:

> From c26fd4f53f4bdb6092dad635695b2df9c97d3ebc Mon Sep 17 00:00:00 2001
> From: humanitiesNerd <catonano@gmail.com>
> Date: Thu, 2 Jun 2016 21:53:12 +0200
> Subject: gnu: Add emacs-cider.
>
> * gnu/packages/emacs.scm (emacs-cider): New variable.
>
> ---
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index b7c0a1f..96670f9 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1795,3 +1795,44 @@ work on lists, strings and vectors.")
>  Emacs default configuration in uncontroversial ways that nearly everyone can
>  agree upon.")
>      (license license:gpl3+)))
> +
> +(define-public emacs-cider
> +  (package
> +    (name "emacs-cider")
> +    (version "0.12.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://github.com/clojure-emacs/cider/archive/v"
> +             version
> +             ".tar.gz"))
> +       (sha256
> +        (base32
> +          "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))
> +       (file-name (string-append name "-" version ".tar.gz"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs
> +     `(("emacs-clojure-mode" ,emacs-clojure-mode)
> +       ("emacs-spinner" ,emacs-spinner)
> +       ("emacs-pkg-info" ,emacs-pkg-info)
> +       ("emacs-queue" ,emacs-queue)
> +       ("emacs-seq" ,emacs-seq)
> +       ("emacs-dash" ,emacs-dash)))

I removed emacs-dash as cider does not depend on it.

> +    (home-page
> +     "http://www.github.com/clojure-emacs/cider")

I replaced it with "https://cider.readthedocs.org/"

> +    (synopsis
> +     "Clojure Interactive Development Environment that Rocks")

I made it just "Clojure development environment for Emacs", and moved
this full name to the description.

> +    (description
> +    "CIDER aims to provide an interactive development experience
> +similar to the one you'd get when programming in Emacs Lisp,
> +Common Lisp (with SLIME or Sly),
> +Scheme (with Geiser) and Smalltalk.
> +
> +CIDER is the successor to the now deprecated combination
> +of using SLIME + swank-clojure for Clojure development.
> +
> +There are plenty of differences between CIDER and SLIME,
> +but the core ideas are pretty much the same
> +(and SLIME served as the principle inspiration for CIDER).")
> +  (license license:gpl3+)))

Pushed as f9be43660f6dad9b52f7349bc13803e8edb04004, thanks!

-- 
Alex

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

end of thread, other threads:[~2016-06-05  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-02 20:01 [PATCH] emacs-cider Catonano
2016-06-05  9:06 ` Alex Kost

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