diff mbox

[2/5] gnu: Add ghc-data-accessor.

Message ID CAKrPhPPfJwt9xL78aY8g07fvHqhNFRxV0nsT2yVWgDeN7OOodw@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 25, 2016, 4:19 p.m. UTC

Comments

Ludovic Courtès Oct. 28, 2016, 1:42 p.m. UTC | #1
Federico Beffa <beffa@ieee.org> skribis:

> From 6885ee012c18ae14c31e23ab07b0f5421b630c4a Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Mon, 24 Oct 2016 17:30:50 +0200
> Subject: [PATCH 2/5] gnu: Add ghc-data-accessor.
>
> * gnu/packages/haskell.scm (ghc-data-accessor): New variable.

LGTM!

> +       (uri (string-append
> +             "https://hackage.haskell.org/package/data-accessor/data-accessor-"

Maybe we should consider adding a mirror://hackage in (guix download).

Ludo’.
Federico Beffa Oct. 31, 2016, 3:25 p.m. UTC | #2
On Fri, Oct 28, 2016 at 3:42 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Federico Beffa <beffa@ieee.org> skribis:
>> +       (uri (string-append
>> +             "https://hackage.haskell.org/package/data-accessor/data-accessor-"
>
> Maybe we should consider adding a mirror://hackage in (guix download).

Done in 442c2c99a5d15c46551d2da6b2d23a4e39d9c4f4.
Ludovic Courtès Oct. 31, 2016, 10:02 p.m. UTC | #3
Federico Beffa <beffa@ieee.org> skribis:

> On Fri, Oct 28, 2016 at 3:42 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>> Federico Beffa <beffa@ieee.org> skribis:
>>> +       (uri (string-append
>>> +             "https://hackage.haskell.org/package/data-accessor/data-accessor-"
>>
>> Maybe we should consider adding a mirror://hackage in (guix download).
>
> Done in 442c2c99a5d15c46551d2da6b2d23a4e39d9c4f4.

Thanks!

Ludo’.
diff mbox

Patch

From 6885ee012c18ae14c31e23ab07b0f5421b630c4a Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Mon, 24 Oct 2016 17:30:50 +0200
Subject: [PATCH 2/5] gnu: Add ghc-data-accessor.

* gnu/packages/haskell.scm (ghc-data-accessor): 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 a933162..41ae191 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7902,4 +7902,24 @@  monad, as well as a typeclass abstracting their common operations, and
 a set of wrappers to use the hash tables in the IO monad.")
     (license license:bsd-3)))
 
+(define-public ghc-data-accessor
+  (package
+    (name "ghc-data-accessor")
+    (version "0.2.2.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/data-accessor/data-accessor-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
+    (build-system haskell-build-system)
+    (home-page "http://www.haskell.org/haskellwiki/Record_access")
+    (synopsis
+     "Haskell utilities for accessing and manipulating fields of records")
+    (description "This package provides Haskell modules for accessing and
+manipulating fields of records.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.10.1