[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/257: gnu: Add ghc-newtype-generics.
From: |
Ricardo Wurmus |
Subject: |
141/257: gnu: Add ghc-newtype-generics. |
Date: |
Thu, 27 Sep 2018 15:47:16 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 687d055860c57df1fa48637a6186bbfad611ee51
Author: Timothy Sample <address@hidden>
Date: Sat Sep 1 00:00:06 2018 -0400
gnu: Add ghc-newtype-generics.
* gnu/packages/haskell.scm (ghc-newtype-generics): 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 3a607bf..5c49e90 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -823,6 +823,32 @@ code pages on Windows. On all other operating systems,
the library does
nothing.")
(license license:bsd-3)))
+(define-public ghc-newtype-generics
+ (package
+ (name "ghc-newtype-generics")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "newtype-generics/newtype-generics-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "http://github.com/sjakobi/newtype-generics")
+ (synopsis "Typeclass and set of functions for working with newtypes")
+ (description "The @code{Newtype} typeclass represents the packing and
+unpacking of a newtype, and allows you to operate under that newtype with
+functions such as @code{ala}. Generics support was added in version 0.4,
+making this package a full replacement for the original newtype package,
+and an alternative to newtype-th.")
+ (license license:bsd-3)))
+
(define-public ghc-haddock-library
(package
(name "ghc-haddock-library")
- 181/257: gnu: ghc-http-date: Update to 0.0.8., (continued)
- 181/257: gnu: ghc-http-date: Update to 0.0.8., Ricardo Wurmus, 2018/09/27
- 161/257: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck., Ricardo Wurmus, 2018/09/27
- 155/257: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/09/27
- 156/257: gnu: ghc-network: Update to 2.6.3.6., Ricardo Wurmus, 2018/09/27
- 150/257: gnu: ghc-distributive: Update Cabal file to r6., Ricardo Wurmus, 2018/09/27
- 180/257: gnu: ghc-hslua: Update to 0.9.5.2., Ricardo Wurmus, 2018/09/27
- 146/257: gnu: ghc-openglraw: Update to 3.3.1.0., Ricardo Wurmus, 2018/09/27
- 145/257: gnu: Add ghc-memotrie., Ricardo Wurmus, 2018/09/27
- 143/257: gnu: ghc-doctest: Update to 0.16.0., Ricardo Wurmus, 2018/09/27
- 144/257: gnu: ghc-fgl-arbitrary: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/09/27
- 141/257: gnu: Add ghc-newtype-generics.,
Ricardo Wurmus <=
- 142/257: gnu: ghc-unliftio: Update to 0.2.7.0., Ricardo Wurmus, 2018/09/27
- 138/257: gnu: ghc-generic-deriving: Update to 1.12.2., Ricardo Wurmus, 2018/09/27
- 137/257: gnu: ghc-fgl: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/09/27
- 132/257: gnu: ghc-securemem: Update to 0.1.10., Ricardo Wurmus, 2018/09/27
- 129/257: gnu: ghc-blaze-html: Update to 0.9.1.1., Ricardo Wurmus, 2018/09/27
- 120/257: gnu: ghc-blaze-markup: Update to 0.8.2.1., Ricardo Wurmus, 2018/09/27
- 114/257: gnu: ghc-tasty: Update to 1.1.0.3., Ricardo Wurmus, 2018/09/27
- 124/257: gnu: ghc-hourglass: Update to 0.2.12., Ricardo Wurmus, 2018/09/27
- 122/257: gnu: ghc-cryptohash-md5: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 108/257: gnu: ghc-glob: Update to 0.9.2., Ricardo Wurmus, 2018/09/27