* [PATCH 02/43] gnu: Add ghc-binary.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 03/43] gnu: ghc-cryptonite: Update to 0.19 ng0
` (40 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 03/43] gnu: ghc-cryptonite: Update to 0.19.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
2016-09-04 16:17 ` [PATCH 02/43] gnu: Add ghc-binary ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 04/43] gnu: Add ghc-cryptohash ng0
` (39 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 04/43] gnu: Add ghc-cryptohash.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
2016-09-04 16:17 ` [PATCH 02/43] gnu: Add ghc-binary ng0
2016-09-04 16:17 ` [PATCH 03/43] gnu: ghc-cryptonite: Update to 0.19 ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 05/43] gnu: Add ghc-data-ordlist ng0
` (38 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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..1b6e788 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 05/43] gnu: Add ghc-data-ordlist.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (2 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 04/43] gnu: Add ghc-cryptohash ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 06/43] gnu: Add ghc-terminfo ng0
` (37 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 1b6e788..6700b51 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 06/43] gnu: Add ghc-terminfo.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (3 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 05/43] gnu: Add ghc-data-ordlist ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 07/43] gnu: Add ghc-haskeline ng0
` (36 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-terminfo): 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 6700b51..f3d43c4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6536,4 +6536,26 @@ that hide the C implementation.")
"This module provides set and multiset operations on ordered lists.")
(license license:bsd-3)))
+(define-public ghc-terminfo
+ (package
+ (name "ghc-terminfo")
+ (version "0.4.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/terminfo/terminfo-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0mpqv0wn2x03mw8myc4j75hsgh1575dni6bndhqzspiz8hl8pa7y"))))
+ (build-system haskell-build-system)
+ (home-page "https://github.com/judah/terminfo")
+ (synopsis "Haskell bindings to the terminfo library.")
+ (description
+ "This library provides an interface to the terminfo database
+via bindings to the curses library. Terminfo allows POSIX systems
+to interact with a variety of terminals using a standard set of capabilities.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 07/43] gnu: Add ghc-haskeline.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (4 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 06/43] gnu: Add ghc-terminfo ng0
@ 2016-09-04 16:17 ` ng0
2016-09-06 3:27 ` Eric Bavier
2016-09-04 16:17 ` [PATCH 08/43] gnu: Add ghc-regex-applicative ng0
` (35 subsequent siblings)
41 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/haskell.scm (ghc-haskeline): 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 f3d43c4..8c6aee0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows POSIX systems
to interact with a variety of terminals using a standard set of capabilities.")
(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
+ `(("ghc-terminfo" ,ghc-terminfo)))
+ (home-page "https://github.com/judah/haskeline")
+ (synopsis "A command-line interface for user input, written in Haskell.")
+ (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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH 07/43] gnu: Add ghc-haskeline.
2016-09-04 16:17 ` [PATCH 07/43] gnu: Add ghc-haskeline ng0
@ 2016-09-06 3:27 ` Eric Bavier
2016-09-06 22:19 ` ng0
0 siblings, 1 reply; 54+ messages in thread
From: Eric Bavier @ 2016-09-06 3:27 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Sun, 4 Sep 2016 16:17:06 +0000
ng0 <ng0@we.make.ritual.n0.is> wrote:
> * gnu/packages/haskell.scm (ghc-haskeline): 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 f3d43c4..8c6aee0 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows POSIX systems
> to interact with a variety of terminals using a standard set of capabilities.")
> (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
> + `(("ghc-terminfo" ,ghc-terminfo)))
> + (home-page "https://github.com/judah/haskeline")
> + (synopsis "A command-line interface for user input, written in Haskell.")
^
Could you run these packages through 'guix lint'? It should warn about
the "A" at the beginning of a synopsis.
> + (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
While adding ghc packages in the past, I've tried to keep the packages
alphabetically sorted. I'm not sure whether there's concensus on doing
that. We have 'guix edit', but for catch-all modules like (gnu
packages haskell) I think it's still nice to have some semblance of
order. We added a plea message at the top of gnu/packages/python.scm;
maybe we should add one to gnu/packages/haskell.scm. What do others
think?
`~Eric
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 07/43] gnu: Add ghc-haskeline.
2016-09-06 3:27 ` Eric Bavier
@ 2016-09-06 22:19 ` ng0
2016-09-08 23:23 ` ng0
0 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-06 22:19 UTC (permalink / raw)
To: Eric Bavier; +Cc: guix-devel
Eric Bavier <ericbavier@openmailbox.org> writes:
> On Sun, 4 Sep 2016 16:17:06 +0000
> ng0 <ng0@we.make.ritual.n0.is> wrote:
>
>> * gnu/packages/haskell.scm (ghc-haskeline): 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 f3d43c4..8c6aee0 100644
>> --- a/gnu/packages/haskell.scm
>> +++ b/gnu/packages/haskell.scm
>> @@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows POSIX systems
>> to interact with a variety of terminals using a standard set of capabilities.")
>> (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
>> + `(("ghc-terminfo" ,ghc-terminfo)))
>> + (home-page "https://github.com/judah/haskeline")
>> + (synopsis "A command-line interface for user input, written in Haskell.")
> ^
> Could you run these packages through 'guix lint'? It should warn about
> the "A" at the beginning of a synopsis.
Okay, thanks for spotting it.
>> + (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
>
> While adding ghc packages in the past, I've tried to keep the packages
> alphabetically sorted. I'm not sure whether there's concensus on doing
> that. We have 'guix edit', but for catch-all modules like (gnu
> packages haskell) I think it's still nice to have some semblance of
> order. We added a plea message at the top of gnu/packages/python.scm;
> maybe we should add one to gnu/packages/haskell.scm. What do others
> think?
>
> `~Eric
I find it time consuming to search for the place in a file the length of
perl.scm, haskell.scm, python.scm to fit in my packages.
I think for haskell this was not 100% sorted, for perl there's almost
A-Z sorting.
It's nice to have, but the more these files grow, the more time you
spend with correcting the commits where the A-Z plea message was
ignored or overlooked.
If all of them were sorted and it would be pointed out in
"Documentation > Contributing" I'd agree, but at the moment I won't fix
this patch series.
Usually for these long files I just do an "M-g g 80000" to jump to the
very end.
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 07/43] gnu: Add ghc-haskeline.
2016-09-06 22:19 ` ng0
@ 2016-09-08 23:23 ` ng0
0 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-08 23:23 UTC (permalink / raw)
To: Eric Bavier; +Cc: guix-devel
ng0 <ng0@we.make.ritual.n0.is> writes:
> Eric Bavier <ericbavier@openmailbox.org> writes:
>
>> On Sun, 4 Sep 2016 16:17:06 +0000
>> ng0 <ng0@we.make.ritual.n0.is> wrote:
>>
>>> * gnu/packages/haskell.scm (ghc-haskeline): 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 f3d43c4..8c6aee0 100644
>>> --- a/gnu/packages/haskell.scm
>>> +++ b/gnu/packages/haskell.scm
>>> @@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows POSIX systems
>>> to interact with a variety of terminals using a standard set of capabilities.")
>>> (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
>>> + `(("ghc-terminfo" ,ghc-terminfo)))
>>> + (home-page "https://github.com/judah/haskeline")
>>> + (synopsis "A command-line interface for user input, written in Haskell.")
>> ^
>> Could you run these packages through 'guix lint'? It should warn about
>> the "A" at the beginning of a synopsis.
>
> Okay, thanks for spotting it.
>
>>> + (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
>>
>> While adding ghc packages in the past, I've tried to keep the packages
>> alphabetically sorted. I'm not sure whether there's concensus on doing
>> that. We have 'guix edit', but for catch-all modules like (gnu
>> packages haskell) I think it's still nice to have some semblance of
>> order. We added a plea message at the top of gnu/packages/python.scm;
>> maybe we should add one to gnu/packages/haskell.scm. What do others
>> think?
>>
>> `~Eric
>
> I find it time consuming to search for the place in a file the length of
> perl.scm, haskell.scm, python.scm to fit in my packages.
>
> I think for haskell this was not 100% sorted, for perl there's almost
> A-Z sorting.
>
> It's nice to have, but the more these files grow, the more time you
> spend with correcting the commits where the A-Z plea message was
> ignored or overlooked.
> If all of them were sorted and it would be pointed out in
> "Documentation > Contributing" I'd agree, but at the moment I won't fix
> this patch series.
>
> Usually for these long files I just do an "M-g g 80000" to jump to the
> very end.
Just to add to this: I'm okay with this, I do it for perl and python
when I can, but this patchseries is just too long to shuffle it all
around for no actual improvement in code.
As the modules grow in lines of code, we should add this to
documentation that at least a first letter should be sorted
alphabetically, though it should not be an absolute requirement for
various reasons.
In my opinion if you search for a package name you will find out the
line and file where it starts, which is enough.
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH 08/43] gnu: Add ghc-regex-applicative.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (5 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 07/43] gnu: Add ghc-haskeline ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 09/43] gnu: Add ghc-regex-tdfa ng0
` (34 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 8c6aee0..d65bece 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6583,4 +6583,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
+ "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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 09/43] gnu: Add ghc-regex-tdfa.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (6 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 08/43] gnu: Add ghc-regex-applicative ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 10/43] gnu: Add ghc-regex-compat-tdfa ng0
` (33 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 d65bece..0b4ad6a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6609,4 +6609,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 10/43] gnu: Add ghc-regex-compat-tdfa.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (7 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 09/43] gnu: Add ghc-regex-tdfa ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 11/43] gnu: Add ghc-tasty-th ng0
` (32 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 0b4ad6a..421d3a8 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6633,4 +6633,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 regex-tdfa to replace Text.Regex. 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 11/43] gnu: Add ghc-tasty-th.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (8 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 10/43] gnu: Add ghc-regex-compat-tdfa ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 12/43] gnu: Add ghc-sandi ng0
` (31 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 421d3a8..7208fb4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6659,4 +6659,26 @@ is not good for Unicode users. This modified regex-compat uses regex-tdfa
to solve 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 12/43] gnu: Add ghc-sandi.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (9 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 11/43] gnu: Add ghc-tasty-th ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 13/43] gnu: Add ghc-bytestring-handle ng0
` (30 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 7208fb4..815af32 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6681,4 +6681,32 @@ to solve this problem.")
"Generate tasty TestTrees automatically with TemplateHaskell.")
(license license:bsd-3)))
+(define-public ghc-sandi
+ (package
+ (name "ghc-sandi")
+ (version "0.3.6") ; darcs-2.12.0 needs version < 0.4.0
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/sandi/sandi-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1112pxbp41bnvn8yy90404rrl7q5qdifyfa2wj6j65wa3d8b7z7s"))))
+ (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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 13/43] gnu: Add ghc-bytestring-handle.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (10 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 12/43] gnu: Add ghc-sandi ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 14/43] gnu: Add ghc-tar ng0
` (29 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 815af32..0940dd5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6709,4 +6709,29 @@ to solve 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 14/43] gnu: Add ghc-tar.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (11 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 13/43] gnu: Add ghc-bytestring-handle ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 15/43] gnu: Add ghc-transformers ng0
` (28 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 0940dd5..8236ddb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6734,4 +6734,36 @@ to solve 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 15/43] gnu: Add ghc-transformers.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (12 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 14/43] gnu: Add ghc-tar ng0
@ 2016-09-04 16:17 ` ng0
2016-09-05 11:48 ` ng0
2016-09-04 16:17 ` [PATCH 16/43] gnu: Add ghc-findbin ng0
` (27 subsequent siblings)
41 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 8236ddb..7e65b52 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6766,4 +6766,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH 15/43] gnu: Add ghc-transformers.
2016-09-04 16:17 ` [PATCH 15/43] gnu: Add ghc-transformers ng0
@ 2016-09-05 11:48 ` ng0
0 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-05 11:48 UTC (permalink / raw)
To: guix-devel
This is a complete new language for me.
Through updating ghc to 8.0.1 I learned this is part of ghc itself, is
this correct?
Installing library in
/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/lib/ghc-8.0.1/transformers-0.5.2.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/xhtml dist-install "strip" '' '/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr' '/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/lib/ghc-8.0.1' '/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/share/doc/ghc-8.0.1/html/libraries' 'v p dyn'
ng0 <ng0@we.make.ritual.n0.is> writes:
> * 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 8236ddb..7e65b52 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -6766,4 +6766,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.9.3
>
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH 16/43] gnu: Add ghc-findbin.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (13 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 15/43] gnu: Add ghc-transformers ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 17/43] gnu: Add ghc-patience ng0
` (26 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 7e65b52..ae4ef0d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6795,4 +6795,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 17/43] gnu: Add ghc-patience.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (14 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 16/43] gnu: Add ghc-findbin ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 18/43] gnu: Add ghc-monads-tf ng0
` (25 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 ae4ef0d..bdbd70b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6818,4 +6818,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 18/43] gnu: Add ghc-monads-tf.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (15 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 17/43] gnu: Add ghc-patience ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 19/43] gnu: Add ghc-bytestring ng0
` (24 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 bdbd70b..6171e06 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6842,4 +6842,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 19/43] gnu: Add ghc-bytestring.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (16 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 18/43] gnu: Add ghc-monads-tf ng0
@ 2016-09-04 16:17 ` ng0
2016-09-05 20:37 ` Leo Famulari
2016-09-04 16:17 ` [PATCH 20/43] gnu: Add ghc-colour ng0
` (23 subsequent siblings)
41 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 6171e06..e77446c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6865,4 +6865,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH 19/43] gnu: Add ghc-bytestring.
2016-09-04 16:17 ` [PATCH 19/43] gnu: Add ghc-bytestring ng0
@ 2016-09-05 20:37 ` Leo Famulari
2016-09-06 22:22 ` ng0
0 siblings, 1 reply; 54+ messages in thread
From: Leo Famulari @ 2016-09-05 20:37 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Sun, Sep 04, 2016 at 04:17:18PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-bytestring): New variable.
> + (arguments
> + `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
I have used `strace -f` to check if long-running quiet tests are
actually working or if they are stuck. That could help here.
And, if it's stuck, can you ask upstream if it's a bug?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 19/43] gnu: Add ghc-bytestring.
2016-09-05 20:37 ` Leo Famulari
@ 2016-09-06 22:22 ` ng0
2016-09-07 2:35 ` Leo Famulari
0 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-06 22:22 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Sun, Sep 04, 2016 at 04:17:18PM +0000, ng0 wrote:
>> * gnu/packages/haskell.scm (ghc-bytestring): New variable.
>
>> + (arguments
>> + `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
>
> I have used `strace -f` to check if long-running quiet tests are
> actually working or if they are stuck. That could help here.
How did you do this in the build?
Or did you, what I suspect and would do, just run it without the guix
build, the "normal" way?
> And, if it's stuck, can you ask upstream if it's a bug?
Yes, of course.
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 19/43] gnu: Add ghc-bytestring.
2016-09-06 22:22 ` ng0
@ 2016-09-07 2:35 ` Leo Famulari
0 siblings, 0 replies; 54+ messages in thread
From: Leo Famulari @ 2016-09-07 2:35 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 06, 2016 at 10:22:42PM +0000, ng0 wrote:
> Leo Famulari <leo@famulari.name> writes:
>
> > On Sun, Sep 04, 2016 at 04:17:18PM +0000, ng0 wrote:
> >> * gnu/packages/haskell.scm (ghc-bytestring): New variable.
> >
> >> + (arguments
> >> + `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
> >
> > I have used `strace -f` to check if long-running quiet tests are
> > actually working or if they are stuck. That could help here.
>
> How did you do this in the build?
> Or did you, what I suspect and would do, just run it without the guix
> build, the "normal" way?
I do it by attaching to the guix-daemon after learning it's PID:
$ pgrep guix-daemon
30606
$ strace -f -p 30606 -o /tmp/logfile
Then I do `guix build` from another terminal.
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH 20/43] gnu: Add ghc-colour.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (17 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 19/43] gnu: Add ghc-bytestring ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 21/43] gnu: Add ghc-directory ng0
` (22 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 e77446c..a1bb501 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6902,4 +6902,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 21/43] gnu: Add ghc-directory.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (18 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 20/43] gnu: Add ghc-colour ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 22/43] gnu: Add ghc-process ng0
` (21 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 a1bb501..c7b36e0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6924,4 +6924,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 22/43] gnu: Add ghc-process.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (19 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 21/43] gnu: Add ghc-directory ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 23/43] gnu: Add ghc-wl-pprint-text ng0
` (20 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 c7b36e0..486dbb2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6945,4 +6945,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 23/43] gnu: Add ghc-wl-pprint-text.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (20 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 22/43] gnu: Add ghc-process ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 24/43] gnu: ghc-fgl: Update to 5.5.3.0 ng0
` (19 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 486dbb2..3e2b315 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6965,4 +6965,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 24/43] gnu: ghc-fgl: Update to 5.5.3.0.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (21 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 23/43] gnu: Add ghc-wl-pprint-text ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 25/43] gnu: Add ghc-fgl-arbitrary ng0
` (18 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 3e2b315..db983df 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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 25/43] gnu: Add ghc-fgl-arbitrary.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (22 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 24/43] gnu: ghc-fgl: Update to 5.5.3.0 ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 26/43] gnu: Add ghc-graphviz ng0
` (17 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 db983df..cd02060 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6990,4 +6990,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 26/43] gnu: Add ghc-graphviz.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (23 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 25/43] gnu: Add ghc-fgl-arbitrary ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 27/43] gnu: Add ghc-array ng0
` (16 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 cd02060..40ce46b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7017,4 +7017,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 27/43] gnu: Add ghc-array.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (24 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 26/43] gnu: Add ghc-graphviz ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 28/43] gnu: Add ghc-findbin ng0
` (15 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 40ce46b..1b4e10d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7059,4 +7059,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 28/43] gnu: Add ghc-findbin.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (25 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 27/43] gnu: Add ghc-array ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 29/43] gnu: Add ghc-constraints ng0
` (14 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 1b4e10d..6d22964 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7082,4 +7082,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 29/43] gnu: Add ghc-constraints.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (26 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 28/43] gnu: Add ghc-findbin ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 30/43] gnu: Add ghc-lifted-async ng0
` (13 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 6d22964..08f9dd2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7106,4 +7106,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 30/43] gnu: Add ghc-lifted-async.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (27 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 29/43] gnu: Add ghc-constraints ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 31/43] gnu: Add ghc-system-filepath-bootstrap ng0
` (12 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 08f9dd2..39c9667 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7132,4 +7132,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 31/43] gnu: Add ghc-system-filepath-bootstrap.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (28 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 30/43] gnu: Add ghc-lifted-async ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 32/43] gnu: Add ghc-system-fileio-bootstrap ng0
` (11 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 39c9667..d7b40fb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7164,4 +7164,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 32/43] gnu: Add ghc-system-fileio-bootstrap.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (29 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 31/43] gnu: Add ghc-system-filepath-bootstrap ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 33/43] gnu: Add ghc-shelly ng0
` (10 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 d7b40fb..0599947 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7195,4 +7195,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 33/43] gnu: Add ghc-shelly.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (30 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 32/43] gnu: Add ghc-system-fileio-bootstrap ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 34/43] gnu: Add ghc-options-bootstrap ng0
` (9 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 0599947..7e9cb51 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7227,4 +7227,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 34/43] gnu: Add ghc-options-bootstrap.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (31 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 33/43] gnu: Add ghc-shelly ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 35/43] gnu: Add ghc-chell ng0
` (8 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 7e9cb51..aa46e20 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7263,4 +7263,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 35/43] gnu: Add ghc-chell.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (32 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 34/43] gnu: Add ghc-options-bootstrap ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap ng0
` (7 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 aa46e20..96c2f70 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7289,4 +7289,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (33 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 35/43] gnu: Add ghc-chell ng0
@ 2016-09-04 16:17 ` ng0
2016-09-05 20:36 ` Leo Famulari
2016-09-04 16:17 ` [PATCH 37/43] gnu: Add ghc-chell-quickcheck ng0
` (6 subsequent siblings)
41 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 96c2f70..2cea761 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7318,4 +7318,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap.
2016-09-04 16:17 ` [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap ng0
@ 2016-09-05 20:36 ` Leo Famulari
2016-09-06 22:24 ` ng0
0 siblings, 1 reply; 54+ messages in thread
From: Leo Famulari @ 2016-09-05 20:36 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Sun, Sep 04, 2016 at 04:17:35PM +0000, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-chell-quickcheck-bootstrap): New variable.
> + (arguments
> + `(#:tests? #f))
This will need a comment explaining why.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap.
2016-09-05 20:36 ` Leo Famulari
@ 2016-09-06 22:24 ` ng0
2016-09-07 2:36 ` Leo Famulari
0 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-06 22:24 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Sun, Sep 04, 2016 at 04:17:35PM +0000, ng0 wrote:
>> * gnu/packages/haskell.scm (ghc-chell-quickcheck-bootstrap): New variable.
>
>> + (arguments
>> + `(#:tests? #f))
>
> This will need a comment explaining why.
Isn't the long comment some commits above enough? Or did I leave out
what the problem with ghc-chell-quickcheck is?
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap.
2016-09-06 22:24 ` ng0
@ 2016-09-07 2:36 ` Leo Famulari
0 siblings, 0 replies; 54+ messages in thread
From: Leo Famulari @ 2016-09-07 2:36 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 06, 2016 at 10:24:16PM +0000, ng0 wrote:
> Leo Famulari <leo@famulari.name> writes:
>
> > On Sun, Sep 04, 2016 at 04:17:35PM +0000, ng0 wrote:
> >> * gnu/packages/haskell.scm (ghc-chell-quickcheck-bootstrap): New variable.
> >
> >> + (arguments
> >> + `(#:tests? #f))
> >
> > This will need a comment explaining why.
>
> Isn't the long comment some commits above enough? Or did I leave out
> what the problem with ghc-chell-quickcheck is?
Oh, I missed that this package was connected to the earlier explanation.
It's okay then.
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH 37/43] gnu: Add ghc-chell-quickcheck.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (34 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 36/43] gnu: Add ghc-chell-quickcheck-bootstrap ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 38/43] gnu: Add ghc-options ng0
` (5 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 2cea761..7263a94 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7343,4 +7343,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 38/43] gnu: Add ghc-options.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (35 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 37/43] gnu: Add ghc-chell-quickcheck ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 39/43] gnu: Add ghc-system-filepath ng0
` (4 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 7263a94..3cb36ee 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7367,4 +7367,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 39/43] gnu: Add ghc-system-filepath.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (36 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 38/43] gnu: Add ghc-options ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 40/43] gnu: Add ghc-system-fileio ng0
` (3 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 3cb36ee..730f616 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7392,4 +7392,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 40/43] gnu: Add ghc-system-fileio.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (37 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 39/43] gnu: Add ghc-system-filepath ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 41/43] gnu: Add ghc-transformers@0.4.2.0 ng0
` (2 subsequent siblings)
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 730f616..7994c79 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7419,4 +7419,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 41/43] gnu: Add ghc-transformers@0.4.2.0.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (38 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 40/43] gnu: Add ghc-system-fileio ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 42/43] gnu: Add ghc-directory@1.2.2.0 ng0
2016-09-04 16:17 ` [PATCH 43/43] gnu: Add darcs ng0
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 7994c79..6212fee 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6798,6 +6798,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 42/43] gnu: Add ghc-directory@1.2.2.0.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (39 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 41/43] gnu: Add ghc-transformers@0.4.2.0 ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:17 ` [PATCH 43/43] gnu: Add darcs ng0
41 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 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 6212fee..f68108e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7460,4 +7460,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.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH 43/43] gnu: Add darcs.
2016-09-04 16:17 [PATCH 01/43] gnu: Add ghc-base16-bytestring ng0
` (40 preceding siblings ...)
2016-09-04 16:17 ` [PATCH 42/43] gnu: Add ghc-directory@1.2.2.0 ng0
@ 2016-09-04 16:17 ` ng0
2016-09-04 16:37 ` ng0
41 siblings, 1 reply; 54+ messages in thread
From: ng0 @ 2016-09-04 16:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/version-control.scm (darcs): New variable.
---
gnu/packages/version-control.scm | 73 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9ff9801..caca52c 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)
@@ -1225,3 +1227,74 @@ 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)))
+
+(define-public darcs
+ (package
+ (name "darcs")
+ (version "2.12.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/darcs/"
+ "darcs-" version ".tar.gz"))
+ (sha256
+ (base32
+ "139hh9sxg0pkkgnmx5711i2ffj5462mw5zsb1ah1ljya94dqsc8p"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:configure-flags '("-fpkgconfig" "-flibiconv")))
+ (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)
+ ("curl" ,curl)
+ ("ghc" ,ghc) ; 7.10.2
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("libiconv" ,libiconv)
+ ("ghc-network" ,ghc-network)
+ ("ghc-network-uri" ,ghc-network-uri)))
+ (home-page "http://darcs.net")
+ (synopsis "Moar pandahats!")
+ (description
+ "Vote Cthulhu!")
+ (license license:gpl2)))
--
2.9.3
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH 43/43] gnu: Add darcs.
2016-09-04 16:17 ` [PATCH 43/43] gnu: Add darcs ng0
@ 2016-09-04 16:37 ` ng0
0 siblings, 0 replies; 54+ messages in thread
From: ng0 @ 2016-09-04 16:37 UTC (permalink / raw)
To: guix-devel
Build environment and log file can be found at
https://dl.n0.is/debug/darcs/ , see https://tor.n0.is for tor access.
I require help of people with more experience in haskell debugging, this
is my first haskell package (series).
ng0 <ng0@we.make.ritual.n0.is> writes:
> * gnu/packages/version-control.scm (darcs): New variable.
> ---
> gnu/packages/version-control.scm | 73 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 73 insertions(+)
>
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index 9ff9801..caca52c 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)
> @@ -1225,3 +1227,74 @@ 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)))
> +
> +(define-public darcs
> + (package
> + (name "darcs")
> + (version "2.12.0")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "https://hackage.haskell.org/package/darcs/"
> + "darcs-" version ".tar.gz"))
> + (sha256
> + (base32
> + "139hh9sxg0pkkgnmx5711i2ffj5462mw5zsb1ah1ljya94dqsc8p"))))
> + (build-system haskell-build-system)
> + (arguments
> + `(#:configure-flags '("-fpkgconfig" "-flibiconv")))
> + (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)
> + ("curl" ,curl)
> + ("ghc" ,ghc) ; 7.10.2
> + ("perl" ,perl)
> + ("pkg-config" ,pkg-config)
> + ("libiconv" ,libiconv)
> + ("ghc-network" ,ghc-network)
> + ("ghc-network-uri" ,ghc-network-uri)))
> + (home-page "http://darcs.net")
> + (synopsis "Moar pandahats!")
> + (description
> + "Vote Cthulhu!")
> + (license license:gpl2)))
> --
> 2.9.3
>
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 54+ messages in thread