[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
244/272: gnu: Add ghc-tree-diff.
From: |
Ricardo Wurmus |
Subject: |
244/272: gnu: Add ghc-tree-diff. |
Date: |
Mon, 1 Oct 2018 06:13:55 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c6cf0eb5fb7bd1a77164293b727d1bc0d678d64c
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")
- 225/272: gnu: Add ghc-echo., (continued)
- 225/272: gnu: Add ghc-echo., Ricardo Wurmus, 2018/10/01
- 221/272: gnu: ghc-yaml: Update to 0.8.32., Ricardo Wurmus, 2018/10/01
- 218/272: gnu: ghc-vector-builder: Update to 0.3.6., Ricardo Wurmus, 2018/10/01
- 237/272: gnu: ghc-persistent-template: Update to 2.5.4., Ricardo Wurmus, 2018/10/01
- 231/272: gnu: ghc-feed: Update to 1.0.0.0., Ricardo Wurmus, 2018/10/01
- 228/272: gnu: Add ghc-hackage-security., Ricardo Wurmus, 2018/10/01
- 229/272: gnu: Add ghc-resolv., Ricardo Wurmus, 2018/10/01
- 238/272: gnu: ghc-trifecta: Update to 2., Ricardo Wurmus, 2018/10/01
- 245/272: gnu: ghc-aws: Update to 0.20., Ricardo Wurmus, 2018/10/01
- 240/272: gnu: ghc-warp-tls: Update to 3.2.4.3., Ricardo Wurmus, 2018/10/01
- 244/272: gnu: Add ghc-tree-diff.,
Ricardo Wurmus <=
- 248/272: gnu: ghc-yesod-persistent: Update to 1.6.0., Ricardo Wurmus, 2018/10/01
- 271/272: gnu: ghc-aws: Fix build., Ricardo Wurmus, 2018/10/01
- 250/272: gnu: ghc-pandoc: Adjust tests and test dependency constraints., Ricardo Wurmus, 2018/10/01
- 254/272: gnu: ghc-yesod: Update to 1.6.0., Ricardo Wurmus, 2018/10/01
- 252/272: gnu: ghc-haddock: Update to 2.19.0.1., Ricardo Wurmus, 2018/10/01
- 269/272: gnu: ghc-wave: Fix build., Ricardo Wurmus, 2018/10/01
- 266/272: gnu: ghc-indents: Fix build., Ricardo Wurmus, 2018/10/01
- 259/272: gnu: Add ghc-linear., Ricardo Wurmus, 2018/10/01