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>
This commit is contained in:
Jean-Pierre De Jesus DIAZ 2024-05-23 13:47:04 +02:00 committed by Ludovic Courtès
parent 53ef4bf537
commit a6d34a6fe1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3720,10 +3720,10 @@ and consumable.")
"1z8mmk1idh9hjhh2b9rp5b1h8kmzcxhagqkw0pvxn6ykx1brskq1"))))
(build-system dune-build-system)
(arguments
`(#:tests? #f ; no tests
(list #:tests? #f ; no tests
#:package "sedlex"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-before 'build 'copy-resources
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "src/generator/data"
@ -3735,12 +3735,10 @@ and consumable.")
(lambda (file)
(copy-file (assoc-ref inputs file) file))
'("DerivedCoreProperties.txt" "DerivedGeneralCategory.txt"
"PropList.txt")))
#t))
"PropList.txt")))))
(add-before 'build 'chmod
(lambda _
(for-each (lambda (file) (chmod file #o644)) (find-files "." ".*"))
#t)))))
(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