summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-04-26 22:59:56 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-04-26 23:34:54 +0200
commitacb98ad95603cd81040446d394d4ee5a80b5c463 (patch)
treeac4bd8e5221eeafb16b4f3f8616b2421f650edbd
parent09cd92a9831984e8efd6ca2829008be83e9c2bf5 (diff)
downloadguix-acb98ad95603cd81040446d394d4ee5a80b5c463.tar.gz
gnu: ocaml-stringext: Update to 1.5.0.
* gnu/packages/ocaml.scm (ocaml-stringext): Update to 1.5.0.
[source]: Use git-fetch.
[build-system]: Use dune-build-system.
-rw-r--r--gnu/packages/ocaml.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f06b5c88f9..8a229d083b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1246,16 +1246,19 @@ to use -- to sophisticated random generation of test cases.")
 (define-public ocaml-stringext
   (package
     (name "ocaml-stringext")
-    (version "1.4.3")
+    (version "1.5.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/rgrinberg/stringext"
-                                  "/archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/rgrinberg/stringext")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "19g6lfn03iki9f8h91hi0yiqn0b3wkxyq08b3y23wgv6jw6mssfh"))))
-    (build-system ocaml-build-system)
+                "0035pyakk0r7pfhkrayvqncpv9mk6lssr455j3prmdcirh6s50d7"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:test-target "."))
     (native-inputs
      `(("ocamlbuild" ,ocamlbuild)
        ("qtest" ,ocaml-qtest)))