[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29034] [PATCH 4/5] gnu: Add ocaml-findlib-1.7.3.
From: |
Ludovic Courtès |
Subject: |
[bug#29034] [PATCH 4/5] gnu: Add ocaml-findlib-1.7.3. |
Date: |
Sat, 28 Oct 2017 10:36:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Peter Kreye <address@hidden> skribis:
> * gnu/packages/ocaml.scm (ocaml-findlib-1.7.3): New variable.
I rewrote it a bit to reduce duplication:
--8<---------------cut here---------------start------------->8---
(define-public ocaml-findlib-1.7.3
(package
(inherit ocaml-findlib)
(version "1.7.3")
(source (origin
(method url-fetch)
(uri (string-append "http://download.camlcity.org/download/"
"findlib" "-" version ".tar.gz"))
(sha256
(base32
"12xx8si1qv3xz90qsrpazjjk4lc1989fzm97rsmc4diwla7n15ni"))))
(arguments
(substitute-keyword-arguments (package-arguments ocaml-findlib)
((#:phases phases)
`(modify-phases ,phases
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(zero? (system* "make" "install"
(string-append "OCAML_CORE_STDLIB="
out))))))))))))
--8<---------------cut here---------------end--------------->8---
Hope that’s fine with you!
Also, what would it take to upgrade address@hidden to this one?
That’s something we should do if there are no compatibility issues.
Thanks,
Ludo’.
- [bug#29034] [PATCH 0/5] Add ocaml-utop and dependencies, Peter Kreye, 2017/10/27
- [bug#29034] [PATCH 4/5] gnu: Add ocaml-findlib-1.7.3., Peter Kreye, 2017/10/27
- [bug#29034] [PATCH 4/5] gnu: Add ocaml-findlib-1.7.3.,
Ludovic Courtès <=
- [bug#29034] [PATCH 1/5] gnu: Add ocaml-jbuilder., Peter Kreye, 2017/10/27
- [bug#29034] [PATCH 2/5] gnu: Add ocaml-zed., Peter Kreye, 2017/10/27
- [bug#29034] [PATCH 3/5] gnu: Add ocaml-lambda-term., Peter Kreye, 2017/10/27
- [bug#29034] [PATCH 5/5] gnu: Add ocaml-utop., Peter Kreye, 2017/10/27