all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add ghc-language-c.
Date: Wed,  4 Jan 2017 00:23:58 +0100	[thread overview]
Message-ID: <20170103232358.22619-1-dannym@scratchpost.org> (raw)

* gnu/packages/haskell.scm (ghc-language-c): New variable.
---
 gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8e5927a00..ef6845056 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8129,4 +8129,31 @@ for general types.")
 dependency.")
     (license license:bsd-3)))
 
+(define-public ghc-language-c
+  (package
+   (name "ghc-language-c")
+   (version "0.5.0")
+   (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+              "https://hackage.haskell.org/package/language-c/language-c-"
+              version
+              ".tar.gz"))
+       (sha256
+         (base32
+           "08i2bl7jmmymn2sldzlbz6ig7lx3wfwhlpadzibs3fx72z08pmc6"))))
+   (build-system haskell-build-system)
+   (inputs `(("ghc-syb" ,ghc-syb)))
+   (native-inputs
+     `(("ghc-happy" ,ghc-happy)
+       ("ghc-alex" ,ghc-alex)))
+   (home-page "http://visq.github.io/language-c/")
+   (synopsis "Analysis and generation of C code")
+   (description
+     "Language C is a haskell library for the analysis and generation of C code.
+It features a complete, well tested parser and pretty printer for all of C99
+and a large set of GNU extensions.")
+   (license license:bsd-3)))
+
 ;;; haskell.scm ends here

             reply	other threads:[~2017-01-03 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 23:23 Danny Milosavljevic [this message]
2017-01-04 10:29 ` [PATCH] gnu: Add ghc-language-c Ricardo Wurmus

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=20170103232358.22619-1-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@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.