guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/154: gnu: Add ghc-old-locale.


From: Paul
Subject: 04/154: gnu: Add ghc-old-locale.
Date: Thu, 22 Oct 2015 16:14:35 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit d955f3cb26d8a193f14c64d5b21210908059f7d8
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 19:13:45 2015 +0200

    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.
---
 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 a6b16bd..a12f245 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]