Patchwork gnu: Add emacs-nginx-mode.

login
register
mail settings
Submitter Arun
Date Oct. 13, 2016, 5:49 a.m.
Message ID <20161013054957.25370-1-arunisaac@systemreboot.net>
Download mbox | patch
Permalink /patch/16456/
State New
Headers show

Comments

Arun - Oct. 13, 2016, 5:49 a.m.
* gnu/packages/emacs.scm (emacs-nginx-mode): New variable.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Alex Kost - Oct. 13, 2016, 7:39 p.m.
Arun Isaac (2016-10-13 11:19 +0530) wrote:

> * gnu/packages/emacs.scm (emacs-nginx-mode): New variable.
> ---
>  gnu/packages/emacs.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 1b345db..176be62 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -3183,3 +3183,24 @@ display and edit the text.
>  
>  This package contains the library runtime.")
>      (license license:lgpl2.1+)))
> +
> +(define-public emacs-nginx-mode
> +  (package
> +    (name "emacs-nginx-mode")
> +    (version "1.1.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://github.com/ajc/nginx-mode/archive/v"
> +             version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/ajc/nginx-mode")
> +    (synopsis "Emacs major mode for editing nginx config files")
> +    (description "This package provides an Emacs major mode for
> +editing nginx config files.")
> +    (license license:gpl2+)))

Applied as commit 71d3ee1, thanks!

http://git.savannah.gnu.org/cgit/guix.git/commit/?id=71d3ee1cbbccdf984c8f53d4b9596a4e06489769
Arun - Oct. 14, 2016, 7:36 a.m.
> Applied as commit 71d3ee1, thanks!

Thank you!

Patch

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1b345db..176be62 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3183,3 +3183,24 @@  display and edit the text.
 
 This package contains the library runtime.")
     (license license:lgpl2.1+)))
+
+(define-public emacs-nginx-mode
+  (package
+    (name "emacs-nginx-mode")
+    (version "1.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/ajc/nginx-mode/archive/v"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ajc/nginx-mode")
+    (synopsis "Emacs major mode for editing nginx config files")
+    (description "This package provides an Emacs major mode for
+editing nginx config files.")
+    (license license:gpl2+)))