me
/
guix
Archived
1
0
Fork 0

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.
master
Paul van der Walt 2015-10-15 19:13:45 +02:00
parent ac426aa53b
commit 6a0add9c69
1 changed files with 23 additions and 1 deletions

View File

@ -362,6 +362,27 @@ package.")
package.") package.")
(license bsd-3))) (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 (define-public ghc-data-default-instances-old-locale
(package (package
(name "ghc-data-default-instances-old-locale") (name "ghc-data-default-instances-old-locale")
@ -377,7 +398,8 @@ package.")
(base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(propagated-inputs (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 (home-page
"http://hackage.haskell.org/package/data-default-instances-old-locale") "http://hackage.haskell.org/package/data-default-instances-old-locale")
(synopsis "Default instances for types in old-locale") (synopsis "Default instances for types in old-locale")