guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: ocaml-csv: Update to 2.2.


From: guix-commits
Subject: 02/05: gnu: ocaml-csv: Update to 2.2.
Date: Sat, 27 Apr 2019 13:04:13 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit e58d05c32ecab9e08d3819538f0b0ea970232713
Author: Julien Lepiller <address@hidden>
Date:   Sat Apr 27 18:01:31 2019 +0200

    gnu: ocaml-csv: Update to 2.2.
    
    * gnu/packages/ocaml.scm (ocaml-csv): Update to 2.2.
    [source]: Use git-fetch.
    [build-system]: Use dune-build-system.
---
 gnu/packages/ocaml.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0e3df64..9766bb4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1554,20 +1554,21 @@ coexistence with the old (version 2) SQLite and its 
OCaml wrapper
 (define-public ocaml-csv
   (package
     (name "ocaml-csv")
-    (version "1.6")
+    (version "2.2")
     (source
      (origin
-       (method url-fetch)
-       (uri
-        (string-append
-         "https://github.com/Chris00/ocaml-csv/releases/download/";
-         version "/csv-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/Chris00/ocaml-csv";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0rv7x843vn6scxj87hzl01yqrl26rc27lr8s7z6rp9vs745g05zj"))))
-    (build-system ocaml-build-system)
-    (native-inputs
-     `(("ocamlbuild" ,ocamlbuild)))
+         "07qdw8bbvprk78x96pnm807rhs82ks6sxis1cf5nyng8b5nvm2mv"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:package "csv"
+       #:test-target "."))
     (home-page "https://github.com/Chris00/ocaml-csv";)
     (synopsis "Pure OCaml functions to read and write CSV")
     (description



reply via email to

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