From 6885ee012c18ae14c31e23ab07b0f5421b630c4a Mon Sep 17 00:00:00 2001 From: Federico Beffa 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