unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 2/5] gnu: Add ghc-data-accessor.
@ 2016-10-25 16:19 Federico Beffa
  2016-10-28 13:42 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Federico Beffa @ 2016-10-25 16:19 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0002-gnu-Add-ghc-data-accessor.patch --]
[-- Type: text/x-patch, Size: 1477 bytes --]

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/5] gnu: Add ghc-data-accessor.
  2016-10-25 16:19 [PATCH 2/5] gnu: Add ghc-data-accessor Federico Beffa
@ 2016-10-28 13:42 ` Ludovic Courtès
  2016-10-31 15:25   ` Federico Beffa
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-10-28 13:42 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/5] gnu: Add ghc-data-accessor.
  2016-10-28 13:42 ` Ludovic Courtès
@ 2016-10-31 15:25   ` Federico Beffa
  2016-10-31 22:02     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Federico Beffa @ 2016-10-31 15:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/5] gnu: Add ghc-data-accessor.
  2016-10-31 15:25   ` Federico Beffa
@ 2016-10-31 22:02     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-10-31 22:02 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-31 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-25 16:19 [PATCH 2/5] gnu: Add ghc-data-accessor Federico Beffa
2016-10-28 13:42 ` Ludovic Courtès
2016-10-31 15:25   ` Federico Beffa
2016-10-31 22:02     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).