mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ocaml-fileutils: Update to 0.6.2.
* gnu/packages/ocaml.scm (ocaml-fileutils): Update to 0.6.2.
This commit is contained in:
parent
8965111768
commit
bee8c8acd7
1 changed files with 4 additions and 21 deletions
|
@ -2453,7 +2453,7 @@ (define-public ocaml-stdlib-shims
|
||||||
(define-public ocaml-fileutils
|
(define-public ocaml-fileutils
|
||||||
(package
|
(package
|
||||||
(name "ocaml-fileutils")
|
(name "ocaml-fileutils")
|
||||||
(version "0.6.0")
|
(version "0.6.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -2462,29 +2462,12 @@ (define-public ocaml-fileutils
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06gxbqfssl16xc8y4d34wpm0mwfr0jgph4lmlwfmgazyggnmvc7m"))))
|
"01qf51b8pb7vyfba7y0kb7ajwj1950im25d7f59821zwsibns3d9"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system dune-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
|
(propagated-inputs
|
||||||
`(("ocaml-stdlib-shims" ,ocaml-stdlib-shims)))
|
`(("ocaml-stdlib-shims" ,ocaml-stdlib-shims)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ocamlbuild" ,ocamlbuild)
|
`(("ocaml-ounit" ,ocaml-ounit)))
|
||||||
("ocaml-oasis" ,ocaml-oasis)
|
|
||||||
("ocaml-ounit" ,ocaml-ounit)))
|
|
||||||
(home-page "http://ocaml-fileutils.forge.ocamlcore.org")
|
(home-page "http://ocaml-fileutils.forge.ocamlcore.org")
|
||||||
(synopsis "Pure OCaml functions to manipulate real file and filename")
|
(synopsis "Pure OCaml functions to manipulate real file and filename")
|
||||||
(description "Library to provide pure OCaml functions to manipulate real
|
(description "Library to provide pure OCaml functions to manipulate real
|
||||||
|
|
Loading…
Reference in a new issue