[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: Add ghc-validity.
From: |
guix-commits |
Subject: |
01/12: gnu: Add ghc-validity. |
Date: |
Fri, 19 Jul 2019 23:11:04 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit f26f2e757ff206a24bc2a0b49f9bb1c292a0971a
Author: Brian Leung <address@hidden>
Date: Thu Jun 20 07:55:34 2019 +0200
gnu: Add ghc-validity.
* gnu/packages/haskell.scm (ghc-validity): 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 a30b437..19cd39e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11563,6 +11563,32 @@ stand for certain ASCII character sequences, i.e. →
instead of @code{->},
∀ instead of @code{forall} and many others.")
(license license:bsd-3)))
+(define-public ghc-validity
+ (package
+ (name "ghc-validity")
+ (version "0.7.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/validity/validity-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0xribw98amafihw87ddajk6vlirp7w9b26lrnjgq7jfm4710j95f"))))
+ (build-system haskell-build-system)
+ (native-inputs `(("ghc-hspec" ,ghc-hspec)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page
+ "https://github.com/NorfairKing/validity")
+ (synopsis "Validity typeclass")
+ (description
+ "Values of custom types usually have invariants imposed upon them. This
+package provides the @code{Validity} type class, which makes these invariants
+explicit by providing a function to check whether the invariants hold.")
+ (license license:expat)))
+
(define-public ghc-stylish-haskell
(package
(name "ghc-stylish-haskell")
- branch master updated (3d33c93 -> 14e0ae7), guix-commits, 2019/07/19
- 01/12: gnu: Add ghc-validity.,
guix-commits <=
- 03/12: gnu: Add ghc-genvalidity-property., guix-commits, 2019/07/19
- 02/12: gnu: Add ghc-genvalidity., guix-commits, 2019/07/19
- 04/12: gnu: Add ghc-path., guix-commits, 2019/07/19
- 06/12: gnu: Add ghc-descriptive., guix-commits, 2019/07/19
- 08/12: gnu: Add ghc-hindent., guix-commits, 2019/07/19
- 05/12: gnu: Add ghc-path-io., guix-commits, 2019/07/19
- 07/12: gnu: Add ghc-exactprint., guix-commits, 2019/07/19
- 09/12: gnu: Add ghc-microlens-mtl., guix-commits, 2019/07/19
- 10/12: gnu: Add ghc-microlens-ghc., guix-commits, 2019/07/19
- 11/12: gnu: Add ghc-microlens-platform., guix-commits, 2019/07/19