[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: Add ghc-path.
From: |
guix-commits |
Subject: |
04/12: gnu: Add ghc-path. |
Date: |
Fri, 19 Jul 2019 23:11:05 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit efc55bf6f3d2984dba00fbfa6f10a3e8f9e44146
Author: Brian Leung <address@hidden>
Date: Thu Jun 20 07:56:47 2019 +0200
gnu: Add ghc-path.
* gnu/packages/haskell.scm (ghc-path): New variable.
---
gnu/packages/haskell.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e2a7f20..9bbf087 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11652,6 +11652,45 @@ 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-path
+ (package
+ (name "ghc-path")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/path/path-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
+ (build-system haskell-build-system)
+ (arguments
+ ;; TODO: There are some Windows-related tests and modules that need to be
+ ;; danced around.
+ `(#:tests? #f
+ #:cabal-revision
+ ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-hashable" ,ghc-hashable)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-genvalidity" ,ghc-genvalidity)
+ ("ghc-genvalidity-property" ,ghc-genvalidity-property)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-validity" ,ghc-validity)))
+ (home-page
+ "http://hackage.haskell.org/package/path")
+ (synopsis "Support for well-typed paths")
+ (description "This package introduces a type for paths upholding useful
+invariants.")
+ (license license:bsd-3)))
+
(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, 2019/07/19
- 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 <=
- 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
- 12/12: gnu: Add ghc-hasktags., guix-commits, 2019/07/19