* [PATCH 02/42] gnu: Add ghc-binary.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 03/42] gnu: ghc-cryptonite: Update to 0.19 ng0
` (39 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-binary): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index edb098a..3934c17 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6453,4 +6453,35 @@ Epigram and Agda.")
data quickly and efficiently, using the ByteString type.")
(license license:bsd-3)))
+(define-public ghc-binary
+ (package
+ (name "ghc-binary")
+ (version "0.8.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/binary/binary-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-random" ,ghc-random)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-hunit" ,ghc-hunit)))
+ (home-page "https://github.com/kolmodin/binary")
+ (synopsis
+ "Binary serialisation for Haskell values using lazy ByteStrings")
+ (description
+ "Efficient, pure binary serialisation using lazy ByteStrings. Haskell values
+may be encoded to and from binary formats, written to disk as binary, or sent over
+the network. The format used can be automatically generated, or you can choose to
+implement a custom format if needed. Serialisation speeds of over 1 G\\/sec have
+been observed, so this library should be suitable for high performance scenarios.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 03/42] gnu: ghc-cryptonite: Update to 0.19.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
2016-09-18 16:09 ` [PATCH 02/42] gnu: Add ghc-binary ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 04/42] gnu: Add ghc-cryptohash ng0
` (38 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-cryptonite): Update to 0.19.
---
gnu/packages/haskell.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3934c17..6fda9d8 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5979,7 +5979,7 @@ tasty.")
(define-public ghc-cryptonite
(package
(name "ghc-cryptonite")
- (version "0.9")
+ (version "0.19")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
@@ -5987,7 +5987,7 @@ tasty.")
version ".tar.gz"))
(sha256
(base32
- "1h22x22lq2m8h456v5j50xm0l25bcm3h1pchsk83br909hjxql4z"))))
+ "1rw5k34vpn4134yrzdhf0rsshsrkixfbv9ap18di2n00z2cw1shw"))))
(build-system haskell-build-system)
(propagated-inputs
`(("ghc-memory" ,ghc-memory)
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 04/42] gnu: Add ghc-cryptohash.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
2016-09-18 16:09 ` [PATCH 02/42] gnu: Add ghc-binary ng0
2016-09-18 16:09 ` [PATCH 03/42] gnu: ghc-cryptonite: Update to 0.19 ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:10 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 05/42] gnu: Add ghc-data-ordlist ng0
` (37 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-cryptohash): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6fda9d8..902e2df 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6484,4 +6484,36 @@ implement a custom format if needed. Serialisation speeds of over 1 G\\/sec hav
been observed, so this library should be suitable for high performance scenarios.")
(license license:bsd-3)))
+(define-public ghc-cryptohash
+ (package
+ (name "ghc-cryptohash")
+ (version "0.11.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/cryptohash/cryptohash-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-byteable" ,ghc-byteable)
+ ("ghc-cryptonite" ,ghc-cryptonite)
+ ("ghc-memory" ,ghc-memory)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+ (home-page "http://github.com/vincenthz/hs-cryptohash")
+ (synopsis "Collection of crypto hashes, fast, pure and practical")
+ (description
+ "A collection of crypto hashes, with a practical incremental and one-pass,
+pure APIs, with performance close to the fastest implementations available in
+other languages. The implementations are made in C with a haskell FFI wrapper
+that hide the C implementation.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 04/42] gnu: Add ghc-cryptohash.
2016-09-18 16:09 ` [PATCH 04/42] gnu: Add ghc-cryptohash ng0
@ 2016-09-21 1:10 ` Leo Famulari
2016-09-26 9:16 ` Ludovic Courtès
0 siblings, 1 reply; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:10 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
On Sun, Sep 18, 2016 at 04:09:44PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-cryptohash): New variable.
Thanks for this patch series!
Most of the patches look good, but there are a few packages where I
think the synopsis or description need to be changed.
I'll attach my suggested changes to the patches that I think need them.
If you agree to the changes, I can make them locally before pushing;
there will be no need to send updated patches.
[-- Attachment #2: 0001-ghc-cryptohash-synopsis-description-fix.patch --]
[-- Type: text/plain, Size: 1267 bytes --]
From c45d168a96f94c92e5c4eb3ffaff69931739d0e6 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:35:35 -0400
Subject: [PATCH 1/8] ghc-cryptohash synopsis description fix
---
gnu/packages/haskell.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index af7fc13..694fff1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6511,12 +6511,12 @@ been observed, so this library should be suitable for high performance scenarios
("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
("ghc-tasty-hunit" ,ghc-tasty-hunit)))
(home-page "http://github.com/vincenthz/hs-cryptohash")
- (synopsis "Collection of crypto hashes, fast, pure and practical")
+ (synopsis "Collection of cryptographic hashes in Haskell")
(description
"A collection of crypto hashes, with a practical incremental and one-pass,
pure APIs, with performance close to the fastest implementations available in
other languages. The implementations are made in C with a haskell FFI wrapper
-that hide the C implementation.")
+that hides the C implementation.")
(license license:bsd-3)))
(define-public ghc-data-ordlist
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 05/42] gnu: Add ghc-data-ordlist.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (2 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 04/42] gnu: Add ghc-cryptohash ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 06/42] gnu: Add ghc-haskeline ng0
` (36 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-data-ordlist): New variable.
---
gnu/packages/haskell.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 902e2df..8f9fcad 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6516,4 +6516,24 @@ other languages. The implementations are made in C with a haskell FFI wrapper
that hide the C implementation.")
(license license:bsd-3)))
+(define-public ghc-data-ordlist
+ (package
+ (name "ghc-data-ordlist")
+ (version "0.4.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/data-ordlist")
+ (synopsis "Set and bag operations on ordered lists")
+ (description
+ "This module provides set and multiset operations on ordered lists.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 06/42] gnu: Add ghc-haskeline.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (3 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 05/42] gnu: Add ghc-data-ordlist ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 07/42] gnu: Add ghc-regex-applicative ng0
` (35 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-haskeline): 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 8f9fcad..fb0b600 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6536,4 +6536,31 @@ that hide the C implementation.")
"This module provides set and multiset operations on ordered lists.")
(license license:bsd-3)))
+(define-public ghc-haskeline
+ (package
+ (name "ghc-haskeline")
+ (version "0.7.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/haskeline/haskeline-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ncurses" ,ncurses)))
+ (arguments
+ `(#:configure-flags (list "-fterminfo")))
+ (home-page "https://github.com/judah/haskeline")
+ (synopsis "Command-line interface for user input")
+ (description
+ "Haskeline provides a user interface for line input in command-line
+programs. This library is similar in purpose to readline, but since it
+is written in Haskell it is (hopefully) more easily used in other Haskell
+programs.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 07/42] gnu: Add ghc-regex-applicative.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (4 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 06/42] gnu: Add ghc-haskeline ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 08/42] gnu: Add ghc-regex-tdfa ng0
` (34 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-regex-applicative): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index fb0b600..b0cac3c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6563,4 +6563,30 @@ is written in Haskell it is (hopefully) more easily used in other Haskell
programs.")
(license license:bsd-3)))
+(define-public ghc-regex-applicative
+ (package
+ (name "ghc-regex-applicative")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/regex-applicative/"
+ "regex-applicative-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-smallcheck" ,ghc-smallcheck)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+ (home-page "https://github.com/feuerbach/regex-applicative")
+ (synopsis "Regex-based parsing with applicative interface")
+ (description
+ "@code{regex-applicative} is a Haskell library for parsing using
+regular expressions. Parsers can be built using Applicative interface.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 08/42] gnu: Add ghc-regex-tdfa.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (5 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 07/42] gnu: Add ghc-regex-applicative ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:11 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 09/42] gnu: Add ghc-regex-compat-tdfa ng0
` (33 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-regex-tdfa): 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 b0cac3c..c04b069 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6589,4 +6589,28 @@ programs.")
regular expressions. Parsers can be built using Applicative interface.")
(license license:expat)))
+(define-public ghc-regex-tdfa
+ (package
+ (name "ghc-regex-tdfa")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-mtl" ,ghc-mtl)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-regex-base" ,ghc-regex-base)))
+ (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
+ (synopsis "Replaces/Enhances Text.Regex")
+ (description
+ "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 08/42] gnu: Add ghc-regex-tdfa.
2016-09-18 16:09 ` [PATCH 08/42] gnu: Add ghc-regex-tdfa ng0
@ 2016-09-21 1:11 ` Leo Famulari
2016-09-21 8:16 ` ng0
0 siblings, 1 reply; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:11 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
On Sun, Sep 18, 2016 at 04:09:48PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-regex-tdfa): New variable.
[-- Attachment #2: 0002-ghc-regex-tdfa-synopsis-description-fix.patch --]
[-- Type: text/plain, Size: 1166 bytes --]
From 1fefd08e258b197b73a92145f3ab9dff0964bd0d Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:43:46 -0400
Subject: [PATCH 2/8] ghc-regex-tdfa synopsis description fix
---
gnu/packages/haskell.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 694fff1..eb103d1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6611,9 +6611,11 @@ regular expressions. Parsers can be built using Applicative interface.")
("ghc-parsec" ,ghc-parsec)
("ghc-regex-base" ,ghc-regex-base)))
(home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
- (synopsis "Replaces/Enhances Text.Regex")
+ (synopsis "POSIX extended regular expressions in Haskell.")
(description
- "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
+ "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
+extended regular expressions. It is a \"tagged\" DFA regex engine. It is
+inspired by libtre")
(license license:bsd-3)))
(define-public ghc-regex-compat-tdfa
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 08/42] gnu: Add ghc-regex-tdfa.
2016-09-21 1:11 ` Leo Famulari
@ 2016-09-21 8:16 ` ng0
2016-09-23 0:03 ` Leo Famulari
0 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-21 8:16 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Sun, Sep 18, 2016 at 04:09:48PM +0000, ng0 wrote:
>> * gnu/packages/haskell.scm (ghc-regex-tdfa): New variable.
> From 1fefd08e258b197b73a92145f3ab9dff0964bd0d Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo@famulari.name>
> Date: Tue, 20 Sep 2016 20:43:46 -0400
> Subject: [PATCH 2/8] ghc-regex-tdfa synopsis description fix
>
> ---
> gnu/packages/haskell.scm | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 694fff1..eb103d1 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -6611,9 +6611,11 @@ regular expressions. Parsers can be built using Applicative interface.")
> ("ghc-parsec" ,ghc-parsec)
> ("ghc-regex-base" ,ghc-regex-base)))
> (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
> - (synopsis "Replaces/Enhances Text.Regex")
> + (synopsis "POSIX extended regular expressions in Haskell.")
> (description
> - "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
> + "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
> +extended regular expressions. It is a \"tagged\" DFA regex engine. It is
> +inspired by libtre")
There should be a "." at the end.
> (license license:bsd-3)))
>
> (define-public ghc-regex-compat-tdfa
> --
> 2.10.0
>
--
ng0
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 08/42] gnu: Add ghc-regex-tdfa.
2016-09-21 8:16 ` ng0
@ 2016-09-23 0:03 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-23 0:03 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Wed, Sep 21, 2016 at 08:16:31AM +0000, ng0 wrote:
> Leo Famulari <leo@famulari.name> writes:
> > (description
> > - "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
> > + "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
> > +extended regular expressions. It is a \"tagged\" DFA regex engine. It is
> > +inspired by libtre")
>
> There should be a "." at the end.
Good catch!
^ permalink raw reply [flat|nested] 66+ messages in thread
* [PATCH 09/42] gnu: Add ghc-regex-compat-tdfa.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (6 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 08/42] gnu: Add ghc-regex-tdfa ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 10/42] gnu: Add ghc-tasty-th ng0
` (32 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-regex-compat-tdfa): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c04b069..d493506 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6613,4 +6613,30 @@ regular expressions. Parsers can be built using Applicative interface.")
"A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
(license license:bsd-3)))
+(define-public ghc-regex-compat-tdfa
+ (package
+ (name "ghc-regex-compat-tdfa")
+ (version "0.95.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-regex-base" ,ghc-regex-base)
+ ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
+ (home-page "http://hub.darcs.net/shelarcy/regex-compat-tdfa")
+ (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
+ (description
+ "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
+@code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
+This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
+this problem.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 10/42] gnu: Add ghc-tasty-th.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (7 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 09/42] gnu: Add ghc-regex-compat-tdfa ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:11 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 11/42] gnu: Add ghc-sandi ng0
` (31 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-tasty-th): New variable.
---
gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d493506..0889804 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6639,4 +6639,26 @@ This is not good for Unicode users. This modified regex-compat uses regex-tdfa
this problem.")
(license license:bsd-3)))
+(define-public ghc-tasty-th
+ (package
+ (name "ghc-tasty-th")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/tasty-th/tasty-th-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0dff9si8i1qp0s7p4hlk0l29vq7wxfglw6mvlgmld43h7rllv88q"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-tasty" ,ghc-tasty)))
+ (home-page "http://github.com/bennofs/tasty-th")
+ (synopsis "Automatic tasty test case discovery using TH")
+ (description
+ "Generate tasty TestTrees automatically with TemplateHaskell.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 10/42] gnu: Add ghc-tasty-th.
2016-09-18 16:09 ` [PATCH 10/42] gnu: Add ghc-tasty-th ng0
@ 2016-09-21 1:11 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:11 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 112 bytes --]
On Sun, Sep 18, 2016 at 04:09:50PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-tasty-th): New variable.
[-- Attachment #2: 0003-ghc-tasty-th-synopsis-description-fix.patch --]
[-- Type: text/plain, Size: 1111 bytes --]
From 9a0bf28ed9ba1189c455273613bfe98c6e6f0be1 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:48:25 -0400
Subject: [PATCH 3/8] ghc-tasty-th synopsis description fix
---
gnu/packages/haskell.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index eb103d1..cc320c1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6661,9 +6661,12 @@ this problem.")
(inputs
`(("ghc-tasty" ,ghc-tasty)))
(home-page "http://github.com/bennofs/tasty-th")
- (synopsis "Automatic tasty test case discovery using TH")
+ (synopsis "Automatically generate tasty TestTrees")
(description
- "Generate tasty TestTrees automatically with TemplateHaskell.")
+ "Tasty-th automatically generates tasty TestTrees from functions of the
+current module, using TemplateHaskell. This is a fork the original
+test-framework-th package, modified to work with tasty instead of
+test-framework.")
(license license:bsd-3)))
(define-public ghc-sandi
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 11/42] gnu: Add ghc-sandi.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (8 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 10/42] gnu: Add ghc-tasty-th ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 12/42] gnu: Add ghc-bytestring-handle ng0
` (30 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-sandi): 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 0889804..6605391 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6661,4 +6661,32 @@ this problem.")
"Generate tasty TestTrees automatically with TemplateHaskell.")
(license license:bsd-3)))
+(define-public ghc-sandi
+ (package
+ (name "ghc-sandi")
+ (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/sandi/sandi-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-stringsearch" ,ghc-stringsearch)
+ ("ghc-conduit" ,ghc-conduit)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-tasty-th" ,ghc-tasty-th)))
+ (home-page "http://hackage.haskell.org/package/sandi")
+ (synopsis "Data encoding library")
+ (description "Reasonably fast data encoding library.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 12/42] gnu: Add ghc-bytestring-handle.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (9 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 11/42] gnu: Add ghc-sandi ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 13/42] gnu: Add ghc-tar ng0
` (29 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-bytestring-handle): 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 6605391..340b1a6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6689,4 +6689,29 @@ this problem.")
(description "Reasonably fast data encoding library.")
(license license:bsd-3)))
+(define-public ghc-bytestring-handle
+ (package
+ (name "ghc-bytestring-handle")
+ (version "0.1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0q5yzx90ad9w7qvaix05bynxwlsbqjrgfc4hqb355ibf991wd0rh"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-test-framework" ,ghc-test-framework)))
+ (home-page "http://hub.darcs.net/ganesh/bytestring-handle")
+ (synopsis "ByteString-backed Handles")
+ (description "ByteString-backed Handles") ; There is no description
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 13/42] gnu: Add ghc-tar.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (10 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 12/42] gnu: Add ghc-bytestring-handle ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:11 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 14/42] gnu: Add ghc-transformers ng0
` (28 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-tar): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 340b1a6..7ec12ed 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6714,4 +6714,36 @@ this problem.")
(description "ByteString-backed Handles") ; There is no description
(license license:bsd-3)))
+(define-public ghc-tar
+ (package
+ (name "ghc-tar")
+ (version "0.5.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/tar/tar-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-array" ,ghc-array)))
+ (home-page "http://hackage.haskell.org/package/tar")
+ (synopsis "Reading, writing and manipulating \".tar\" archive files")
+ (description
+ "This library is for working with \\\"@.tar@\\\" archive files.
+It can read and write a range of common variations of archive format
+including V7, POSIX USTAR and GNU formats. It provides support for
+packing and unpacking portable archives. This makes it suitable for
+distribution but not backup because details like file ownership and exact
+permissions are not preserved. It also provides features for random access
+to archive content using an index.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 13/42] gnu: Add ghc-tar.
2016-09-18 16:09 ` [PATCH 13/42] gnu: Add ghc-tar ng0
@ 2016-09-21 1:11 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:11 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
On Sun, Sep 18, 2016 at 04:09:53PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-tar): New variable.
[-- Attachment #2: 0004-ghc-tar-synopsis-description-fix.patch --]
[-- Type: text/plain, Size: 1547 bytes --]
From 897cdd72b8b5881d5ae40aa69a71a5599241ae06 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:50:11 -0400
Subject: [PATCH 4/8] ghc-tar synopsis description fix
---
gnu/packages/haskell.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cc320c1..026cc32 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6746,12 +6746,12 @@ test-framework.")
(synopsis "Reading, writing and manipulating \".tar\" archive files")
(description
"This library is for working with \\\"@.tar@\\\" archive files.
-It can read and write a range of common variations of archive format
-including V7, POSIX USTAR and GNU formats. It provides support for
-packing and unpacking portable archives. This makes it suitable for
-distribution but not backup because details like file ownership and exact
-permissions are not preserved. It also provides features for random access
-to archive content using an index.")
+It can read and write a range of common variations of the tar archive format
+including V7, POSIX USTAR and GNU formats. It provides support for packing and
+unpacking portable archives. This makes it suitable for distribution but not
+backup because details like file ownership and exact permissions are not
+preserved. It also provides features for random access to archive content using
+an index.")
(license license:bsd-3)))
(define-public ghc-transformers
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 14/42] gnu: Add ghc-transformers.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (11 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 13/42] gnu: Add ghc-tar ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 15/42] gnu: Add ghc-findbin ng0
` (27 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-transformers): 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 7ec12ed..ac86c42 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6746,4 +6746,33 @@ permissions are not preserved. It also provides features for random access
to archive content using an index.")
(license license:bsd-3)))
+(define-public ghc-transformers
+ (package
+ (name "ghc-transformers")
+ (version "0.5.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/transformers/transformers-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/transformers")
+ (synopsis "Concrete functor and monad transformers")
+ (description
+ "A portable library of functor and monad transformers, inspired by the paper
+'Functional Programming with Overloading and Higher-Order Polymorphism',
+by Mark P Jones. This package contains the monad transformer class and IO monad class,
+concrete functor and monad transformers, each with associated operations and functions
+to lift operations associated with other transformers. The package can be used on
+its own in portable Haskell code, in which case operations need to be manually lifted
+through transformer stacks. Alternatively, it can be used with the
+non-portable monad classes in the @code{mtl} or @code{monads-tf} packages,
+which automatically lift operations introduced by monad transformers through
+other transformers.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 15/42] gnu: Add ghc-findbin.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (12 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 14/42] gnu: Add ghc-transformers ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:12 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 16/42] gnu: Add ghc-patience ng0
` (26 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-findbin): 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 ac86c42..c4aecdc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6775,4 +6775,27 @@ which automatically lift operations introduced by monad transformers through
other transformers.")
(license license:bsd-3)))
+(define-public ghc-findbin
+ (package
+ (name "ghc-findbin")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/FindBin/FindBin-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
+ (build-system haskell-build-system)
+ (home-page "https://github.com/audreyt/findbin")
+ (synopsis "Locate directory of original program")
+ (description
+ "This module locates the full directory to the running program, to allow
+the use of paths relative to it. FindBin supports invocation of Haskell
+programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
+an executable.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 15/42] gnu: Add ghc-findbin.
2016-09-18 16:09 ` [PATCH 15/42] gnu: Add ghc-findbin ng0
@ 2016-09-21 1:12 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:12 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
On Sun, Sep 18, 2016 at 04:09:55PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-findbin): New variable.
[-- Attachment #2: 0005-ghc-findbin-synopsis-fix.patch --]
[-- Type: text/plain, Size: 1121 bytes --]
From 3cb586749f2333d0885d20b70a72e4bb38e69c69 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:53:49 -0400
Subject: [PATCH 5/8] ghc-findbin synopsis fix
---
gnu/packages/haskell.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 026cc32..9a457e8 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6811,9 +6811,9 @@ other transformers.")
"197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
(build-system haskell-build-system)
(home-page "https://github.com/audreyt/findbin")
- (synopsis "Locate directory of original program")
+ (synopsis "Get the absolute path of the running program")
(description
- "This module locates the full directory to the running program, to allow
+ "This module locates the full directory of the running program, to allow
the use of paths relative to it. FindBin supports invocation of Haskell
programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
an executable.")
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 16/42] gnu: Add ghc-patience.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (13 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 15/42] gnu: Add ghc-findbin ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:12 ` Leo Famulari
2016-09-18 16:09 ` [PATCH 17/42] gnu: Add ghc-monads-tf ng0
` (25 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-patience): 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 c4aecdc..1c4f970 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6798,4 +6798,28 @@ programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
an executable.")
(license license:bsd-3)))
+(define-public ghc-patience
+ (package
+ (name "ghc-patience")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://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 and longest increasing subsequence")
+ (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 license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 16/42] gnu: Add ghc-patience.
2016-09-18 16:09 ` [PATCH 16/42] gnu: Add ghc-patience ng0
@ 2016-09-21 1:12 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:12 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 112 bytes --]
On Sun, Sep 18, 2016 at 04:09:56PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-patience): New variable.
[-- Attachment #2: 0006-ghc-patience-description-fix.patch --]
[-- Type: text/plain, Size: 1066 bytes --]
From a342b7da722f4fe61ffdfcb4a162f1daac084764 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:54:49 -0400
Subject: [PATCH 6/8] ghc-patience description fix
---
gnu/packages/haskell.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9a457e8..d5de7f8 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6839,8 +6839,8 @@ an executable.")
"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.")
+of two versions of a source file. It provides a good balance between
+performance, nice output for humans, and simplicity of implementation.")
(license license:bsd-3)))
(define-public ghc-monads-tf
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 17/42] gnu: Add ghc-monads-tf.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (14 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 16/42] gnu: Add ghc-patience ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 18/42] gnu: Add ghc-bytestring ng0
` (24 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-monads-tf): 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 1c4f970..de300cc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6822,4 +6822,27 @@ of two versions of a source file. It provides a good balance of performance,
nice output for humans, and implementation simplicity.")
(license license:bsd-3)))
+(define-public ghc-monads-tf
+ (package
+ (name "ghc-monads-tf")
+ (version "0.1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/monads-tf/monads-tf-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/monads-tf")
+ (synopsis "Monad classes, using type families")
+ (description
+ "Monad classes using type families, with instances for various monad transformers,
+inspired by the paper 'Functional Programming with Overloading and Higher-Order
+Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
+the @code{mtl-tf} package.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 18/42] gnu: Add ghc-bytestring.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (15 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 17/42] gnu: Add ghc-monads-tf ng0
@ 2016-09-18 16:09 ` ng0
2016-09-18 16:09 ` [PATCH 19/42] gnu: Add ghc-colour ng0
` (23 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-bytestring): New variable.
---
gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index de300cc..48b7157 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6845,4 +6845,41 @@ Polymorphism', by Mark P Jones. This package is almost a compatible replacement
the @code{mtl-tf} package.")
(license license:bsd-3)))
+(define-public ghc-bytestring
+ (package
+ (name "ghc-bytestring")
+ (version "0.10.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/bytestring/bytestring-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-random" ,ghc-random)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-byteorder" ,ghc-byteorder)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-mtl" ,ghc-mtl)))
+ (arguments
+ `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
+ (home-page "https://github.com/haskell/bytestring")
+ (synopsis "Fast, compact, strict and lazy byte strings with a list interface")
+ (description
+ "An efficient compact, immutable byte string type (both strict and lazy)
+suitable for binary or 8-bit character data. The 'ByteString' type represents
+sequences of bytes or 8-bit characters. It is suitable for high performance use,
+both in terms of large data quantities, or high speed requirements. The 'ByteString'
+functions follow the same style as ordinary lists, so it is easy to convert code
+from using 'String' to 'ByteString'.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 19/42] gnu: Add ghc-colour.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (16 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 18/42] gnu: Add ghc-bytestring ng0
@ 2016-09-18 16:09 ` ng0
2016-09-21 1:12 ` Leo Famulari
2016-09-18 16:10 ` [PATCH 20/42] gnu: Add ghc-directory ng0
` (22 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:09 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-colour): New variable.
---
gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 48b7157..5033071 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6882,4 +6882,26 @@ functions follow the same style as ordinary lists, so it is easy to convert code
from using 'String' to 'ByteString'.")
(license license:bsd-3)))
+(define-public ghc-colour
+(package
+ (name "ghc-colour")
+ (version "2.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/colour/colour-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
+ (build-system haskell-build-system)
+ (home-page "http://www.haskell.org/haskellwiki/Colour")
+ (synopsis "Model for human colour/color perception")
+ (description
+ "This package provides a data type for colours and transparency.
+Colours can be blended and composed. Various colour spaces are
+supported. A module of colour names (\"Data.Colour.Names\") is provided.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 19/42] gnu: Add ghc-colour.
2016-09-18 16:09 ` [PATCH 19/42] gnu: Add ghc-colour ng0
@ 2016-09-21 1:12 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:12 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
On Sun, Sep 18, 2016 at 04:09:59PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-colour): New variable.
[-- Attachment #2: 0007-ghc-colour-synopsis-fix.patch --]
[-- Type: text/plain, Size: 930 bytes --]
From da7321230d6eb54565e44b2b62bd0c0064f4ce05 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:56:52 -0400
Subject: [PATCH 7/8] ghc-colour synopsis fix
---
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 d5de7f8..3d6d806 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6918,7 +6918,7 @@ from using 'String' to 'ByteString'.")
"1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
(build-system haskell-build-system)
(home-page "http://www.haskell.org/haskellwiki/Colour")
- (synopsis "Model for human colour/color perception")
+ (synopsis "Model for human colour perception")
(description
"This package provides a data type for colours and transparency.
Colours can be blended and composed. Various colour spaces are
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 20/42] gnu: Add ghc-directory.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (17 preceding siblings ...)
2016-09-18 16:09 ` [PATCH 19/42] gnu: Add ghc-colour ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 21/42] gnu: Add ghc-process ng0
` (21 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-directory): New variable.
---
gnu/packages/haskell.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5033071..308d8c3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6904,4 +6904,25 @@ Colours can be blended and composed. Various colour spaces are
supported. A module of colour names (\"Data.Colour.Names\") is provided.")
(license license:expat)))
+(define-public ghc-directory
+ (package
+ (name "ghc-directory")
+ (version "1.2.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/directory/directory-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0h3hrqskadmbigaxbz2k5xxjjjlmfaq2zdn2g7jh1wv9k6yrxraa"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/directory")
+ (synopsis "Platform-agnostic library for filesystem operations")
+ (description
+ "This library provides a basic set of operations for manipulating
+files and directories in a portable way.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 21/42] gnu: Add ghc-process.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (18 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 20/42] gnu: Add ghc-directory ng0
@ 2016-09-18 16:10 ` ng0
2016-09-21 1:13 ` Leo Famulari
2016-09-18 16:10 ` [PATCH 22/42] gnu: Add ghc-wl-pprint-text ng0
` (20 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-process): New variable.
---
gnu/packages/haskell.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 308d8c3..c951b32 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6925,4 +6925,24 @@ supported. A module of colour names (\"Data.Colour.Names\") is provided.")
files and directories in a portable way.")
(license license:bsd-3)))
+(define-public ghc-process
+ (package
+ (name "ghc-process")
+ (version "1.4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/process/process-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/process")
+ (synopsis "Process libraries")
+ (description
+ "This package contains libraries for dealing with system processes.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 21/42] gnu: Add ghc-process.
2016-09-18 16:10 ` [PATCH 21/42] gnu: Add ghc-process ng0
@ 2016-09-21 1:13 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:13 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
On Sun, Sep 18, 2016 at 04:10:01PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-process): New variable.
[-- Attachment #2: 0008-ghc-process-synopsis-fix.patch --]
[-- Type: text/plain, Size: 890 bytes --]
From c844ea27ba69a62d68e1e57f68564e5a29f7a93a Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Sep 2016 20:58:03 -0400
Subject: [PATCH 8/8] ghc-process synopsis fix
---
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 3d6d806..c76b12f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6961,7 +6961,7 @@ files and directories in a portable way.")
"1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
(build-system haskell-build-system)
(home-page "http://hackage.haskell.org/package/process")
- (synopsis "Process libraries")
+ (synopsis "System process libraries")
(description
"This package contains libraries for dealing with system processes.")
(license license:bsd-3)))
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 22/42] gnu: Add ghc-wl-pprint-text.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (19 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 21/42] gnu: Add ghc-process ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 23/42] gnu: ghc-fgl: Update to 5.5.3.0 ng0
` (19 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-wl-pprint-text): New variable.
---
gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c951b32..1633585 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6945,4 +6945,26 @@ files and directories in a portable way.")
"This package contains libraries for dealing with system processes.")
(license license:bsd-3)))
+(define-public ghc-wl-pprint-text
+ (package
+ (name "ghc-wl-pprint-text")
+ (version "1.1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1xgizzimfw17mpmw2afvmnvyag976j8ggn7k5r564rkw9f0m6bgz"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-text" ,ghc-text)))
+ (home-page "http://hackage.haskell.org/package/wl-pprint-text")
+ (synopsis "Wadler/Leijen Pretty Printer for Text values")
+ (description
+ "A clone of wl-pprint for use with the text library.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 23/42] gnu: ghc-fgl: Update to 5.5.3.0.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (20 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 22/42] gnu: Add ghc-wl-pprint-text ng0
@ 2016-09-18 16:10 ` ng0
2016-09-21 1:19 ` Leo Famulari
2016-09-18 16:10 ` [PATCH 24/42] gnu: Add ghc-fgl-arbitrary ng0
` (18 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-fgl): Update to 5.5.3.0.
---
gnu/packages/haskell.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1633585..758756d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3032,7 +3032,7 @@ variety of traversals.")
(define-public ghc-fgl
(package
(name "ghc-fgl")
- (version "5.5.1.0")
+ (version "5.5.3.0")
(outputs '("out" "doc"))
(source
(origin
@@ -3043,9 +3043,12 @@ variety of traversals.")
".tar.gz"))
(sha256
(base32
- "0rcmz0xlyr1wj490ffja29z1jgl51gz19ka609da6bx39bwx7nga"))))
+ "0fbyb6jxy9whgrv6dgnkzz70cmy98arx3q2gnkhgl4a3d7idh36p"))))
(build-system haskell-build-system)
- (inputs `(("ghc-mtl" ,ghc-mtl)))
+ (inputs
+ `(("ghc-mtl" ,ghc-mtl)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
(home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
(synopsis
"Martin Erwig's Functional Graph Library")
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 24/42] gnu: Add ghc-fgl-arbitrary.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (21 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 23/42] gnu: ghc-fgl: Update to 5.5.3.0 ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 25/42] gnu: Add ghc-graphviz ng0
` (17 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-fgl-arbitrary): 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 758756d..371102e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6970,4 +6970,31 @@ files and directories in a portable way.")
"A clone of wl-pprint for use with the text library.")
(license license:bsd-3)))
+(define-public ghc-fgl-arbitrary
+ (package
+ (name "ghc-fgl-arbitrary")
+ (version "0.2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "12qbsla4vivffris6y3gj29vrafkpyazqdbdy2m55nggypqpf7ah"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-fgl" ,ghc-fgl)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-hspec" ,ghc-hspec)))
+ (home-page "http://hackage.haskell.org/package/fgl-arbitrary")
+ (synopsis "QuickCheck support for fgl")
+ (description
+ "Provides Arbitrary instances for fgl graphs to avoid adding a
+QuickCheck dependency for fgl whilst still making the instances
+available to others. Also available are non-fgl-specific functions
+for generating graph-like data structures.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 25/42] gnu: Add ghc-graphviz.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (22 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 24/42] gnu: Add ghc-fgl-arbitrary ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 26/42] gnu: Add ghc-array ng0
` (16 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-graphviz): New variable.
---
gnu/packages/haskell.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 371102e..00c8072 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6997,4 +6997,46 @@ available to others. Also available are non-fgl-specific functions
for generating graph-like data structures.")
(license license:bsd-3)))
+(define-public ghc-graphviz
+ (package
+ (name "ghc-graphviz")
+ (version "2999.18.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "graphviz/graphviz-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z453is01v0rnxlv6xx4iyaqv5vrp3bpz829mpv1a341sck2135h"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-colour" ,ghc-colour)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-fgl" ,ghc-fgl)
+ ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
+ ("ghc-polyparse" ,ghc-polyparse)
+ ("ghc-temporary" ,ghc-temporary)
+ ("ghc-text" ,ghc-text)
+ ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
+ (home-page "https://hackage.haskell.org/package/graphviz")
+ (synopsis "Bindings to Graphviz for graph visualisation")
+ (description
+ "This library provides bindings for the Dot language used by
+the @uref{http://graphviz.org/, Graphviz} suite of programs for
+visualising graphs, as well as functions to call those programs.
+Main features of the graphviz library include:
+
+@enumerate
+@item Almost complete coverage of all Graphviz attributes and syntax
+@item Support for specifying clusters
+@item The ability to use a custom node type
+@item Functions for running a Graphviz layout tool with all specified output types
+@item Generate and parse Dot code with two options: strict and liberal
+@item Functions to convert FGL graphs and other graph-like data structures
+@item Round-trip support for passing an FGL graph through Graphviz to augment node
+and edge labels with positional information, etc.
+@end enumerate\n")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 26/42] gnu: Add ghc-array.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (23 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 25/42] gnu: Add ghc-graphviz ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 27/42] gnu: Add ghc-findbin ng0
` (15 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-array): 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 00c8072..3e7d6c4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7039,4 +7039,27 @@ and edge labels with positional information, etc.
@end enumerate\n")
(license license:bsd-3)))
+(define-public ghc-array
+ (package
+ (name "ghc-array")
+ (version "0.5.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/array/array-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "08r2rq4blvc737mrg3xhlwiw13jmsz5dlf2fd0ghb9cdaxc6kjc9"))))
+ (build-system haskell-build-system)
+ (home-page
+ "http://hackage.haskell.org/package/array")
+ (synopsis "Mutable and immutable arrays")
+ (description
+ "In addition to providing the @code{Data.Array} module, this package also defines
+the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutable
+within appropriate monads, as well as some instances of these classes.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 27/42] gnu: Add ghc-findbin.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (24 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 26/42] gnu: Add ghc-array ng0
@ 2016-09-18 16:10 ` ng0
2016-09-21 1:12 ` Leo Famulari
2016-09-18 16:10 ` [PATCH 28/42] gnu: Add ghc-constraints ng0
` (14 subsequent siblings)
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-findbin): 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 3e7d6c4..d6746d0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7062,4 +7062,28 @@ the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutabl
within appropriate monads, as well as some instances of these classes.")
(license license:bsd-3)))
+(define-public ghc-findbin
+ (package
+ (name "ghc-findbin")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/FindBin-0.0.5/"
+ "FindBin-" version ".tar.gz"))
+ (sha256
+ (base32
+ "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
+ (build-system haskell-build-system)
+ (home-page
+ "http://hackage.haskell.org/package/FindBin")
+ (synopsis "Locate directory of original program")
+ (description
+ "This module locates the full directory to the running program,
+to allow the use of paths relative to it. FindBin supports invocation
+of Haskell programs via ghci, via runhaskell/runghc, as well as compiled
+as an executable.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 28/42] gnu: Add ghc-constraints.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (25 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 27/42] gnu: Add ghc-findbin ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 29/42] gnu: Add ghc-lifted-async ng0
` (13 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-constraints): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d6746d0..5bfd956 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7086,4 +7086,30 @@ of Haskell programs via ghci, via runhaskell/runghc, as well as compiled
as an executable.")
(license license:bsd-3)))
+(define-public ghc-constraints
+ (package
+ (name "ghc-constraints")
+ (version "0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/constraints/constraints-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hashable" ,ghc-hashable)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)))
+ (home-page "http://github.com/ekmett/constraints/")
+ (synopsis "Constraint manipulation")
+ (description
+ "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
+They stopped crashing the compiler in GHC 7.6. This package provides
+a vocabulary for working with them.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 29/42] gnu: Add ghc-lifted-async.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (26 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 28/42] gnu: Add ghc-constraints ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 30/42] gnu: Add ghc-system-filepath-bootstrap ng0
` (12 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-lifted-async): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5bfd956..cfae565 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7112,4 +7112,36 @@ They stopped crashing the compiler in GHC 7.6. This package provides
a vocabulary for working with them.")
(license license:bsd-3)))
+(define-public ghc-lifted-async
+ (package
+ (name "ghc-lifted-async")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/lifted-async/lifted-async-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
+ (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-constraints" ,ghc-constraints)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-th" ,ghc-tasty-th)))
+ (home-page "https://github.com/maoe/lifted-async")
+ (synopsis "Run lifted IO operations asynchronously and wait for their results")
+ (description
+ "This package provides IO operations from @code{async} package lifted to any
+instance of @code{MonadBase} or @code{MonadBaseControl}.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 30/42] gnu: Add ghc-system-filepath-bootstrap.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (27 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 29/42] gnu: Add ghc-lifted-async ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 31/42] gnu: Add ghc-system-fileio-bootstrap ng0
` (11 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-system-filepath-bootstrap): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cfae565..21742b3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7144,4 +7144,35 @@ a vocabulary for working with them.")
instance of @code{MonadBase} or @code{MonadBaseControl}.")
(license license:bsd-3)))
+;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
+;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
+;; which depends on ghc-chell and ghc-chell-quickcheck.
+;; Therefore we bootstrap it with tests disabled.
+(define ghc-system-filepath-bootstrap
+ (package
+ (name "ghc-system-filepath-bootstrap")
+ (version "0.4.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/system-filepath/system-filepath-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f))
+ (inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/fpco/haskell-filesystem")
+ (synopsis "High-level, byte-based file and directory path manipulations")
+ (description
+ "Provides a FilePath datatype and utility functions for operating on it.
+Unlike the filepath package, this package does not simply reuse String,
+increasing type safety.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 31/42] gnu: Add ghc-system-fileio-bootstrap.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (28 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 30/42] gnu: Add ghc-system-filepath-bootstrap ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 32/42] gnu: Add ghc-shelly ng0
` (10 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-system-fileio-bootstrap): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 21742b3..e33c746 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7175,4 +7175,36 @@ Unlike the filepath package, this package does not simply reuse String,
increasing type safety.")
(license license:expat)))
+;; See ghc-system-filepath-bootstrap. In addition this package depends on
+;; ghc-system-filepath.
+(define ghc-system-fileio-bootstrap
+ (package
+ (name "ghc-system-fileio-bootstrap")
+ (version "0.3.16.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/system-fileio/system-fileio-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f))
+ (inputs
+ `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
+ ("ghc-text" ,ghc-text)
+ ("ghc-temporary" ,ghc-temporary)))
+ (home-page "https://github.com/fpco/haskell-filesystem")
+ (synopsis "Consistent filesystem interaction across GHC versions")
+ (description
+ "This is a small wrapper around the directory, unix, and Win32 packages,
+for use with system-filepath. It provides a consistent API to the various
+versions of these packages distributed with different versions of GHC.
+In particular, this library supports working with POSIX files that have paths
+which can't be decoded in the current locale encoding.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 32/42] gnu: Add ghc-shelly.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (29 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 31/42] gnu: Add ghc-system-fileio-bootstrap ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 33/42] gnu: Add ghc-options-bootstrap ng0
` (9 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-shelly): New variable.
---
gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e33c746..50f83ba 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7207,4 +7207,40 @@ In particular, this library supports working with POSIX files that have paths
which can't be decoded in the current locale encoding.")
(license license:expat)))
+(define-public ghc-shelly
+ (package
+ (name "ghc-shelly")
+ (version "1.6.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/shelly/shelly-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0bg1pj5bhswfgwfgz66xr82i8cmjgrnx5ljvjy37052zxb82imnk"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-mtl" ,ghc-mtl)
+ ("ghc-unix-compat" ,ghc-unix-compat)
+ ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
+ ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
+ ("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. Shelly is originally forked from the Shellish package.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 33/42] gnu: Add ghc-options-bootstrap.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (30 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 32/42] gnu: Add ghc-shelly ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 34/42] gnu: Add ghc-chell ng0
` (8 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-options-bootstrap): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 50f83ba..5de29f9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7243,4 +7243,30 @@ which can't be decoded in the current locale encoding.")
spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
(license license:bsd-3)))
+;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
+(define ghc-options-bootstrap
+ (package
+ (name "ghc-options-bootstrap")
+ (version "1.2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/options/options-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f))
+ (inputs
+ `(("ghc-monads-tf" ,ghc-monads-tf)))
+ (home-page "https://john-millikin.com/software/haskell-options/")
+ (synopsis "Powerful and easy-to-use command-line option parser")
+ (description
+ "The @code{options} package lets library and application developers
+easily work with command-line options.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 34/42] gnu: Add ghc-chell.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (31 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 33/42] gnu: Add ghc-options-bootstrap ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 35/42] gnu: Add ghc-chell-quickcheck-bootstrap ng0
` (7 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-chell): New variables.
---
gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5de29f9..1ddd807 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7269,4 +7269,33 @@ spirit to POSIX shells. Shelly is originally forked from the Shellish package.
easily work with command-line options.")
(license license:expat)))
+(define-public ghc-chell
+ (package
+ (name "ghc-chell")
+ (version "0.4.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/chell/chell-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
+ ("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 "Simple and intuitive 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 license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 35/42] gnu: Add ghc-chell-quickcheck-bootstrap.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (32 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 34/42] gnu: Add ghc-chell ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 36/42] gnu: Add ghc-chell-quickcheck ng0
` (6 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-chell-quickcheck-bootstrap): 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 1ddd807..a8ace82 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7298,4 +7298,29 @@ libraries such as @code{chell-quickcheck} to support more complex
testing strategies.")
(license license:expat)))
+(define ghc-chell-quickcheck-bootstrap
+ (package
+ (name "ghc-chell-quickcheck-bootstrap")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://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-random" ,ghc-random)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (arguments
+ `(#:tests? #f))
+ (home-page "https://john-millikin.com/software/chell/")
+ (synopsis "QuickCheck support for the Chell testing library")
+ (description "More complex tests for @code{chell}.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 36/42] gnu: Add ghc-chell-quickcheck.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (33 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 35/42] gnu: Add ghc-chell-quickcheck-bootstrap ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 37/42] gnu: Add ghc-options ng0
` (5 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-chell-quickcheck): 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 a8ace82..2b6ff10 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7323,4 +7323,28 @@ testing strategies.")
(description "More complex tests for @code{chell}.")
(license license:expat)))
+(define-public ghc-chell-quickcheck
+ (package
+ (name "ghc-chell-quickcheck")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://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-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
+ ("ghc-random" ,ghc-random)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://john-millikin.com/software/chell/")
+ (synopsis "QuickCheck support for the Chell testing library")
+ (description "More complex tests for @code{chell}.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 37/42] gnu: Add ghc-options.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (34 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 36/42] gnu: Add ghc-chell-quickcheck ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 38/42] gnu: Add ghc-system-filepath ng0
` (4 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-options): 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 2b6ff10..cc06c3c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7347,4 +7347,29 @@ testing strategies.")
(description "More complex tests for @code{chell}.")
(license license:expat)))
+(define-public ghc-options
+ (package
+ (name "ghc-options")
+ (version "1.2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/options/options-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-monads-tf" ,ghc-monads-tf)
+ ("ghc-chell" ,ghc-chell)
+ ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
+ (home-page "https://john-millikin.com/software/haskell-options/")
+ (synopsis "Powerful and easy-to-use command-line option parser")
+ (description
+ "The @code{options} package lets library and application developers
+easily work with command-line options.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 38/42] gnu: Add ghc-system-filepath.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (35 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 37/42] gnu: Add ghc-options ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 39/42] gnu: Add ghc-system-fileio ng0
` (3 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 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 cc06c3c..1f7982e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7372,4 +7372,31 @@ testing strategies.")
easily work with command-line options.")
(license license:expat)))
+(define-public ghc-system-filepath
+ (package
+ (name "ghc-system-filepath")
+ (version "0.4.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://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 "High-level, byte-based file and directory path manipulations")
+ (description
+ "Provides a FilePath datatype and utility functions for operating on it.
+Unlike the filepath package, this package does not simply reuse String,
+increasing type safety.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 39/42] gnu: Add ghc-system-fileio.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (36 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 38/42] gnu: Add ghc-system-filepath ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 40/42] gnu: Add ghc-transformers@0.4.2.0 ng0
` (2 subsequent siblings)
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-system-fileio): 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 1f7982e..20b0316 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7399,4 +7399,32 @@ Unlike the filepath package, this package does not simply reuse String,
increasing type safety.")
(license 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
+ "https://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 is a small wrapper around the directory, unix, and Win32 packages,
+for use with system-filepath. It provides a consistent API to the various
+versions of these packages distributed with different versions of GHC.
+In particular, this library supports working with POSIX files that have paths
+which can't be decoded in the current locale encoding.")
+ (license license:expat)))
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 40/42] gnu: Add ghc-transformers@0.4.2.0.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (37 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 39/42] gnu: Add ghc-system-fileio ng0
@ 2016-09-18 16:10 ` ng0
2016-09-18 16:10 ` [PATCH 41/42] gnu: Add ghc-directory@1.2.2.0 ng0
2016-09-18 16:10 ` [PATCH 42/42] gnu: Add darcs ng0
40 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-transformers@0.4.2.0): New variable.
---
gnu/packages/haskell.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 20b0316..19cbadd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6778,6 +6778,19 @@ which automatically lift operations introduced by monad transformers through
other transformers.")
(license license:bsd-3)))
+;; darcs-2.12.0 requires transformers-0.4.2.0
+(define-public ghc-transformers-0.4.2.0
+ (package
+ (inherit ghc-transformers)
+ (version "0.4.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/transformers/"
+ "transformers-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a364zfcm17mhpy0c4ms2j88sys4yvgd6071qsgk93la2wjm8mkr"))))))
+
(define-public ghc-findbin
(package
(name "ghc-findbin")
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 41/42] gnu: Add ghc-directory@1.2.2.0.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (38 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 40/42] gnu: Add ghc-transformers@0.4.2.0 ng0
@ 2016-09-18 16:10 ` ng0
2016-09-21 1:06 ` Leo Famulari
2016-09-18 16:10 ` [PATCH 42/42] gnu: Add darcs ng0
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-directory@1.2.2.0): New variable.
---
gnu/packages/haskell.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 19cbadd..af7fc13 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7440,4 +7440,19 @@ versions of these packages distributed with different versions of GHC.
In particular, this library supports working with POSIX files that have paths
which can't be decoded in the current locale encoding.")
(license license:expat)))
+
+(define-public ghc-directory@1.2.2.0
+ (package
+ (inherit ghc-directory)
+ (version "1.2.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/directory/"
+ "directory-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dbn6d48gdqh0n2rkh02asxv94ikd8849659ndc7p3h93kgj1dy4"))))
+ (arguments
+ `(#:tests? #f)))) ; test wants to run git
+
;;; haskell.scm ends here
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* [PATCH 42/42] gnu: Add darcs.
2016-09-18 16:09 [PATCH 01/42] gnu: Add ghc-base16-bytestring ng0
` (39 preceding siblings ...)
2016-09-18 16:10 ` [PATCH 41/42] gnu: Add ghc-directory@1.2.2.0 ng0
@ 2016-09-18 16:10 ` ng0
2016-09-21 1:44 ` Leo Famulari
40 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-18 16:10 UTC (permalink / raw)
To: guix-devel
* gnu/packages/version-control.scm (darcs): New variable.
---
gnu/packages/version-control.scm | 95 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 29559bd..ae3728d 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -35,6 +35,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system haskell)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages apr)
@@ -50,6 +51,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages groff)
+ #:use-module (gnu packages haskell)
#:use-module (gnu packages linux)
#:use-module (gnu packages nano)
#:use-module (gnu packages ncurses)
@@ -1249,3 +1251,96 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
(description "Stagit creates static pages for git repositories, the results can
be served with a HTTP file server of your choice.")
(license license:expat)))
+
+;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
+;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
+;; and results of search engines will show that if the protocol is http, https
+;; is never mentioned.
+(define-public darcs
+ (package
+ (name "darcs")
+ (version "2.12.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/darcs/"
+ "darcs-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
+ "-fnetwork-uri" "-fhttp" "--flag=executable"
+ "--flag=library")
+ #:tests? #f)) ; 20 failing shell tests out of over 400
+ (inputs
+ `(("ghc-cmdargs" ,ghc-cmdargs) ; cmdargs ==0.10.*,
+ ("ghc-split" ,ghc-split) ; split >=0.2.2 && <0.3,
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) ; ==0.3.*
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) ; >=0.2.2 && <0.4,
+ ("ghc-test-framework" ,ghc-test-framework) ; test-framework >=0.4.0 && <0.9,
+ ("ghc-quickcheck" ,ghc-quickcheck) ; QuickCheck >=2.6 && <2.9,
+ ("ghc-findbin" ,ghc-findbin) ; FindBin ==0.0.*,
+ ("ghc-hunit" ,ghc-hunit) ; HUnit >=1.2.5.2 && <1.4,
+ ("ghc-array" ,ghc-array) ; (>=0.4.0.1 && <0.6)
+ ("ghc-async" ,ghc-async) ; (>=2.0.1.4 && <2.2)
+ ("ghc-attoparsec" ,ghc-attoparsec) ; (>=0.11 && <0.14)
+ ;; base (>=4.6 && <4.10)
+ ("ghc-base16-bytestring" ,ghc-base16-bytestring) ; (==0.1.*)
+ ("ghc-binary" ,ghc-binary) ; (>=0.5 && <0.9)
+ ("ghc-bytestring-builder" ,ghc-bytestring-builder) ; (>=0.10.0.2 && <0.11)
+ ;; containers (==0.5.*)
+ ("ghc-cryptohash" ,ghc-cryptohash) ; (>=0.4 && <0.12)
+ ("ghc-data-ordlist" ,ghc-data-ordlist) ; (==0.4.*)
+ ("ghc-directory" ,ghc-directory) ; (>=1.2.0.1 && <1.3.0.0)
+ ("ghc-fgl" ,ghc-fgl) ; (>=5.5.0.1 && <5.6)
+ ("ghc-system-filepath" ,ghc-system-filepath) ; (>=1.3.0.1 && <1.5.0.0)
+ ("ghc-graphviz" ,ghc-graphviz) ; (>=2999.17.0.1 && <2999.19)
+ ("ghc-hashable" ,ghc-hashable) ; (>=1.1.2.5 && <1.3)
+ ("ghc-haskeline" ,ghc-haskeline) ; (>=0.6.3 && <0.8)
+ ("ghc-html" ,ghc-html) ; (>=1.0.1.2 && <1.1)
+ ("ghc-mmap" ,ghc-mmap) ; (==0.5.*)
+ ("ghc-mtl" ,ghc-mtl) ; (>=2.1.2 && <2.3)
+ ("ghc-old-time" ,ghc-old-time) ; (==1.1.*)
+ ("ghc-parsec" ,ghc-parsec) ; (==3.1.*)
+ ("ghc-process" ,ghc-process) ; (>=1.1.0.2 && <1.5.0.0)
+ ("ghc-random" ,ghc-random) ; (>=1.0.1.1 && <1.2)
+ ("ghc-regex-applicative" ,ghc-regex-applicative) ; (>=0.2 && <0.4)
+ ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa) ; (>=0.95.1 && <0.96)
+ ("ghc-sandi" ,ghc-sandi) ; (>=0.2 && <0.4)
+ ("ghc-shelly" ,ghc-shelly) ; shelly >=1.6.2 && <1.7,
+ ("ghc-tar" ,ghc-tar) ; (>=0.4 && <0.6)
+ ;;("ghc-transformers" ,ghc-transformers) ; (>=0.3 && <0.4.0.0 || >0.4.0.0 && <0.6)
+ ("ghc-transformers-compat" ,ghc-transformers-compat) ; (>=0.4 && <0.6)
+ ("ghc-unix-compat" ,ghc-unix-compat) ; (>=0.1.2 && <0.5)
+ ("ghc-utf8-string" ,ghc-utf8-string) ; (>=0.3.6 && <1.1)
+ ("ghc-vector" ,ghc-vector) ; (>=0.10.0.1 && <0.12)
+ ("ghc-zip-archive" ,ghc-zip-archive) ; (>=0.2.3 && <0.4)
+ ("ghc-zlib" ,ghc-zlib) ; (>=0.5.4.1 && <0.7.0.0)
+ ("ghc-http" ,ghc-http) ; HTTP >=4000.2.8 && <4000.4
+ ("curl" ,curl)
+ ("ghc" ,ghc) ; >= 7.10.2
+ ("ncurses" ,ncurses)
+ ("perl" ,perl)
+ ("libiconv" ,libiconv)
+ ("ghc-network" ,ghc-network)
+ ("ghc-network-uri" ,ghc-network-uri)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://darcs.net")
+ (synopsis "Distributed Revision Control System")
+ (description
+ "Darcs is a revision control system. It is:
+
+@enumerate
+@item Distributed: Every user has access to the full command set, removing boundaries
+between server and client or committer and non-committers.
+@item Interactive: Darcs is easy to learn and efficient to use because it asks you
+questions in response to simple commands, giving you choices in your work flow.
+You can choose to record one change in a file, while ignoring another. As you update
+from upstream, you can review each patch name, even the full diff for interesting
+patches.
+@item Smart: Originally developed by physicist David Roundy, darcs is based on a
+unique algebra of patches.
+@end enumerate")
+ (license license:gpl2)))
--
2.10.0
^ permalink raw reply related [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-18 16:10 ` [PATCH 42/42] gnu: Add darcs ng0
@ 2016-09-21 1:44 ` Leo Famulari
2016-09-21 8:27 ` ng0
2016-09-23 0:12 ` Leo Famulari
0 siblings, 2 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-21 1:44 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Sun, Sep 18, 2016 at 04:10:22PM +0000, ng0 wrote:
> * gnu/packages/version-control.scm (darcs): New variable.
> +;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
> +;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
> +;; and results of search engines will show that if the protocol is http, https
> +;; is never mentioned.
> +(define-public darcs
> + (package
> + (name "darcs")
> + (version "2.12.4")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "https://hackage.haskell.org/package/darcs/"
> + "darcs-" version ".tar.gz"))
> + (sha256
> + (base32
> + "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
> + (build-system haskell-build-system)
> + (arguments
> + `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
> + "-fnetwork-uri" "-fhttp" "--flag=executable"
> + "--flag=library")
> + #:tests? #f)) ; 20 failing shell tests out of over 400
When the test suite fails, it provides a path to the log of the test
suite. I built with --keep-failed to inspect the log, but the file does
not exist.
Since the test suite is not passing, and there is no log of the tests,
it's hard to decide what to do :)
Does this darcs package work for your use case? Does anyone have advice?
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-21 1:44 ` Leo Famulari
@ 2016-09-21 8:27 ` ng0
2016-09-26 21:04 ` Leo Famulari
2016-09-23 0:12 ` Leo Famulari
1 sibling, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-21 8:27 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Sun, Sep 18, 2016 at 04:10:22PM +0000, ng0 wrote:
>> * gnu/packages/version-control.scm (darcs): New variable.
>
>> +;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
>> +;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
>> +;; and results of search engines will show that if the protocol is http, https
>> +;; is never mentioned.
>> +(define-public darcs
>> + (package
>> + (name "darcs")
>> + (version "2.12.4")
>> + (source (origin
>> + (method url-fetch)
>> + (uri (string-append "https://hackage.haskell.org/package/darcs/"
>> + "darcs-" version ".tar.gz"))
>> + (sha256
>> + (base32
>> + "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
>> + (build-system haskell-build-system)
>> + (arguments
>> + `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
>> + "-fnetwork-uri" "-fhttp" "--flag=executable"
>> + "--flag=library")
>> + #:tests? #f)) ; 20 failing shell tests out of over 400
>
> When the test suite fails, it provides a path to the log of the test
> suite. I built with --keep-failed to inspect the log, but the file does
> not exist.
>
> Since the test suite is not passing, and there is no log of the tests,
> it's hard to decide what to do :)
Strange. Can you add a comment for this in the package, so we can fix it
eventually?
> Does this darcs package work for your use case? Does anyone have advice?
>
Additionally: Should the complete commented inputs go? They are parts of
base of ghc, but then again they display what ghc needs.
So far I was able to "darcs get http://pijul.org", I have not signed up
at a darcs hosting to push, I thought someone will report a bug when a
feature of darcs is broken. My use case worked.
For all the other packages: The changes are okay for me.
For @ version: The error message Guix throws should be extended. I am
doing "-" versions, but I've also seen "@" versions in the code and was
confused by the message guix gave me so I switched them to @.
Thanks for reviewing this huge bundle!
--
ng0
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-21 8:27 ` ng0
@ 2016-09-26 21:04 ` Leo Famulari
0 siblings, 0 replies; 66+ messages in thread
From: Leo Famulari @ 2016-09-26 21:04 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Fri, Sep 23, 2016 at 02:27:28AM -0400, Leo Famulari wrote:
> On Wed, Sep 21, 2016 at 08:27:47AM +0000, ng0 wrote:
> > ;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
>
> Based on that link to the Darcs manual, my understanding is that users
> must provide Darcs with a set of URL handlers in the form of shell
> invocations in environment variables.
I was wrong; those variables are no longer used by Darcs. HTTPS should
"just work".
Here I am using Darcs from Debian Stretch:
$ darcs clone --debug-http https://dev.seek-together.space/s/fr33domlover/r/vervis
* Trying 188.120.157.6...
* Connected to dev.seek-together.space (188.120.157.6) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 692 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: dev.seek-together.space (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: CN=dev.seek-together.space
* start date: Tue, 09 Aug 2016 12:20:00 GMT
* expire date: Mon, 07 Nov 2016 12:20:00 GMT
* issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /s/fr33domlover/r/vervis/_darcs/prefs/motd HTTP/1.1
Host: dev.seek-together.space
User-Agent: darcs/2.12.0 libcurl/7.47.0
Accept: */*
Cache-Control: max-age=600
[... et cetera ...]
But, with the WIP Guix package, our libcurl does not find the
certificate store:
$ darcs clone --debug-http https://dev.seek-together.space/s/fr33domlover/r/vervis
* Trying 188.120.157.6...
* TCP_NODELAY set
* Connected to dev.seek-together.space (188.120.157.6) port 443 (#0)
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* Curl_http_done: called premature == 1
* Closing connection 0
* Hostname dev.seek-together.space was found in DNS cache
* Trying 188.120.157.6...
* TCP_NODELAY set
* Connected to dev.seek-together.space (188.120.157.6) port 443 (#1)
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* Curl_http_done: called premature == 1
* Closing connection 1
* Hostname dev.seek-together.space was found in DNS cache
* Trying 188.120.157.6...
* TCP_NODELAY set
* Connected to dev.seek-together.space (188.120.157.6) port 443 (#2)
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* Curl_http_done: called premature == 1
* Closing connection 2
darcs failed: Not a repository: https://dev.seek-together.space/s/fr33domlover/r/vervis (Peer certificate cannot be authenticated with given CA certificates)
HINT: Do you have the right URI for the repository?
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-21 1:44 ` Leo Famulari
2016-09-21 8:27 ` ng0
@ 2016-09-23 0:12 ` Leo Famulari
2016-09-23 9:12 ` ng0
1 sibling, 1 reply; 66+ messages in thread
From: Leo Famulari @ 2016-09-23 0:12 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 20, 2016 at 09:44:49PM -0400, Leo Famulari wrote:
> On Sun, Sep 18, 2016 at 04:10:22PM +0000, ng0 wrote:
> > * gnu/packages/version-control.scm (darcs): New variable.
I just pushed most of the patches in this series, except for darcs, with
the changes I suggested.
I did not push the darcs patch itself yet. I will look into that later
today.
I also did not push ghc-directory@1.2.2.0 because it is unused.
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-23 0:12 ` Leo Famulari
@ 2016-09-23 9:12 ` ng0
2016-09-23 13:48 ` Leo Famulari
0 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-23 9:12 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Tue, Sep 20, 2016 at 09:44:49PM -0400, Leo Famulari wrote:
>> On Sun, Sep 18, 2016 at 04:10:22PM +0000, ng0 wrote:
>> > * gnu/packages/version-control.scm (darcs): New variable.
>
> I just pushed most of the patches in this series, except for darcs, with
> the changes I suggested.
Many thanks!
> I did not push the darcs patch itself yet. I will look into that later
> today.
>
> I also did not push ghc-directory@1.2.2.0 because it is unused.
>
Okay.
I think in darcs the configure flags can be shortened to 2 lines if the
-f instead of --flag is used, as explained on the hackage page, but this
is just cosmetic.
I also think for reference we should keep the versions of packages it
needs as they are so many. On the other hand hackage keeps the list of
dependencies and versions of those, so... should I send a patch removing
these comments?
--
ng0
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-23 9:12 ` ng0
@ 2016-09-23 13:48 ` Leo Famulari
2016-09-23 20:08 ` ng0
0 siblings, 1 reply; 66+ messages in thread
From: Leo Famulari @ 2016-09-23 13:48 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Fri, Sep 23, 2016 at 09:12:33AM +0000, ng0 wrote:
> I also think for reference we should keep the versions of packages it
> needs as they are so many. On the other hand hackage keeps the list of
> dependencies and versions of those, so... should I send a patch removing
> these comments?
I think it's better to say how to learn that information. What's there
now will become obsolete sooner or later, and it's not clear to me how I
could update the information.
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-23 13:48 ` Leo Famulari
@ 2016-09-23 20:08 ` ng0
2016-09-24 2:26 ` Leo Famulari
0 siblings, 1 reply; 66+ messages in thread
From: ng0 @ 2016-09-23 20:08 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Fri, Sep 23, 2016 at 09:12:33AM +0000, ng0 wrote:
>> I also think for reference we should keep the versions of packages it
>> needs as they are so many. On the other hand hackage keeps the list of
>> dependencies and versions of those, so... should I send a patch removing
>> these comments?
>
> I think it's better to say how to learn that information. What's there
> now will become obsolete sooner or later, and it's not clear to me how I
> could update the information.
>
That's just taken directly from hackage and/or the initial error output
and/or the haskell setup file.
Should I adjust it? For me the source is 'normal' you find this
information when you look for the application:
https://hackage.haskell.org/package/darcs-2.12.4
--
ng0
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-23 20:08 ` ng0
@ 2016-09-24 2:26 ` Leo Famulari
2016-09-24 9:07 ` ng0
0 siblings, 1 reply; 66+ messages in thread
From: Leo Famulari @ 2016-09-24 2:26 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Fri, Sep 23, 2016 at 08:08:37PM +0000, ng0 wrote:
> Leo Famulari <leo@famulari.name> writes:
>
> > On Fri, Sep 23, 2016 at 09:12:33AM +0000, ng0 wrote:
> >> I also think for reference we should keep the versions of packages it
> >> needs as they are so many. On the other hand hackage keeps the list of
> >> dependencies and versions of those, so... should I send a patch removing
> >> these comments?
> >
> > I think it's better to say how to learn that information. What's there
> > now will become obsolete sooner or later, and it's not clear to me how I
> > could update the information.
> >
>
> That's just taken directly from hackage and/or the initial error output
> and/or the haskell setup file.
>
> Should I adjust it? For me the source is 'normal' you find this
> information when you look for the application:
> https://hackage.haskell.org/package/darcs-2.12.4
It looks like hackage provides that version information for many of
their packages. So, I don't think we need to include it in our Darcs
package.
^ permalink raw reply [flat|nested] 66+ messages in thread
* Re: [PATCH 42/42] gnu: Add darcs.
2016-09-24 2:26 ` Leo Famulari
@ 2016-09-24 9:07 ` ng0
0 siblings, 0 replies; 66+ messages in thread
From: ng0 @ 2016-09-24 9:07 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1257 bytes --]
Leo Famulari <leo@famulari.name> writes:
> On Fri, Sep 23, 2016 at 08:08:37PM +0000, ng0 wrote:
>> Leo Famulari <leo@famulari.name> writes:
>>
>> > On Fri, Sep 23, 2016 at 09:12:33AM +0000, ng0 wrote:
>> >> I also think for reference we should keep the versions of packages it
>> >> needs as they are so many. On the other hand hackage keeps the list of
>> >> dependencies and versions of those, so... should I send a patch removing
>> >> these comments?
>> >
>> > I think it's better to say how to learn that information. What's there
>> > now will become obsolete sooner or later, and it's not clear to me how I
>> > could update the information.
>> >
>>
>> That's just taken directly from hackage and/or the initial error output
>> and/or the haskell setup file.
>>
>> Should I adjust it? For me the source is 'normal' you find this
>> information when you look for the application:
>> https://hackage.haskell.org/package/darcs-2.12.4
>
> It looks like hackage provides that version information for many of
> their packages. So, I don't think we need to include it in our Darcs
> package.
>
I Agree. You might want to check on (inputs (ghc)) as I have not checked
again if this is already provided by the build-system.
[-- Attachment #1.2: 0001-gnu-Add-darcs.patch --]
[-- Type: text/x-patch, Size: 5782 bytes --]
From 2367b485b7fad2b3220610c01e71acc781a83220 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Sun, 4 Sep 2016 16:10:02 +0000
Subject: [PATCH] gnu: Add darcs.
* gnu/packages/version-control.scm (darcs): New variable.
---
gnu/packages/version-control.scm | 96 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 95 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 29559bd..082640d 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016 ng0 <ngillmann@runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +35,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system haskell)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages apr)
@@ -50,6 +51,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages groff)
+ #:use-module (gnu packages haskell)
#:use-module (gnu packages linux)
#:use-module (gnu packages nano)
#:use-module (gnu packages ncurses)
@@ -1249,3 +1251,95 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
(description "Stagit creates static pages for git repositories, the results can
be served with a HTTP file server of your choice.")
(license license:expat)))
+
+;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
+;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
+;; and results of search engines will show that if the protocol is http, https
+;; is never mentioned.
+(define-public darcs
+ (package
+ (name "darcs")
+ (version "2.12.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/darcs/"
+ "darcs-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
+ "-fnetwork-uri" "-fhttp" "--flag=executable"
+ "--flag=library")
+ ;; 20 failing shell tests out of over 400. We seem to be unable to
+ ;; get the file which should show us more about the failures.
+ #:tests? #f))
+ (inputs
+ `(("ghc-cmdargs" ,ghc-cmdargs)
+ ("ghc-split" ,ghc-split)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-findbin" ,ghc-findbin)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-array" ,ghc-array)
+ ("ghc-async" ,ghc-async)
+ ("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-base16-bytestring" ,ghc-base16-bytestring)
+ ("ghc-binary" ,ghc-binary)
+ ("ghc-bytestring-builder" ,ghc-bytestring-builder)
+ ("ghc-cryptohash" ,ghc-cryptohash)
+ ("ghc-data-ordlist" ,ghc-data-ordlist)
+ ("ghc-directory" ,ghc-directory)
+ ("ghc-fgl" ,ghc-fgl)
+ ("ghc-system-filepath" ,ghc-system-filepath)
+ ("ghc-graphviz" ,ghc-graphviz)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-haskeline" ,ghc-haskeline)
+ ("ghc-html" ,ghc-html)
+ ("ghc-mmap" ,ghc-mmap)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-old-time" ,ghc-old-time)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-process" ,ghc-process)
+ ("ghc-random" ,ghc-random)
+ ("ghc-regex-applicative" ,ghc-regex-applicative)
+ ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa)
+ ("ghc-sandi" ,ghc-sandi)
+ ("ghc-shelly" ,ghc-shelly)
+ ("ghc-tar" ,ghc-tar)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-unix-compat" ,ghc-unix-compat)
+ ("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-zip-archive" ,ghc-zip-archive)
+ ("ghc-zlib" ,ghc-zlib)
+ ("ghc-http" ,ghc-http)
+ ("curl" ,curl)
+ ("ghc" ,ghc)
+ ("ncurses" ,ncurses)
+ ("perl" ,perl)
+ ("libiconv" ,libiconv)
+ ("ghc-network" ,ghc-network)
+ ("ghc-network-uri" ,ghc-network-uri)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://darcs.net")
+ (synopsis "Distributed Revision Control System")
+ (description
+ "Darcs is a revision control system. It is:
+
+@enumerate
+@item Distributed: Every user has access to the full command set, removing boundaries
+between server and client or committer and non-committers.
+@item Interactive: Darcs is easy to learn and efficient to use because it asks you
+questions in response to simple commands, giving you choices in your work flow.
+You can choose to record one change in a file, while ignoring another. As you update
+from upstream, you can review each patch name, even the full diff for interesting
+patches.
+@item Smart: Originally developed by physicist David Roundy, darcs is based on a
+unique algebra of patches.
+@end enumerate")
+ (license license:gpl2)))
--
2.10.0
[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]
--
ng0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
^ permalink raw reply related [flat|nested] 66+ messages in thread