[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: ocaml-sedlex: Use G-Expressions.
From: |
guix-commits |
Subject: |
02/09: gnu: ocaml-sedlex: Use G-Expressions. |
Date: |
Wed, 20 Nov 2024 17:58:47 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a6d34a6fe161fd7f1bd1aa5609bb6027d69495d2
Author: Jean-Pierre De Jesus DIAZ <jean@foundation.xyz>
AuthorDate: Thu May 23 13:47:04 2024 +0200
gnu: ocaml-sedlex: Use G-Expressions.
* gnu/packages/ocaml.scm (ocaml-sedlex): Use G-expressions.
Change-Id: I1dd8b9e1cefef90ff4cdcc592f5ad3d735a5081b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/ocaml.scm | 40 +++++++++++++++++++---------------------
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9d29105cdb..0b92279878 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3720,27 +3720,25 @@ and consumable.")
"1z8mmk1idh9hjhh2b9rp5b1h8kmzcxhagqkw0pvxn6ykx1brskq1"))))
(build-system dune-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:package "sedlex"
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'copy-resources
- (lambda* (#:key inputs #:allow-other-keys)
- (with-directory-excursion "src/generator/data"
- ;; Newer versions of dune emit an error if files it wants to
- ;; build already exist. Delete the dune file so dune doesn't
- ;; complain.
- (delete-file "dune")
- (for-each
- (lambda (file)
- (copy-file (assoc-ref inputs file) file))
- '("DerivedCoreProperties.txt" "DerivedGeneralCategory.txt"
- "PropList.txt")))
- #t))
- (add-before 'build 'chmod
- (lambda _
- (for-each (lambda (file) (chmod file #o644)) (find-files "."
".*"))
- #t)))))
+ (list #:tests? #f ; no tests
+ #:package "sedlex"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'copy-resources
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "src/generator/data"
+ ;; Newer versions of dune emit an error if files it wants
to
+ ;; build already exist. Delete the dune file so dune
doesn't
+ ;; complain.
+ (delete-file "dune")
+ (for-each
+ (lambda (file)
+ (copy-file (assoc-ref inputs file) file))
+ '("DerivedCoreProperties.txt"
"DerivedGeneralCategory.txt"
+ "PropList.txt")))))
+ (add-before 'build 'chmod
+ (lambda _
+ (for-each (lambda (file) (chmod file #o644)) (find-files
"." ".*")))))))
(propagated-inputs
(list ocaml-gen ocaml-ppxlib ocaml-uchar))
;; These three files are needed by src/generator/data/dune, but would be
- branch master updated (d5eab53a72 -> b2bd56f8fe), guix-commits, 2024/11/20
- 04/09: gnu: ocaml-sedlex: Update to 3.2., guix-commits, 2024/11/20
- 02/09: gnu: ocaml-sedlex: Use G-Expressions.,
guix-commits <=
- 06/09: services: nginx-upstream-configuration: Allow file-like objects, guix-commits, 2024/11/20
- 08/09: gnu: Bump zstd to version 1.5.6, guix-commits, 2024/11/20
- 05/09: services: nginx: Print extra-content before the server-blocks., guix-commits, 2024/11/20
- 03/09: gnu: ocaml-sedlex: Use ucd package., guix-commits, 2024/11/20
- 07/09: gnu: services: power-profiles-daemon: Beautify service., guix-commits, 2024/11/20
- 01/09: home: services: Use %user-log-dir as the log directory for all services., guix-commits, 2024/11/20
- 09/09: gnu: Bump pzstd to version 1.5.6, guix-commits, 2024/11/20