diff options
author | Paul van der Walt <paul@denknerd.org> | 2015-10-15 19:13:45 +0200 |
---|---|---|
committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
commit | 6a0add9c6990f2e4c60f8786a31b69b47f1a7077 (patch) | |
tree | c04e42ec3209f965f67c89630996991ffc97e866 | |
parent | ac426aa53b335a01a17ba5e52dd3d8aa2ae5e8ba (diff) |
gnu: Add ghc-old-locale.
* gnu/packages/haskell.scm (ghc-old-locale): New variable.
* gnu/packages/haskell.scm (ghc-data-default-instances-old-locale):
Patch to use new package ghc-old-locale.
-rw-r--r-- | gnu/packages/haskell.scm | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a6b16bde16..a12f245e5d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -362,6 +362,27 @@ package.") package.") (license bsd-3))) +(define-public ghc-old-locale + (package + (name "ghc-old-locale") + (version "1.0.0.7") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/old-locale/old-locale-" + version + ".tar.gz")) + (sha256 + (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/old-locale") + (synopsis "Adapt to locale conventions") + (description + "This package provides the ability to adapt to locale conventions such as +date and time formats.") + (license bsd-3))) + (define-public ghc-data-default-instances-old-locale (package (name "ghc-data-default-instances-old-locale") @@ -377,7 +398,8 @@ package.") (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) (build-system haskell-build-system) (propagated-inputs - `(("ghc-data-default-class" ,ghc-data-default-class))) + `(("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-old-locale" ,ghc-old-locale))) (home-page "http://hackage.haskell.org/package/data-default-instances-old-locale") (synopsis "Default instances for types in old-locale") |