[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
244/257: gnu: Add ghc-tree-diff.
From: |
Ricardo Wurmus |
Subject: |
244/257: gnu: Add ghc-tree-diff. |
Date: |
Thu, 27 Sep 2018 15:47:38 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 4d3be8afde1fd9c2f981caeea25de810243bef1c
Author: Timothy Sample <address@hidden>
Date: Sat Sep 1 00:18:38 2018 -0400
gnu: Add ghc-tree-diff.
* gnu/packages/haskell.scm (ghc-tree-diff): New variable.
---
gnu/packages/haskell.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a373de8..ed83ece 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -872,6 +872,66 @@ and an alternative to newtype-th.")
efficient memo functions using tries.")
(license license:bsd-3)))
+(define-public ghc-tree-diff
+ (package
+ (name "ghc-tree-diff")
+ (version "0.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/tree-diff/tree-diff-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "049v44c520jy3icxlnrvbdblh3mjmvd7m6qmkzxbzkf02x63xqmz"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:cabal-revision
+ ("4" "1rqxxyj6hqllahs11693g855cxz8mgnb490s7j1ksd300i5xgjsp")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "tree-diff.cabal"
+ (("trifecta >=1\\.7\\.1\\.1 && <1\\.8")
+ "trifecta >=1.7.1.1 && <=2")))))))
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
+ ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+ ("ghc-base-compat" ,ghc-base-compat)
+ ("ghc-generics-sop" ,ghc-generics-sop)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-memotrie" ,ghc-memotrie)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-parsers" ,ghc-parsers)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-text" ,ghc-text)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-uuid-types" ,ghc-uuid-types)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-base-compat" ,ghc-base-compat)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+ ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-trifecta" ,ghc-trifecta)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-golden" ,ghc-tasty-golden)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+ (home-page "https://github.com/phadej/tree-diff")
+ (synopsis "Compute difference between (expression) trees")
+ (description "This Haskell library provides a function for computing
+the difference bewteen (expression) trees. It also provides a way to
+compute the difference between arbitrary abstract datatypes (ADTs) using
address@hidden helpers.")
+ (license license:bsd-3)))
+
(define-public ghc-haddock-library
(package
(name "ghc-haddock-library")
- 240/257: gnu: ghc-warp-tls: Update to 3.2.4.3., (continued)
- 240/257: gnu: ghc-warp-tls: Update to 3.2.4.3., Ricardo Wurmus, 2018/09/27
- 231/257: gnu: ghc-feed: Update to 1.0.0.0., Ricardo Wurmus, 2018/09/27
- 245/257: gnu: ghc-aws: Update to 0.20., Ricardo Wurmus, 2018/09/27
- 134/257: gnu: ghc-highlighting-kate: Update to 0.6.4., Ricardo Wurmus, 2018/09/27
- 237/257: gnu: ghc-persistent-template: Update to 2.5.4., Ricardo Wurmus, 2018/09/27
- 217/257: gnu: ghc-wai-extra: Update to 3.0.24.2., Ricardo Wurmus, 2018/09/27
- 226/257: gnu: Add ghc-cryptohash-sha256., Ricardo Wurmus, 2018/09/27
- 248/257: gnu: ghc-yesod-persistent: Update to 1.6.0., Ricardo Wurmus, 2018/09/27
- 241/257: gnu: Add ghc-rio., Ricardo Wurmus, 2018/09/27
- 250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints., Ricardo Wurmus, 2018/09/27
- 244/257: gnu: Add ghc-tree-diff.,
Ricardo Wurmus <=
- 213/257: gnu: ghc-rebase: Update to 1.2.4., Ricardo Wurmus, 2018/09/27
- 233/257: gnu: ghc-persistent: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 239/257: gnu: Remove old versions of ghc-doctest., Ricardo Wurmus, 2018/09/27
- 227/257: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/09/27
- 232/257: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/09/27
- 234/257: gnu: ghc-warp: Update to 3.2.23., Ricardo Wurmus, 2018/09/27
- 222/257: gnu: ghc-monad-logger: Update to 0.3.29., Ricardo Wurmus, 2018/09/27
- 218/257: gnu: ghc-vector-builder: Update to 0.3.6., Ricardo Wurmus, 2018/09/27
- 236/257: gnu: ghc-chart: Update to 1.9., Ricardo Wurmus, 2018/09/27
- 219/257: gnu: ghc-foldl: Update to 1.4.3., Ricardo Wurmus, 2018/09/27