guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 11/21] gnu: Add ghc-options.


From: Paul van der Walt
Subject: [PATCH 11/21] gnu: Add ghc-options.
Date: Wed, 4 Nov 2015 21:00:59 +0100

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 03a8e37..42e3a74 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1009,6 +1009,34 @@ plus a single channel of music, mixed by the popular 
MikMod MOD, Timidity
 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
     (license bsd-3)))
 
+(define-public ghc-options
+  (package
+    (name "ghc-options")
+    (version "1.2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/options/options-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:tests? #f)) ; FIXME: circular dependency with ghc-chell, required for
+                     ; tests.
+    (propagated-inputs
+     `(("ghc-monads-tf" ,ghc-monads-tf)))
+    (home-page "https://john-millikin.com/software/haskell-options/";)
+    (synopsis "Command-line option parser for Haskell")
+    (description
+     "This package lets Haskell developers easily work with command-line
+options.  In addition, it will automatically create documentation options such
+as @code{--help}.")
+    (license expat)))
+
 (define-public ghc-sdl-image
   (package
     (name "ghc-sdl-image")
-- 
2.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]