all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2.
@ 2019-01-22 16:11 Gabriel Hondet
  2019-01-22 16:25 ` [bug#34171] [PATCH 3/5] gnu: ocaml-cmdliner: Update to 1.0.2 Gabriel Hondet
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-22 16:11 UTC (permalink / raw)
  To: 34171

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]


* gnu/packages/ocaml.scm (ocaml-uchar): Update to 0.0.2.
---
 gnu/packages/ocaml.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index deba67c4d..3993424eb 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2269,14 +2269,14 @@ representation of the data.")
 (define-public ocaml-uchar
   (package
     (name "ocaml-uchar")
-    (version "0.0.1")
+    (version "0.0.2")
     (source
       (origin
         (method url-fetch)
         (uri (string-append "https://github.com/ocaml/uchar/releases/download/v"
                             version "/uchar-" version ".tbz"))
         (sha256 (base32
-                  "0ficw1x7ymbd6m8hqw3w1aycwm1hbwd6bad3c5pspwnzh3qlikhi"))))
+                  "1w2saw7zanf9m9ffvz2lvcxvlm118pws2x1wym526xmydhqpyfa7"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:tests? #f
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 3/5] gnu: ocaml-cmdliner: Update to 1.0.2.
  2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
@ 2019-01-22 16:25 ` Gabriel Hondet
  2019-01-23  7:18 ` [bug#34171] [PATCH 2/5] gnu: ocaml-fmt: Update to 0.8.5 Gabriel Hondet
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-22 16:25 UTC (permalink / raw)
  To: 34171

[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]

* gnu/packages/ocaml.scm (ocaml-cmdliner): Update to 1.0.2.
---
 gnu/packages/ocaml.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f1cc0f3e8..e975935d3 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1768,15 +1768,17 @@ spans without being subject to operating system calendar time adjustments.")
 (define-public ocaml-cmdliner
   (package
     (name "ocaml-cmdliner")
-    (version "0.9.8")
+    (version "1.0.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://erratique.ch/software/cmdliner/releases/"
                                   "cmdliner-" version ".tbz"))
               (sha256
                (base32
-                "0hdxlkgiwjml9dpaa80282a8350if7mc1m6yz2mrd7gci3fszykx"))))
+                "18jqphjiifljlh9jg8zpl6310p3iwyaqphdkmf89acyaix0s4kj1"))))
     (build-system ocaml-build-system)
+    (inputs
+     `(("ocaml-result" ,ocaml-result)))
     (native-inputs
      `(("ocamlbuild" ,ocamlbuild)
        ("opam" ,opam)))
@@ -1785,6 +1787,12 @@ spans without being subject to operating system calendar time adjustments.")
        #:build-flags '("native=true" "native-dynlink=true")
        #:phases
        (modify-phases %standard-phases
+         (replace 'install
+           ;; The makefile says 'adjust on cli invocation'
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (invoke "make" "install" (string-append "PREFIX=" out))
+               #t)))
          (delete 'configure))))
     (home-page "http://erratique.ch/software/cmdliner")
     (synopsis "Declarative definition of command line interfaces for OCaml")
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 2/5] gnu: ocaml-fmt: Update to 0.8.5.
  2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
  2019-01-22 16:25 ` [bug#34171] [PATCH 3/5] gnu: ocaml-cmdliner: Update to 1.0.2 Gabriel Hondet
@ 2019-01-23  7:18 ` Gabriel Hondet
  2019-01-23  7:21 ` [bug#34171] [PATCH 4/5] gnu: ocaml-logs: Update to 0.6.2 Gabriel Hondet
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-23  7:18 UTC (permalink / raw)
  To: 34171

[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]

Date: Tue, 22 Jan 2019 17:17:48 +0100
User-agent: mu4e 1.0; emacs 26.1
* gnu/packages/ocaml.scm (ocaml-fmt): Update to 0.8.5.
---
 gnu/packages/ocaml.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3993424eb..f1cc0f3e8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Peter Kreye <kreyepr@gmail.com>
-;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
+;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -1802,18 +1802,19 @@ most of the POSIX and GNU conventions.")
 (define-public ocaml-fmt
   (package
     (name "ocaml-fmt")
-    (version "0.8.0")
+    (version "0.8.5")
     (source
       (origin
         (method url-fetch)
         (uri (string-append "http://erratique.ch/software/fmt/releases/fmt-"
                             version ".tbz"))
         (sha256 (base32
-                  "16y7ibndnairb53j8a6qgipyqwjxncn4pl9jiw5bxjfjm59108px"))))
+                  "1zj9azcxcn6skmb69ykgmi9z8c50yskwg03wqgh87lypgjdcz060"))))
     (build-system ocaml-build-system)
     (native-inputs
      `(("ocamlbuild" ,ocamlbuild)
        ("opam" ,opam)
+       ("ocaml-uchar" ,ocaml-uchar)
        ("topkg" ,ocaml-topkg)))
     (propagated-inputs
      `(("result" ,ocaml-result)
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 4/5] gnu: ocaml-logs: Update to 0.6.2.
  2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
  2019-01-22 16:25 ` [bug#34171] [PATCH 3/5] gnu: ocaml-cmdliner: Update to 1.0.2 Gabriel Hondet
  2019-01-23  7:18 ` [bug#34171] [PATCH 2/5] gnu: ocaml-fmt: Update to 0.8.5 Gabriel Hondet
@ 2019-01-23  7:21 ` Gabriel Hondet
  2019-01-23  7:21 ` [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml Gabriel Hondet
  2019-01-23 21:02 ` bug#34171: [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Julien Lepiller
  4 siblings, 0 replies; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-23  7:21 UTC (permalink / raw)
  To: 34171

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

Date: Tue, 22 Jan 2019 17:39:07 +0100
User-agent: mu4e 1.0; emacs 26.1
* gnu/packages/ocaml.scm (ocaml-logs): Update to 0.6.2.
---
 gnu/packages/ocaml.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e975935d3..ca8f804ab 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2119,7 +2119,8 @@ ocaml lwt.")
      `(("ocamlbuild" ,ocamlbuild)
        ("opam" ,opam)))
     (propagated-inputs
-     `(("fmt" ,ocaml-fmt)
+     `(("ocaml-uchar" ,ocaml-uchar)
+       ("fmt" ,ocaml-fmt)
        ("lwt" ,ocaml-lwt)
        ("mtime" ,ocaml-mtime)
        ("result" ,ocaml-result)
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml.
  2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
                   ` (2 preceding siblings ...)
  2019-01-23  7:21 ` [bug#34171] [PATCH 4/5] gnu: ocaml-logs: Update to 0.6.2 Gabriel Hondet
@ 2019-01-23  7:21 ` Gabriel Hondet
  2019-01-23  7:54   ` Julien Lepiller
  2019-01-23 21:02 ` bug#34171: [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Julien Lepiller
  4 siblings, 1 reply; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-23  7:21 UTC (permalink / raw)
  To: 34171

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

Date: Tue, 22 Jan 2019 17:40:01 +0100
User-agent: mu4e 1.0; emacs 26.1
+@code{https://bitheap.org/cram/, Python tool}, which was itself based on
* gnu/packages/ocaml.scm (ocaml-craml): New variable.
---
 gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ca8f804ab..4c3aa36b0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4760,6 +4760,36 @@ yojson package.  The program @code{atdgen} can be used to derive OCaml-JSON
 serializers and deserializers from type definitions.")
     (license license:bsd-3)))
 
+(define-public ocaml-craml
+  (package
+    (name "ocaml-craml")
+    (version "1.0.0")
+    (home-page "https://github.com/realworldocaml/craml")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append home-page ".git"))
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "197xjp4vmzdymf2ndinw271ihpf45h04mx8gqj8ypspxdr5fj1a5"))))
+    (build-system dune-build-system)
+    (inputs
+     `(("ocaml-fmt" ,ocaml-fmt)
+       ("ocaml-astring" ,ocaml-astring)
+       ("ocaml-logs" ,ocaml-logs)
+       ("ocaml-cmdliner" ,ocaml-cmdliner)))
+    (synopsis
+     "CRAM-testing framework for testing command line applications")
+    (description "CRAM is a is functional testing framework for command line
+applications.  @code{craml} is freely inspired by the
+Mercurial's @code{https://www.selenic.com/blog/?p=663, unified test
+format}.  @code{craml} is released as a single binary (called @code{craml}).")
+    (license license:isc)))
+
 (define-public ocaml-merlin
   (package
     (name "ocaml-merlin")
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml.
  2019-01-23  7:21 ` [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml Gabriel Hondet
@ 2019-01-23  7:54   ` Julien Lepiller
  2019-01-23  8:15     ` Gabriel Hondet
  0 siblings, 1 reply; 8+ messages in thread
From: Julien Lepiller @ 2019-01-23  7:54 UTC (permalink / raw)
  To: Gabriel Hondet, 34171

Le 23 janvier 2019 08:21:46 GMT+01:00, Gabriel Hondet <gabrielhondet@gmail.com> a écrit :
>Date: Tue, 22 Jan 2019 17:40:01 +0100
>User-agent: mu4e 1.0; emacs 26.1
>+@code{https://bitheap.org/cram/, Python tool}, which was itself based
>on
>* gnu/packages/ocaml.scm (ocaml-craml): New variable.
>---
> gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
>diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
>index ca8f804ab..4c3aa36b0 100644
>--- a/gnu/packages/ocaml.scm
>+++ b/gnu/packages/ocaml.scm
>@@ -4760,6 +4760,36 @@ yojson package.  The program @code{atdgen} can
>be used to derive OCaml-JSON
> serializers and deserializers from type definitions.")
>     (license license:bsd-3)))
> 
>+(define-public ocaml-craml
>+  (package
>+    (name "ocaml-craml")
>+    (version "1.0.0")
>+    (home-page "https://github.com/realworldocaml/craml")
>+    (source
>+     (origin
>+       (method git-fetch)
>+       (uri (git-reference
>+             (url (string-append home-page ".git"))
>+             (commit version)))
>+       (file-name (git-file-name name version))
>+       (sha256
>+        (base32
>+         "197xjp4vmzdymf2ndinw271ihpf45h04mx8gqj8ypspxdr5fj1a5"))))
>+    (build-system dune-build-system)
>+    (inputs
>+     `(("ocaml-fmt" ,ocaml-fmt)
>+       ("ocaml-astring" ,ocaml-astring)
>+       ("ocaml-logs" ,ocaml-logs)
>+       ("ocaml-cmdliner" ,ocaml-cmdliner)))
>+    (synopsis
>+     "CRAM-testing framework for testing command line applications")
>+    (description "CRAM is a is functional testing framework for
>command line
>+applications.  @code{craml} is freely inspired by the
>+Mercurial's @code{https://www.selenic.com/blog/?p=663, unified test
>+format}.  @code{craml} is released as a single binary (called
>@code{craml}).")
>+    (license license:isc)))
>+
> (define-public ocaml-merlin
>   (package
>     (name "ocaml-merlin")

Hi, thanks for these patches! They lgtm, but please be careful with the headers: there's something strange in the commit message of this and other patches.

I'll check them properly and push later today. Thanks!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml.
  2019-01-23  7:54   ` Julien Lepiller
@ 2019-01-23  8:15     ` Gabriel Hondet
  0 siblings, 0 replies; 8+ messages in thread
From: Gabriel Hondet @ 2019-01-23  8:15 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 34171

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Hi,

On Wed 23 Jan 2019 at 08:54 Julien Lepiller wrote:

>> Date: Tue, 22 Jan 2019
>> User-agent: mu4e 1.0;
>> [...]
>
> Hi, thanks for these patches! They lgtm, but please be careful with
> the headers: there's something strange in the commit message of this
> and other patches.

Ah, indeed, some commit message contain some email headers... sorry.

> I'll check them properly and push later today. Thanks!

Great, thanks!
Gabriel


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#34171: [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2.
  2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
                   ` (3 preceding siblings ...)
  2019-01-23  7:21 ` [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml Gabriel Hondet
@ 2019-01-23 21:02 ` Julien Lepiller
  4 siblings, 0 replies; 8+ messages in thread
From: Julien Lepiller @ 2019-01-23 21:02 UTC (permalink / raw)
  To: 34171-done

Pushed as f0dece30b409d4144234b2e60a9422f9b9757eba -
1d209d06edef7b2dfd744862add66aa3fe61f952.

I've moved ocaml-uchar to propagated-inputs of fmt, so it wasn't needed
to add it to logs anymore. Since there was nothing else in that patch,
I've completely removed it. The name "gnu: ocaml-logs: Update to 0.6.2"
was not very good, since ocaml-logs was already at 0.6.2. Maybe "Fix
build" or "Add missing input" would have been better.

Thank you!

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-23 21:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-22 16:11 [bug#34171] [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Gabriel Hondet
2019-01-22 16:25 ` [bug#34171] [PATCH 3/5] gnu: ocaml-cmdliner: Update to 1.0.2 Gabriel Hondet
2019-01-23  7:18 ` [bug#34171] [PATCH 2/5] gnu: ocaml-fmt: Update to 0.8.5 Gabriel Hondet
2019-01-23  7:21 ` [bug#34171] [PATCH 4/5] gnu: ocaml-logs: Update to 0.6.2 Gabriel Hondet
2019-01-23  7:21 ` [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml Gabriel Hondet
2019-01-23  7:54   ` Julien Lepiller
2019-01-23  8:15     ` Gabriel Hondet
2019-01-23 21:02 ` bug#34171: [PATCH 1/5] gnu: ocaml-uchar: Update to 0.0.2 Julien Lepiller

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.