[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33437] [PATCH 03/10] gnu: ocaml-ppx-tools-versioned: Use dune-build
From: |
Julien Lepiller |
Subject: |
[bug#33437] [PATCH 03/10] gnu: ocaml-ppx-tools-versioned: Use dune-build-system. |
Date: |
Mon, 19 Nov 2018 23:28:14 +0100 |
* gnu/packages/ocaml.scm (ocaml-ppx-tools-versioned): Use
dune-build-system. Remove duplicate definition.
---
gnu/packages/ocaml.scm | 55 ++----------------------------------------
1 file changed, 2 insertions(+), 53 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a1f6adc8b..fe8871152 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1564,60 +1564,9 @@ functions to the next and/or previous version.")
(sha256
(base32
"1x2xfjpkzbcz4rza1d7gh3ipliw6jqfcklbsln82v3561qgkqgmh"))))
- (build-system ocaml-build-system)
+ (build-system dune-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'build
- (lambda _
- (invoke "dune" "build" "@install")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "dune" "install"
- "--prefix" (assoc-ref outputs "out"))
- #t)))))
- (native-inputs
- `(("dune" ,dune)))
- (propagated-inputs
- `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)))
- (home-page "https://github.com/let-def/ppx_tools_versioned")
- (synopsis "Variant of ppx_tools")
- (description "This package is a variant of ppx_tools based on
-ocaml-migrate-parsetree")
- (license license:expat)))
-
-(define-public ocaml-ppx-tools-versioned
- (package
- (name "ocaml-ppx-tools-versioned")
- (version "5.2.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/ocaml-ppx/"
- "ppx_tools_versioned/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1x2xfjpkzbcz4rza1d7gh3ipliw6jqfcklbsln82v3561qgkqgmh"))))
- (build-system ocaml-build-system)
- (arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'build
- (lambda _
- (invoke "dune" "build" "@install")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "dune" "install"
- "--prefix" (assoc-ref outputs "out"))
- #t)))))
- (native-inputs
- `(("dune" ,dune)))
+ `(#:test-target "."))
(propagated-inputs
`(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)))
(home-page "https://github.com/let-def/ppx_tools_versioned")
--
2.19.1
- [bug#33437] [PATCH] Add dune-build-system, Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 01/10] build: Add dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 05/10] gnu: ocaml-lwt: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 06/10] gnu: ocaml-lwt-log: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 02/10] gnu: ocaml-migrate-parsetree: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 03/10] gnu: ocaml-ppx-tools-versioned: Use dune-build-system.,
Julien Lepiller <=
- [bug#33437] [PATCH 07/10] gnu: ocaml-cppo: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 04/10] gnu: ocaml-bitstring: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 09/10] gnu: ocaml-camomile: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 08/10] gnu: ocaml-re: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 10/10] gnu: ocaml-lambda-term: Use dune-build-system., Julien Lepiller, 2018/11/19
- [bug#33437] [PATCH 01/10] build: Add dune-build-system., Ludovic Courtès, 2018/11/24