mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: ocaml: Fix indentation.
* gnu/packages/ocaml.scm: Fix indentation issues.
This commit is contained in:
parent
2e951707f5
commit
912f44005d
1 changed files with 52 additions and 49 deletions
|
@ -298,46 +298,46 @@ (define-public ocaml-4.07
|
||||||
(define-public ocaml ocaml-4.07)
|
(define-public ocaml ocaml-4.07)
|
||||||
|
|
||||||
(define-public ocamlbuild
|
(define-public ocamlbuild
|
||||||
(package
|
(package
|
||||||
(name "ocamlbuild")
|
(name "ocamlbuild")
|
||||||
(version "0.13.1")
|
(version "0.13.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/ocaml/ocamlbuild/archive/"
|
(uri (string-append "https://github.com/ocaml/ocamlbuild/archive/"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1320cfkixs1xlng5av04pa5qjb3ynvi2kl3k1ngqzg5fpi29b0vr"))))
|
"1320cfkixs1xlng5av04pa5qjb3ynvi2kl3k1ngqzg5fpi29b0vr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
#:tests? #f; tests require findlib
|
#:tests? #f; tests require findlib
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "OCAMLBUILD_PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "OCAMLBUILD_PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "OCAMLBUILD_BINDIR=" (assoc-ref %outputs "out")
|
(string-append "OCAMLBUILD_BINDIR=" (assoc-ref %outputs "out")
|
||||||
"/bin")
|
"/bin")
|
||||||
(string-append "OCAMLBUILD_LIBDIR=" (assoc-ref %outputs "out")
|
(string-append "OCAMLBUILD_LIBDIR=" (assoc-ref %outputs "out")
|
||||||
"/lib/ocaml/site-lib")
|
"/lib/ocaml/site-lib")
|
||||||
(string-append "OCAMLBUILD_MANDIR=" (assoc-ref %outputs "out")
|
(string-append "OCAMLBUILD_MANDIR=" (assoc-ref %outputs "out")
|
||||||
"/share/man"))
|
"/share/man"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'bootstrap)
|
(delete 'bootstrap)
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'build 'findlib-environment
|
(add-before 'build 'findlib-environment
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out")))
|
(let* ((out (assoc-ref outputs "out")))
|
||||||
(setenv "OCAMLFIND_DESTDIR" (string-append out "/lib/ocaml/site-lib"))
|
(setenv "OCAMLFIND_DESTDIR" (string-append out "/lib/ocaml/site-lib"))
|
||||||
(setenv "OCAMLFIND_LDCONF" "ignore")
|
(setenv "OCAMLFIND_LDCONF" "ignore")
|
||||||
#t))))))
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ocaml" ,ocaml)))
|
`(("ocaml" ,ocaml)))
|
||||||
(home-page "https://github.com/ocaml/ocamlbuild")
|
(home-page "https://github.com/ocaml/ocamlbuild")
|
||||||
(synopsis "OCaml build tool")
|
(synopsis "OCaml build tool")
|
||||||
(description "OCamlbuild is a generic build tool, that has built-in rules
|
(description "OCamlbuild is a generic build tool, that has built-in rules
|
||||||
for building OCaml library and programs.")
|
for building OCaml library and programs.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public opam
|
(define-public opam
|
||||||
(package
|
(package
|
||||||
|
@ -5018,11 +5018,11 @@ (define-public dedukti
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make")
|
(invoke "make")
|
||||||
#t))
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "tests")
|
(invoke "make" "tests")
|
||||||
#t))
|
#t))
|
||||||
(add-before 'install 'set-binpath
|
(add-before 'install 'set-binpath
|
||||||
;; Change binary path in the makefile
|
;; Change binary path in the makefile
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -5030,11 +5030,11 @@ (define-public dedukti
|
||||||
(substitute* "GNUmakefile"
|
(substitute* "GNUmakefile"
|
||||||
(("BINDIR = (.*)$")
|
(("BINDIR = (.*)$")
|
||||||
(string-append "BINDIR = " out "/bin"))))
|
(string-append "BINDIR = " out "/bin"))))
|
||||||
#t))
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "install")
|
(invoke "make" "install")
|
||||||
#t)))))
|
#t)))))
|
||||||
(synopsis "Proof-checker for the λΠ-calculus modulo theory, an extension of
|
(synopsis "Proof-checker for the λΠ-calculus modulo theory, an extension of
|
||||||
the λ-calculus")
|
the λ-calculus")
|
||||||
(description "Dedukti is a proof-checker for the λΠ-calculus modulo
|
(description "Dedukti is a proof-checker for the λΠ-calculus modulo
|
||||||
|
@ -5090,10 +5090,13 @@ (define-public ocaml-yojson
|
||||||
(base32
|
(base32
|
||||||
"0nwsfkmqpyfab4rxq76q8ff7giyanghw08094jyrp275v99zdjr9"))))
|
"0nwsfkmqpyfab4rxq76q8ff7giyanghw08094jyrp275v99zdjr9"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:test-target "."))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ocaml-biniou" ,ocaml-biniou)
|
`(("ocaml-biniou" ,ocaml-biniou)
|
||||||
("ocaml-easy-format" ,ocaml-easy-format)
|
("ocaml-easy-format" ,ocaml-easy-format)))
|
||||||
("ocaml-cppo" ,ocaml-cppo)))
|
(native-inputs
|
||||||
|
`(("ocaml-cppo" ,ocaml-cppo)))
|
||||||
(synopsis "Low-level JSON library for OCaml")
|
(synopsis "Low-level JSON library for OCaml")
|
||||||
(description "Yojson is an optimized parsing and printing library for the
|
(description "Yojson is an optimized parsing and printing library for the
|
||||||
JSON format. It addresses a few shortcomings of json-wheel including 2x
|
JSON format. It addresses a few shortcomings of json-wheel including 2x
|
||||||
|
|
Loading…
Reference in a new issue