guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: ocaml-cmdliner: Update to 1.0.2.


From: guix-commits
Subject: 03/04: gnu: ocaml-cmdliner: Update to 1.0.2.
Date: Wed, 23 Jan 2019 15:52:07 -0500 (EST)

roptat pushed a commit to branch ocaml
in repository guix.

commit ca53346dd57d57ba96d15a82dd9b2543723a4ad9
Author: Gabriel Hondet <address@hidden>
Date:   Tue Jan 22 17:25:26 2019 +0100

    gnu: ocaml-cmdliner: Update to 1.0.2.
    
    * gnu/packages/ocaml.scm (ocaml-cmdliner): Update to 1.0.2.
    
    Signed-off-by: Julien Lepiller <address@hidden>
---
 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 2ecbd50..c62d1ee 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")



reply via email to

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