From: Brian Leung <bkleung89@gmail.com>
To: 34961@debbugs.gnu.org
Subject: [bug#34961] [PATCH] Add emacs-company-cabal
Date: Sun, 24 Mar 2019 01:05:15 +0100 [thread overview]
Message-ID: <CAAc=MEx=gekw=_sYykHEDF2QGpjMTNokog30W=gpkFNEGYBrww@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]
[-- Attachment #2: 0001-gnu-Add-emacs-company-cabal.patch --]
[-- Type: text/x-patch, Size: 1932 bytes --]
From 5439ef4a487b5fa132fa72978ff9322cdee0a170 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Sun, 24 Mar 2019 00:57:25 +0100
Subject: [PATCH] gnu: Add emacs-company-cabal.
* gnu/packages/emacs-xyz.scm (emacs-company-cabal): New variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0f040b2b07..09be600a0d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3283,6 +3283,32 @@ insertion mode. When enabled all keys are implicitly prefixed with
sgml/html integration, and indentation (working with sgml).")
(license license:gpl3+)))
+(define-public emacs-company-cabal
+ ;; The latest version is 0.3.0, but no release has been provided after 0.2.1.
+ (let ((commit "62112a7259e24bd6c08885629a185afe512b7d3d")
+ (revision "1"))
+ (package
+ (name "emacs-company-cabal")
+ (version (git-version "0.3.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/iquiw/company-cabal/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gf45xwjzdm8i4q6c6khk4dbg1mmp2r0awz2sjr4dcr2dbd1n7mg"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-company" ,emacs-company)))
+ (home-page "https://github.com/iquiw/company-cabal/")
+ (synopsis "Company completion for Haskell Cabal files")
+ (description
+ "This package allows for completion of field names, section names,
+field values, and more within @code{haskell-cabal-mode}.")
+ (license license:gpl3+))))
+
(define-public emacs-rfcview
(package
(name "emacs-rfcview")
--
2.21.0
next reply other threads:[~2019-03-24 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-24 0:05 Brian Leung [this message]
2019-03-25 9:35 ` bug#34961: [PATCH] Add emacs-company-cabal Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAc=MEx=gekw=_sYykHEDF2QGpjMTNokog30W=gpkFNEGYBrww@mail.gmail.com' \
--to=bkleung89@gmail.com \
--cc=34961@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.