diff options
author | Timothy Sample <samplet@ngyro.com> | 2019-10-31 23:00:36 -0400 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2019-11-20 20:48:21 -0500 |
commit | 75cfc9a2f15a9c348aab189372253444208a151f (patch) | |
tree | dfba182f8330bacc34dfe8b20d0df3c2dd252ec4 /gnu/packages/haskell-xyz.scm | |
parent | dcfb99d4cb88e210ecdf07e4a32914b0eef9949f (diff) | |
download | guix-patches-75cfc9a2f15a9c348aab189372253444208a151f.tar guix-patches-75cfc9a2f15a9c348aab189372253444208a151f.tar.gz |
gnu: Add ghc-time-compat.
* gnu/packages/haskell-xyz.scm (ghc-time-compat): New variable.
Diffstat (limited to 'gnu/packages/haskell-xyz.scm')
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 946948be99..e7276795a9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -10529,6 +10529,38 @@ datatypes reachable from an initial datatype, and passing these names to some function which generates instances.") (license license:bsd-3))) +(define-public ghc-time-compat + (package + (name "ghc-time-compat") + (version "1.9.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "time-compat/time-compat-" version ".tar.gz")) + (sha256 + (base32 + "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-base-compat" ,ghc-base-compat) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tagged" ,ghc-tagged) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (arguments + `(#:cabal-revision + ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r"))) + (home-page "https://github.com/phadej/time-compat") + (synopsis "Compatibility package for time") + (description "This packages tries to compat as many @code{time} +features as possible.") + (license license:bsd-3))) + (define-public ghc-time-locale-compat (package (name "ghc-time-locale-compat") |