[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/272: gnu: Add ghc-newtype-generics.
From: |
Ricardo Wurmus |
Subject: |
141/272: gnu: Add ghc-newtype-generics. |
Date: |
Mon, 1 Oct 2018 06:13:34 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 073f5ae1fe78de76c46659e4c938f1b8ef84652a
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")
- 98/272: gnu: ghc-crypto-api: Update to 0.13.3., (continued)
- 98/272: gnu: ghc-crypto-api: Update to 0.13.3., Ricardo Wurmus, 2018/10/01
- 121/272: gnu: ghc-cookie: Update to 0.4.4., Ricardo Wurmus, 2018/10/01
- 123/272: gnu: ghc-cryptohash-sha1: Update Cabal file to r2., Ricardo Wurmus, 2018/10/01
- 126/272: gnu: ghc-tar: Update to 0.5.1.0., Ricardo Wurmus, 2018/10/01
- 125/272: gnu: ghc-integer-logarithms: Replace "--allow-newer" flag., Ricardo Wurmus, 2018/10/01
- 115/272: gnu: ghc-contravariant-extras: Update to 0.3.4., Ricardo Wurmus, 2018/10/01
- 135/272: gnu: ghc-base-orphans: Update to 0.7., Ricardo Wurmus, 2018/10/01
- 137/272: gnu: ghc-fgl: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/10/01
- 138/272: gnu: ghc-generic-deriving: Update to 1.12.2., Ricardo Wurmus, 2018/10/01
- 133/272: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies., Ricardo Wurmus, 2018/10/01
- 141/272: gnu: Add ghc-newtype-generics.,
Ricardo Wurmus <=
- 146/272: gnu: ghc-openglraw: Update to 3.3.1.0., Ricardo Wurmus, 2018/10/01
- 144/272: gnu: ghc-fgl-arbitrary: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/10/01
- 147/272: gnu: ghc-temporary: Update to 1.3., Ricardo Wurmus, 2018/10/01
- 143/272: gnu: ghc-doctest: Update to 0.16.0., Ricardo Wurmus, 2018/10/01
- 166/272: gnu: ghc-megaparsec: Update to 6.5.0., Ricardo Wurmus, 2018/10/01
- 155/272: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/10/01
- 163/272: gnu: ghc-comonad: Update to 5.0.4., Ricardo Wurmus, 2018/10/01
- 161/272: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck., Ricardo Wurmus, 2018/10/01
- 159/272: gnu: ghc-x509-store: Update to 1.6.6., Ricardo Wurmus, 2018/10/01
- 170/272: gnu: ghc-x509-system: Update to 1.6.6., Ricardo Wurmus, 2018/10/01