summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-05-14 20:27:53 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-05-14 21:04:47 +0200
commitfbf786bd1d345794dfc93f28beff5efc3dd1786e (patch)
treee35c73f062e7472c83d7c25637813cb73fa0d168
parent3cf62cd6cbeba9ecedb9848b4168afa44a4040b8 (diff)
downloadguix-fbf786bd1d345794dfc93f28beff5efc3dd1786e.tar.gz
gnu: ocaml-sqlite3: Update to 4.4.1.
* gnu/packages/ocaml.scm (ocaml-sqlite3): Update to 4.4.1.
[origin]: Use git-fetch.
-rw-r--r--gnu/packages/ocaml.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4c39c8ff39..a4d5ede416 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1519,19 +1519,21 @@ library.")
 (define-public ocaml-sqlite3
   (package
     (name "ocaml-sqlite3")
-    (version "4.1.2")
+    (version "4.4.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/mmottl/sqlite3-ocaml/releases/download/v"
-             version "/sqlite3-ocaml-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/mmottl/sqlite3-ocaml")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "14c1nir7c6bivajg0vyx853y7la7r5d25g1v5hjb2wfi73r15p1m"))))
-    (build-system ocaml-build-system)
+         "1536agm5fgcqysszhpd3kmw7lkc5n5ni7gmlyglrbvmnmrwf3av2"))))
+    (build-system dune-build-system)
     (native-inputs
-     `(("ocamlbuild" ,ocamlbuild)
+     `(("ocaml-base" ,ocaml-base)
+       ("ocaml-stdio" ,ocaml-stdio)
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("sqlite" ,sqlite)))