guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 13/43] gnu: ghc-old-time: Add variable.


From: Efraim Flashner
Subject: Re: [PATCH 13/43] gnu: ghc-old-time: Add variable.
Date: Fri, 16 Oct 2015 16:29:00 +0300

On Thu, 15 Oct 2015 14:21:07 +0200
Paul van der Walt <address@hidden> wrote:

> * gnu/packages/haskell.scm (ghc-old-time): New variable.
> ---
>  gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 7950d7e..2b607d1 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -386,6 +386,42 @@ provides instances for types from the base,
> containers, dlist and old-locale packages.")
>      (license bsd-3)))
>  
> +(define-public ghc-old-time
> +  (package
> +    (name "ghc-old-time")
> +    (version "1.1.0.3")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "http://hackage.haskell.org/package/old-time/old-time-";
> +             version
> +             ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
> +    (build-system haskell-build-system)
> +    (arguments
> +     `(#:phases
> +       (alist-cons-before
> +        'configure 'fix-/bin/sh
> +        (lambda _
> +          ;; Use `sh', not `/bin/sh'.
> +          (substitute* (find-files "." "Makefile|configure")
> +            (("/bin/sh")
> +             "sh")))
> +        %standard-phases)))
> +    (propagated-inputs
> +     `(("ghc-old-locale" ,ghc-old-locale)))
> +    (home-page
> +     "http://hackage.haskell.org/package/old-time";)
> +    (synopsis "Time library")
> +    (description
> +     "Package for backwards compatibility with the old time library.  For 
> new 
> +projects, the newer <http://hackage.haskell.org/package/time> time library is
                       ^^^
I think we have a new way of writing urls (and code) so they look all 
fancylike, but I'm not sure about the syntax.
> +recommended.")
> +    (license bsd-3)))
> +
>  (define-public ghc-data-default-instances-old-locale
>    (package
>      (name "ghc-data-default-instances-old-locale")



-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: pgpxu4kNoLhJL.pgp
Description: OpenPGP digital signature


reply via email to

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