guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCHES] gnu: Update ocaml; Add camlp5, hevea, and coq.


From: Ludovic Courtès
Subject: Re: [PATCHES] gnu: Update ocaml; Add camlp5, hevea, and coq.
Date: Thu, 04 Jun 2015 22:54:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> These patches update and improve our ocaml package, and add packages for
> camlp5, hevea, and coq.

Woow, nice!

> From f2b8ab36b2d3697b7a93b87bfcbcd0e91294c2e1 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <address@hidden>
> Date: Tue, 2 Jun 2015 22:49:10 -0400
> Subject: [PATCH 1/5] gnu: ocaml: Update to 4.02.1.
>
> * gnu/packages/ocaml.scm (ocaml)[version]: Update to 4.02.1.
>   [source]: Use 'version-major+minor'.  Use .xz tarball.
>   [home-page]: Update URI.
>   [license]: gpl2 -> lgpl2.0.
>   [inputs]: Add libx11, gcc:lib, and zlib.  Remove perl.
>   [native-inputs]: New field, with perl and pkg-config.
>   [arguments]: In #:modules, remove (srfi srfi-1), add (web server).  Use
>   'modify-phases'.  Enable parallel build.  Add 'patch-/bin/sh-references' and
>   'prepare-socket-test' phases.  Rename 'check-after-install' phase to
>   'check'.  Use 'with-directory-excursion' in 'check' phase.  Remove unused
>   keyword arguments from custom phases.

[...]

> +                       (format (current-error-port)
> +                               "Spawning local test web server on port 
> 8080~%")
> +                       (when (zero? (primitive-fork))
> +                         (run-server (lambda (request request-body)
> +                                       (values '((content-type . 
> (text/plain)))
> +                                               "Hello!"))
> +                                     'http '(#:port 8080)))

Excellent.  :-)

LGTM!

> From b9d2f69ef9b51fc8b987fe703e507bf3603b875a Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <address@hidden>
> Date: Sat, 30 May 2015 14:59:54 -0400
> Subject: [PATCH 2/5] gnu: Add camlp5.
>
> * gnu/packages/ocaml.scm (camlp5): New variable.

OK.

> +    (inputs
> +     `(("ocaml" ,ocaml)))

I suppose in theory it should be both a native input and an input, but
it doesn’t really matter in practice.


> From fb9fd9480762be66796df53e756b430551b88d3c Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <address@hidden>
> Date: Wed, 3 Jun 2015 03:21:43 -0400
> Subject: [PATCH 3/5] gnu: Add hevea.
>
> * gnu/packages/ocaml.scm (hevea): New variable.

OK.

> From f2ab73018cbaec826472dc0c162e5440fe00bcd9 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <address@hidden>
> Date: Wed, 3 Jun 2015 01:18:26 -0400
> Subject: [PATCH 4/5] licenses: Add the Open Publication License 1.0.
>
> * guix/licenses.scm (opl1.0+): New variable.

OK.

> From deb7f49fdce90f546b4fd0ee50290aa61c854ef0 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <address@hidden>
> Date: Sat, 30 May 2015 16:07:19 -0400
> Subject: [PATCH 5/5] gnu: Add coq.
>
> * gnu/packages/ocaml.scm (coq): New variable.

Wonderful!

Now we need ProofGeneral.  ;-)

Thank you!

Ludo’.



reply via email to

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