diff mbox

[09/10] gnu: Add emacs-yaml-mode.

Message ID 20160601140538.20311-9-dthompson2@worcester.edu
State New
Headers show

Commit Message

David Thompson June 1, 2016, 2:05 p.m. UTC
From: David Thompson <davet@gnu.org>

* gnu/packages/emacs.scm (emacs-yaml-mode): New variable.
---
 gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Comments

Mark H Weaver June 3, 2016, 3:37 p.m. UTC | #1
David Thompson <dthompson2@worcester.edu> writes:
> * gnu/packages/emacs.scm (emacs-yaml-mode): New variable.

Hydra failed to build this one, because of a hash mismatch.

  http://hydra.gnu.org/build/1223022

  Starting download of
  /gnu/store/lky7x8fw5rd6h28x3xrwlqwjbyj0lss9-yaml-mode-0.0.12.el From
  https://raw.githubusercontent.com/yoshiki/yaml-mode/v0.0.12/yaml-mode.el...

  [...]

  Failed: output path
  `/gnu/store/lky7x8fw5rd6h28x3xrwlqwjbyj0lss9-yaml-mode-0.0.12.el'
  should have sha256 hash
  `05zbb7l5j0jhn1z65lhy1f6yf77rd3rsf5ayvwm5a6dfkhr9zwnm', instead has
  `17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax'

Can you investigate?

     Thanks!
       Mark
       

> ---
>  gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 0ea317a..bfa46c4 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1977,3 +1977,26 @@ Emacs completion function instead.")
>       "Ido-ubiquitous enables ido-style completion for almost every function
>  that uses the standard completion function completing-read.")
>    (license license:gpl3+)))
> +
> +(define-public emacs-yaml-mode
> +  (package
> +    (name "emacs-yaml-mode")
> +    (version "0.0.12")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://raw.githubusercontent.com/yoshiki"
> +                                  "/yaml-mode/v" version "/yaml-mode.el"))
> +              (file-name (string-append "yaml-mode-" version ".el"))
> +              (sha256
> +               (base32
> +                "05zbb7l5j0jhn1z65lhy1f6yf77rd3rsf5ayvwm5a6dfkhr9zwnm"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/yoshiki/yaml-mode")
> +    (synopsis "Major mode for editing YAML files")
> +    (description
> +     "Yaml-mode is an Emacs major mode for editing files in the YAML data
> +serialization format.  It was initially developed by Yoshiki Kurihara and many
> +features were added by Marshall Vandegrift.  As YAML and Python share the fact
> +that indentation determines structure, this mode provides indentation and
> +indentation command behavior very similar to that of python-mode.")
> +    (license license:gpl3+)))
David Thompson June 3, 2016, 3:44 p.m. UTC | #2
On Fri, Jun 3, 2016 at 11:37 AM, Mark H Weaver <mhw@netris.org> wrote:
> David Thompson <dthompson2@worcester.edu> writes:
>> * gnu/packages/emacs.scm (emacs-yaml-mode): New variable.
>
> Hydra failed to build this one, because of a hash mismatch.
>
>   http://hydra.gnu.org/build/1223022
>
>   Starting download of
>   /gnu/store/lky7x8fw5rd6h28x3xrwlqwjbyj0lss9-yaml-mode-0.0.12.el From
>   https://raw.githubusercontent.com/yoshiki/yaml-mode/v0.0.12/yaml-mode.el...
>
>   [...]
>
>   Failed: output path
>   `/gnu/store/lky7x8fw5rd6h28x3xrwlqwjbyj0lss9-yaml-mode-0.0.12.el'
>   should have sha256 hash
>   `05zbb7l5j0jhn1z65lhy1f6yf77rd3rsf5ayvwm5a6dfkhr9zwnm', instead has
>   `17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax'
>
> Can you investigate?

I updated the hash.  Thanks!

- Dave
diff mbox

Patch

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0ea317a..bfa46c4 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1977,3 +1977,26 @@  Emacs completion function instead.")
      "Ido-ubiquitous enables ido-style completion for almost every function
 that uses the standard completion function completing-read.")
   (license license:gpl3+)))
+
+(define-public emacs-yaml-mode
+  (package
+    (name "emacs-yaml-mode")
+    (version "0.0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://raw.githubusercontent.com/yoshiki"
+                                  "/yaml-mode/v" version "/yaml-mode.el"))
+              (file-name (string-append "yaml-mode-" version ".el"))
+              (sha256
+               (base32
+                "05zbb7l5j0jhn1z65lhy1f6yf77rd3rsf5ayvwm5a6dfkhr9zwnm"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/yoshiki/yaml-mode")
+    (synopsis "Major mode for editing YAML files")
+    (description
+     "Yaml-mode is an Emacs major mode for editing files in the YAML data
+serialization format.  It was initially developed by Yoshiki Kurihara and many
+features were added by Marshall Vandegrift.  As YAML and Python share the fact
+that indentation determines structure, this mode provides indentation and
+indentation command behavior very similar to that of python-mode.")
+    (license license:gpl3+)))