[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/13: gnu: ocaml-fileutils: Update to 0.6.0.
From: |
guix-commits |
Subject: |
13/13: gnu: ocaml-fileutils: Update to 0.6.0. |
Date: |
Tue, 3 Sep 2019 17:35:14 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 1fe01b70112986374ae184610127719154cc67ec
Author: Julien Lepiller <address@hidden>
Date: Tue Sep 3 23:10:30 2019 +0200
gnu: ocaml-fileutils: Update to 0.6.0.
* gnu/packages/ocaml.scm (ocaml-fileutils): Update to 0.6.0.
---
gnu/packages/ocaml.scm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 32e2a6e..52f7a42 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2408,17 +2408,38 @@ compatibility with older compiler to use these new
features in their code.")
(define-public ocaml-fileutils
(package
(name "ocaml-fileutils")
- (version "0.5.3")
+ (version "0.6.0")
(source (origin
- (method url-fetch)
- (uri (ocaml-forge-uri name version 1728))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gildor478/ocaml-fileutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1rc4cqlvdhbs55i85zfbfhz938fsy4fj6kwlkfm3ra7bpwn8bmpd"))))
+ "06gxbqfssl16xc8y4d34wpm0mwfr0jgph4lmlwfmgazyggnmvc7m"))))
(build-system ocaml-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'set-topfind
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; add the line #directory ".." at the top of each file
+ ;; using #use "topfind";; to be able to find topfind
+ (let* ((findlib-path (assoc-ref inputs "findlib"))
+ (findlib-libdir
+ (string-append findlib-path "/lib/ocaml/site-lib")))
+ (substitute* "setup.ml"
+ (("#use \"topfind\";;" all)
+ (string-append "#directory \"" findlib-libdir "\"\n"
+ all))))
+ #t)))))
+ (propagated-inputs
+ `(("ocaml-stdlib-shims" ,ocaml-stdlib-shims)))
(native-inputs
`(("ocamlbuild" ,ocamlbuild)
- ("ounit" ,ocaml-ounit)))
+ ("ocaml-oasis" ,ocaml-oasis)
+ ("ocaml-ounit" ,ocaml-ounit)))
(home-page "http://ocaml-fileutils.forge.ocamlcore.org")
(synopsis "Pure OCaml functions to manipulate real file and filename")
(description "Library to provide pure OCaml functions to manipulate real
- 07/13: gnu: ocaml-result: Update to 1.4., (continued)
- 07/13: gnu: ocaml-result: Update to 1.4., guix-commits, 2019/09/03
- 08/13: gnu: ocaml-zarith: Update to 1.9.1., guix-commits, 2019/09/03
- 10/13: gnu: Add ocaml-charinfo-width., guix-commits, 2019/09/03
- 11/13: gnu: Add ocaml-stdlib-shims., guix-commits, 2019/09/03
- 01/13: gnu: ocaml-batteries: Update to 2.10.0., guix-commits, 2019/09/03
- 03/13: gnu: ocaml-migrate-parsetree: Update to 1.4.0., guix-commits, 2019/09/03
- 09/13: gnu: ocaml-camomile: Update to 1.0.2., guix-commits, 2019/09/03
- 06/13: gnu: ocaml-odoc: Update to 1.4.1., guix-commits, 2019/09/03
- 05/13: gnu: dune: Update to 1.11.3., guix-commits, 2019/09/03
- 12/13: gnu: ocaml-utop: Update to 2.4.1., guix-commits, 2019/09/03
- 13/13: gnu: ocaml-fileutils: Update to 0.6.0.,
guix-commits <=