* [PATCH 02/21] gnu: ghc-regex-compat: Propagate inputs.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-04 20:00 ` [PATCH 03/21] gnu: Add ghc-monads-tf Paul van der Walt
` (19 subsequent siblings)
20 siblings, 0 replies; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-regex-compat): Move ghc-regex-base and
ghc-regex-posix to propagated inputs.
---
gnu/packages/haskell.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0ecd7b1..5195425 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1922,7 +1922,7 @@ Haskell library @code{regex-base}.")
(base32
"0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
(build-system haskell-build-system)
- (inputs
+ (propagated-inputs
`(("ghc-regex-base" ,ghc-regex-base)
("ghc-regex-posix" ,ghc-regex-posix)))
(home-page "http://sourceforge.net/projects/lazy-regex")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 03/21] gnu: Add ghc-monads-tf.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
2015-11-04 20:00 ` [PATCH 02/21] gnu: ghc-regex-compat: " Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:07 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 04/21] gnu: Add ghc-language-haskell-extract Paul van der Walt
` (18 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-monads-tf): New variable.
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5195425..765b669 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -850,6 +850,31 @@ objects, e.g. a texture object name in OpenGL or a buffer object name in
OpenAL.")
(license bsd-3)))
+(define-public ghc-monads-tf
+ (package
+ (name "ghc-monads-tf")
+ (version "0.1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/monads-tf/monads-tf-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0z07z2lfm3l93fx0qhfd98j76d1rksi5llq67l5v09pm8da4jvyb"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/monads-tf")
+ (synopsis "Haskell monad classes, using type families")
+ (description
+ "This library provides monad classes using type families, with instances
+for various monad transformers. It is inspired by the paper \"Functional
+Programming with Overloading and Higher-Order Polymorphism\", by Mark P Jones,
+see @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}. This package
+is almost a compatible replacement for the @code{mtl-tf} package.")
+ (license bsd-3)))
+
(define-public ghc-sdl
(package
(name "ghc-sdl")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 04/21] gnu: Add ghc-language-haskell-extract.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
2015-11-04 20:00 ` [PATCH 02/21] gnu: ghc-regex-compat: " Paul van der Walt
2015-11-04 20:00 ` [PATCH 03/21] gnu: Add ghc-monads-tf Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:07 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 05/21] gnu: Add ghc-tasty-th Paul van der Walt
` (17 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-language-haskell-extract): New variable.
---
gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 765b669..bf2755b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -4233,6 +4233,30 @@ where every element did not have to have an inverse, thus the name
semigroup.")
(license bsd-3)))
+(define-public ghc-language-haskell-extract
+ (package
+ (name "ghc-language-haskell-extract")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/language-haskell-extract/"
+ "language-haskell-extract-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-regex-posix" ,ghc-regex-posix)))
+ (home-page "http://github.com/finnsson/template-helper")
+ (synopsis "Automatically extract functions from Haskell code")
+ (description
+ "This library provides some helper functions on top of Template Haskell,
+which allow a programmer to automatically extract functions from local code
+using regular expressions.")
+ (license bsd-3)))
+
(define-public ghc-free
(package
(name "ghc-free")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 05/21] gnu: Add ghc-tasty-th.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (2 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 04/21] gnu: Add ghc-language-haskell-extract Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:08 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 06/21] gnu: Add ghc-newtype Paul van der Walt
` (16 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-tasty-th): 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 bf2755b..f66baf0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2598,6 +2598,34 @@ properties for all test cases up to some depth. The test cases are generated
automatically by SmallCheck.")
(license bsd-3)))
+(define-public ghc-tasty-th
+ (package
+ (name "ghc-tasty-th")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/tasty-th/tasty-th-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1fl5pagm9bdqvp7v54ilkr91m667rxw1jifwfdhrikr938aqrzx3"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-language-haskell-extract" ,ghc-language-haskell-extract)))
+ (inputs
+ `(("ghc-tasty" ,ghc-tasty)))
+ (home-page "http://github.com/bennofs/tasty-th")
+ (synopsis "Automagically generate test code for Haskell")
+ (description
+ "This library provides functions for automatic generation of HUnit and
+QuickCheck test code, using Template Haskell. It is a fork of
+@code{test-framework-th}, modified to use the @code{tasty} library, instead of
+@code{test-framework}.")
+ (license bsd-3)))
+
(define-public ghc-tasty-ant-xml
(package
(name "ghc-tasty-ant-xml")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 06/21] gnu: Add ghc-newtype.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (3 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 05/21] gnu: Add ghc-tasty-th Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:09 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 07/21] gnu: Add ghc-patience Paul van der Walt
` (15 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-newtype): New variable.
---
gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f66baf0..90e0a16 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1252,6 +1252,29 @@ old @code{time} library. For new projects, the newer
package.")
(license bsd-3)))
+(define-public ghc-newtype
+ (package
+ (name "ghc-newtype")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/newtype/newtype-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0ng4i5r73256gzwl6bw57h0abqixj783c3ggph1hk2wsplx0655p"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/newtype")
+ (synopsis "Typeclass and functions for working with newtypes")
+ (description
+ "This library provides functions for packing and unpacking a
+@code{newtype}, and allows one to operate under that newtype with functions
+such as @code{ala}.")
+ (license bsd-3)))
+
(define-public ghc-dlist
(package
(name "ghc-dlist")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 07/21] gnu: Add ghc-patience.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (4 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 06/21] gnu: Add ghc-newtype Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:08 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 08/21] gnu: Add ghc-constraints Paul van der Walt
` (14 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-patience): New variable.
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 90e0a16..44310de 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -901,6 +901,31 @@ by MPEG playback software, emulators, and many popular games, including the
award winning Linux port of \"Civilization: Call To Power.\"")
(license bsd-3)))
+(define-public ghc-patience
+ (package
+ (name "ghc-patience")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/patience/patience-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/patience")
+ (synopsis "Patience diff for Haskell")
+ (description
+ "This library implements the \"patience diff\" algorithm, as well as the
+patience algorithm for the longest increasing subsequence problem. Patience
+diff computes the difference between two lists, for example the lines of two
+versions of a source file. It provides a good balance of performance, nice
+output for humans, and implementation simplicity.")
+ (license bsd-3)))
+
(define-public ghc-sdl-mixer
(package
(name "ghc-sdl-mixer")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 08/21] gnu: Add ghc-constraints.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (5 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 07/21] gnu: Add ghc-patience Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:09 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 09/21] gnu: Add ghc-language-c Paul van der Walt
` (13 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-constraints): New variable.
---
gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 44310de..af5a330 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -827,6 +827,29 @@ HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
attacks.")
(license bsd-3)))
+(define-public ghc-constraints
+ (package
+ (name "ghc-constraints")
+ (version "0.4.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/constraints/constraints-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1w3ssvg30rfkp1y20vx0fbq1c0md2wys2rh50mih7645djv56hyx"))))
+ (build-system haskell-build-system)
+ (propagated-inputs `(("ghc-newtype" ,ghc-newtype)))
+ (home-page "http://github.com/ekmett/constraints/")
+ (synopsis "Constraint manipulation for Haskell")
+ (description
+ "This package provides a set of functions for working with
+@code{ConstraintKinds}, which were introduced in GHC version 7.4.")
+ (license bsd-3)))
+
(define-public ghc-objectname
(package
(name "ghc-objectname")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 09/21] gnu: Add ghc-language-c.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (6 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 08/21] gnu: Add ghc-constraints Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:09 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 10/21] gnu: Add ghc-lifted-async Paul van der Walt
` (12 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-language-c): 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 af5a330..88a7fe5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -623,6 +623,34 @@ module containing code for scanning text efficiently. It is similar to the
tool lex or flex for C/C++.")
(license bsd-3)))
+(define-public ghc-language-c
+ (package
+ (name "ghc-language-c")
+ (version "0.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/language-c/language-c-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1r0jlncv6d6ai8kblrdq9gz8abx57b24y6hfh30xx20zdgccjvaz"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-happy" ,ghc-happy)
+ ("ghc-alex" ,ghc-alex)))
+ (propagated-inputs
+ `(("ghc-syb" ,ghc-syb)))
+ (home-page "https://hackage.haskell.org/package/language-c")
+ (synopsis "Haskell library for analysis and generation of C")
+ (description
+ "Language-C is a Haskell library that provides facilities 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 bsd-3)))
+
(define-public ghc-cgi
(package
(name "ghc-cgi")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 10/21] gnu: Add ghc-lifted-async.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (7 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 09/21] gnu: Add ghc-language-c Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:10 ` Ludovic Courtès
2015-11-04 20:00 ` [PATCH 11/21] gnu: Add ghc-options Paul van der Walt
` (11 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-lifted-async): New variable.
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 88a7fe5..03a8e37 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1121,6 +1121,40 @@ Utility Toolkit, a window system-independent toolkit for writing OpenGL
programs.")
(license bsd-3)))
+(define-public ghc-lifted-async
+ (package
+ (name "ghc-lifted-async")
+ (version "0.7.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/lifted-async/lifted-async-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0skfpgqlxni3bdn7pdg2732xkijmwsz655962wrbmflh987ms8y3"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-async" ,ghc-async)
+ ("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-transformers-base" ,ghc-transformers-base)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-th" ,ghc-tasty-th)))
+ (propagated-inputs
+ `(("ghc-constraints" ,ghc-constraints)))
+ (home-page "https://github.com/maoe/lifted-async")
+ (synopsis "Run lifted IO operations asynchronously")
+ (description
+ "This package provides IO operations from the @code{async} package,
+lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.")
+ (license bsd-3)))
+
(define-public ghc-gluraw
(package
(name "ghc-gluraw")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* Re: [PATCH 10/21] gnu: Add ghc-lifted-async.
2015-11-04 20:00 ` [PATCH 10/21] gnu: Add ghc-lifted-async Paul van der Walt
@ 2015-11-10 16:10 ` Ludovic Courtès
0 siblings, 0 replies; 42+ messages in thread
From: Ludovic Courtès @ 2015-11-10 16:10 UTC (permalink / raw)
To: Paul van der Walt; +Cc: guix-devel
Paul van der Walt <paul@denknerd.org> skribis:
> * gnu/packages/haskell.scm (ghc-lifted-async): New variable.
[...]
> + (inputs
> + `(("ghc-async" ,ghc-async)
> + ("ghc-lifted-base" ,ghc-lifted-base)
> + ("ghc-transformers-base" ,ghc-transformers-base)
> + ("ghc-monad-control" ,ghc-monad-control)
> + ("ghc-mtl" ,ghc-mtl)
> + ("ghc-hunit" ,ghc-hunit)
> + ("ghc-tasty" ,ghc-tasty)
> + ("ghc-tasty-hunit" ,ghc-tasty-hunit)
> + ("ghc-tasty-th" ,ghc-tasty-th)))
> + (propagated-inputs
> + `(("ghc-constraints" ,ghc-constraints)))
Could you add a comment saying why those above are not propagated?
Maybe they’re just used for tests?
OK with this change.
^ permalink raw reply [flat|nested] 42+ messages in thread
* [PATCH 11/21] gnu: Add ghc-options.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (8 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 10/21] gnu: Add ghc-lifted-async Paul van der Walt
@ 2015-11-04 20:00 ` Paul van der Walt
2015-11-10 16:10 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 12/21] gnu: Add ghc-chell Paul van der Walt
` (10 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:00 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 12/21] gnu: Add ghc-chell.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (9 preceding siblings ...)
2015-11-04 20:00 ` [PATCH 11/21] gnu: Add ghc-options Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:12 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 13/21] gnu: Add ghc-chell-quickcheck Paul van der Walt
` (9 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-chell): New variable.
---
gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 42e3a74..35e71cc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1089,6 +1089,35 @@ PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
computation library for Haskell.")
(license bsd-3)))
+(define-public ghc-chell
+ (package
+ (name "ghc-chell")
+ (version "0.4.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/chell/chell-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-options" ,ghc-options)
+ ("ghc-patience" ,ghc-patience)
+ ("ghc-random" ,ghc-random)
+ ("ghc-text" ,ghc-text)
+ ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
+ (home-page "https://john-millikin.com/software/chell/")
+ (synopsis "Haskell library for automated testing")
+ (description
+ "Chell is a simple and intuitive library for automated testing. It
+natively supports assertion-based testing, and can use companion libraries
+such as @code{chell-quickcheck} to support more complex testing strategies.")
+ (license expat)))
+
(define-public ghc-openglraw
(package
(name "ghc-openglraw")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 13/21] gnu: Add ghc-chell-quickcheck.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (10 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 12/21] gnu: Add ghc-chell Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:13 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 14/21] gnu: Add ghc-system-filepath Paul van der Walt
` (8 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-chell-quickcheck): New variable.
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 35e71cc..ad94ca4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1068,6 +1068,31 @@ as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
(license bsd-3)))
+(define-public ghc-chell-quickcheck
+ (package
+ (name "ghc-chell-quickcheck")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/chell-quickcheck/"
+ "chell-quickcheck-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-chell" ,ghc-chell)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-random" ,ghc-random)))
+ (home-page "https://john-millikin.com/software/chell/")
+ (synopsis "QuickCheck support for the Chell testing library")
+ (description
+ "This library provides QuickCheck support to the @code{chell} testing
+library for Haskell.")
+ (license expat)))
+
(define-public ghc-half
(package
(name "ghc-half")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 14/21] gnu: Add ghc-system-filepath.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (11 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 13/21] gnu: Add ghc-chell-quickcheck Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:11 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 15/21] gnu: Add ghc-system-fileio Paul van der Walt
` (7 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-system-filepath): 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 ad94ca4..fd782c1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1261,6 +1261,33 @@ utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
basis for a nicer interface.")
(license bsd-3)))
+(define-public ghc-system-filepath
+ (package
+ (name "ghc-system-filepath")
+ (version "0.4.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/system-filepath/system-filepath-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-chell" ,ghc-chell)
+ ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/fpco/haskell-filesystem")
+ (synopsis "Byte-based file and directory path manipulation")
+ (description
+ "This library provides high-level functions for byte-based file and
+directory path manipulation in Haskell.")
+ (license expat)))
+
(define-public ghc-opengl
(package
(name "ghc-opengl")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 15/21] gnu: Add ghc-system-fileio.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (12 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 14/21] gnu: Add ghc-system-filepath Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:16 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 16/21] gnu: Add ghc-enclosed-exceptions Paul van der Walt
` (6 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-system-fileio): 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 fd782c1..323e1a3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1288,6 +1288,33 @@ basis for a nicer interface.")
directory path manipulation in Haskell.")
(license expat)))
+(define-public ghc-system-fileio
+ (package
+ (name "ghc-system-fileio")
+ (version "0.3.16.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/system-fileio/system-fileio-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-system-filepath" ,ghc-system-filepath)
+ ("ghc-text" ,ghc-text)
+ ("ghc-chell" ,ghc-chell)
+ ("ghc-temporary" ,ghc-temporary)))
+ (home-page "https://github.com/fpco/haskell-filesystem")
+ (synopsis "Consistent filesystem interaction across GHC versions")
+ (description
+ "This library provides a consistent interface for Haskell filesystem IO
+across different versions of GHC.")
+ (license expat)))
+
(define-public ghc-opengl
(package
(name "ghc-opengl")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 16/21] gnu: Add ghc-enclosed-exceptions.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (13 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 15/21] gnu: Add ghc-system-fileio Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:14 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 17/21] gnu: Add ghc-shelly Paul van der Walt
` (5 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-enclosed-exceptions): New variable.
---
gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 323e1a3..6f956d7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1175,6 +1175,35 @@ C header files are needed for building this package. If an API entry is not
found at runtime, a userError is thrown.")
(license bsd-3)))
+(define-public ghc-enclosed-exceptions
+ (package
+ (name "ghc-enclosed-exceptions")
+ (version "1.0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/enclosed-exceptions/"
+ "enclosed-exceptions-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-async" ,ghc-async)
+ ("ghc-transformers-base" ,ghc-transformers-base)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/jcristovao/enclosed-exceptions")
+ (synopsis "Catch exceptions from within an enclosed computation")
+ (description
+ "This library provides Haskell functions for catching all exceptions
+raised within an enclosed computation, while remaining responsive
+to (external) asynchronous exceptions.")
+ (license expat)))
+
(define-public ghc-glut
(package
(name "ghc-glut")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 17/21] gnu: Add ghc-shelly.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (14 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 16/21] gnu: Add ghc-enclosed-exceptions Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:13 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 18/21] gnu: Add c2hs Paul van der Walt
` (4 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-shelly): New variable.
---
gnu/packages/haskell.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6f956d7..76ff287 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1372,6 +1372,45 @@ graphics system (GL, version 4.5) and its accompanying utility library (GLU,
version 1.3).")
(license bsd-3)))
+(define-public ghc-shelly
+ (package
+ (name "ghc-shelly")
+ (version "1.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/shelly/shelly-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "12zx291ws5ksmw3f2ybsb9mjjrl1289aj2z8cplhfmcb7fwv88z7"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-mtl" ,ghc-mtl)
+ ("ghc-unix-compat" ,ghc-unix-compat)
+ ("ghc-system-filepath" ,ghc-system-filepath)
+ ("ghc-system-fileio" ,ghc-system-fileio)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-lifted-async" ,ghc-lifted-async)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
+ ("ghc-text" ,ghc-text)
+ ("ghc-async" ,ghc-async)
+ ("ghc-transformers-base" ,ghc-transformers-base)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-hspec" ,ghc-hspec)))
+ (home-page "https://github.com/yesodweb/Shelly.hs")
+ (synopsis "Shell-like systems programming in Haskell")
+ (description
+ "Shelly provides convenient systems programming in Haskell, similar in
+spirit to POSIX shells. It is aimed at convenience and getting things done,
+rather than being a demonstration of elegance. It has detailed and useful
+error messages, and maintains its own environment, making it thread-safe.")
+ (license bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 18/21] gnu: Add c2hs.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (15 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 17/21] gnu: Add ghc-shelly Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:15 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 19/21] gnu: Add ghc-alsa-core Paul van der Walt
` (3 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (c2hs): New variable.
---
gnu/packages/haskell.scm | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 76ff287..da8e932 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -20,7 +20,7 @@
(define-module (gnu packages haskell)
#:use-module (ice-9 regex)
- #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1 lgpl2.1+ gpl3+ expat))
+ #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1 lgpl2.1+ gpl2 gpl3+ expat))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
@@ -1444,6 +1444,39 @@ various Haskell streaming data libraries, such as @code{conduit} and
@code{pipe}s.")
(license bsd-3)))
+(define-public c2hs
+ (package
+ (name "c2hs")
+ (version "0.26.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/c2hs/c2hs-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1ga4s91lwdq3xfm09l6p9j65miry1qlwdzjhng00ycb9vjlifpfi"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f)) ; FIXME: ghc-test-framework and friends are not yet
+ ; packaged.
+ (inputs
+ `(("ghc-language-c" ,ghc-language-c)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-shelly" ,ghc-shelly)
+ ("ghc-text" ,ghc-text)))
+ (home-page "https://github.com/haskell/c2hs")
+ (synopsis "C->Haskell FFI tool")
+ (description
+ "The C->Haskell tool assists in the development of Haskell bindings to C
+libraries. It extracts interface information from C header files and
+generates Haskell code with foreign imports and marshaling. Unlike writing
+foreign imports by hand (or using @code{hsc2hs}), this ensures that C
+functions are imported with the correct Haskell types.")
+ (license gpl2)))
+
(define-public cpphs
(package
(name "cpphs")
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 19/21] gnu: Add ghc-alsa-core.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (16 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 18/21] gnu: Add c2hs Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:12 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 20/21] gnu: Add ghc-alsa-mixer Paul van der Walt
` (2 subsequent siblings)
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-alsa-core): 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 da8e932..90171e7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -38,6 +38,7 @@
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libedit)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
@@ -5261,4 +5262,31 @@ can be specified precisely in the type. The language is closely related to
Epigram and Agda.")
(license bsd-3)))
+(define-public ghc-alsa-core
+ (package
+ (name "ghc-alsa-core")
+ (version "0.5.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/alsa-core/alsa-core-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (propagated-inputs
+ `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
+ (inputs
+ `(("alsa-lib" ,alsa-lib)))
+ (home-page "http://www.haskell.org/haskellwiki/ALSA")
+ (synopsis "ALSA bindings for Haskell")
+ (description
+ "This package provides Haskell access to the ALSA infrastructure.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 20/21] gnu: Add ghc-alsa-mixer.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (17 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 19/21] gnu: Add ghc-alsa-core Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:17 ` Ludovic Courtès
2015-11-04 20:01 ` [PATCH 21/21] gnu: Add xmobar Paul van der Walt
2015-11-10 16:06 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Ludovic Courtès
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-alsa-mixer): New variable.
---
gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 90171e7..889cd55 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5289,4 +5289,28 @@ Epigram and Agda.")
"This package provides Haskell access to the ALSA infrastructure.")
(license bsd-3)))
+(define-public ghc-alsa-mixer
+ (package
+ (name "ghc-alsa-mixer")
+ (version "0.2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/alsa-mixer/alsa-mixer-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "11sc2n879a8rb9yz54cb8vg8rplgapbymzy785p7n7638xx877hk"))))
+ (build-system haskell-build-system)
+ (native-inputs `(("c2hs" ,c2hs)))
+ (inputs
+ `(("ghc-alsa-core" ,ghc-alsa-core)))
+ (home-page "https://github.com/ttuegel/alsa-mixer")
+ (synopsis "Haskell bindings to the ALSA simple mixer API")
+ (description
+ "This package provides Haskell bindings to the ALSA simple mixer API.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [PATCH 21/21] gnu: Add xmobar.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (18 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 20/21] gnu: Add ghc-alsa-mixer Paul van der Walt
@ 2015-11-04 20:01 ` Paul van der Walt
2015-11-10 16:15 ` Ludovic Courtès
2015-11-10 16:06 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Ludovic Courtès
20 siblings, 1 reply; 42+ messages in thread
From: Paul van der Walt @ 2015-11-04 20:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/wm.scm (xmobar): New variable.
---
gnu/packages/wm.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index db5fa1e..4b1d3b1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -311,3 +311,47 @@ tiling window manager for X.")
many keyboard controls with repositioning and maximize toggles, solid window
drags, snap-to-border support, and virtual desktops.")
(license (x11-style "file:///README"))))
+
+(define-public xmobar
+ (package
+ (name "xmobar")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/xmobar/xmobar-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0yjnymiw518pjcks0kvpbj73kf0dvl1aj3a40qgmdf5xff1mac9v"))))
+ (build-system haskell-build-system)
+ (arguments
+ ;; Here, we enable a few optional plugins.
+ `(#:configure-flags '("-fwith_iwlib" ; to display wireless network
+ ; status
+ "-fwith_xft" ; enable XFT fonts
+ "-fwith_alsa"))) ; to show system volume
+ (inputs
+ `(("libxpm" ,libxpm)
+ ("wireless-tools" ,wireless-tools)
+ ("ghc-http" ,ghc-http)
+ ("ghc-x11" ,ghc-x11)
+ ("ghc-x11-xft" ,ghc-x11-xft)
+ ("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-alsa-core" ,ghc-alsa-core)
+ ("ghc-alsa-mixer" ,ghc-alsa-mixer)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-old-locale" ,ghc-old-locale)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-regex-compat" ,ghc-regex-compat)
+ ("ghc-stm" ,ghc-stm)))
+ (home-page "http://hackage.haskell.org/package/xmobar")
+ (synopsis "Minimalistic text-based status bar")
+ (description
+ "Xmobar is a minimalistic text-based status bar. It is inspired by the
+Ion3 status bar, and supports similar features, such as dynamic colour
+management, output templates, and extensibility through plugins. It was
+originally designed for use with the Xmonad window manager.")
+ (license bsd-3)))
--
2.6.2
^ permalink raw reply related [flat|nested] 42+ messages in thread
* Re: [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs.
2015-11-04 20:00 ` [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs Paul van der Walt
` (19 preceding siblings ...)
2015-11-04 20:01 ` [PATCH 21/21] gnu: Add xmobar Paul van der Walt
@ 2015-11-10 16:06 ` Ludovic Courtès
20 siblings, 0 replies; 42+ messages in thread
From: Ludovic Courtès @ 2015-11-10 16:06 UTC (permalink / raw)
To: Paul van der Walt; +Cc: guix-devel
Paul van der Walt <paul@denknerd.org> skribis:
> * gnu/packages/haskell.scm (ghc-regex-posix): Move ghc-regex-base to
> propagated inputs.
[...]
> * gnu/packages/haskell.scm (ghc-regex-compat): Move ghc-regex-base and
> ghc-regex-posix to propagated inputs.
In general we justify propagation in a comment. However, for GHC
packages, it would rather be the opposite: why would one not propagate
an input? Am I right?
If yes, OK for both patches as-is.
Ludo’.
^ permalink raw reply [flat|nested] 42+ messages in thread