diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-12-07 23:49:19 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-12-07 23:51:42 +0300 |
| commit | a8e2d110553106f98a9a3053722e0c6ee5e59f5a (patch) | |
| tree | 0b3488d32014acd1c1b006d719a2e6e77e8db6f2 /gnu/packages/cpp.scm | |
| parent | 0494da64db4dbc16b0594d7be6c544ef35af27fd (diff) | |
gnu: lexy: Update to 2025.05.0.
* gnu/packages/cpp.scm (lexy): Update to 2025.05.0.
Change-Id: Ib0c18ad6a2a69105b85f930cbb63ede746c60bae
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 69 |
1 files changed, 33 insertions, 36 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 535bd324cc8..e68ff8fd9fe 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm | |||
| @@ -2314,42 +2314,39 @@ parsers according to a Parsing Expression Grammar (PEG).") | |||
| 2314 | (license license:expat))) | 2314 | (license license:expat))) |
| 2315 | 2315 | ||
| 2316 | (define-public lexy | 2316 | (define-public lexy |
| 2317 | ;; Bug fixes since last release. | 2317 | (package |
| 2318 | (let ((commit "34d2adf74a2b25b6bdd760a3bbb931f3fd5e60cd") | 2318 | (name "lexy") |
| 2319 | (revision "0")) | 2319 | (version "2025.05.0") |
| 2320 | (package | 2320 | (source |
| 2321 | (name "lexy") | 2321 | (origin |
| 2322 | (version (git-version "2022.12.1" revision commit)) | 2322 | (method git-fetch) |
| 2323 | (source | 2323 | (uri (git-reference |
| 2324 | (origin | 2324 | (url "https://github.com/foonathan/lexy") |
| 2325 | (method git-fetch) | 2325 | (commit (string-append "v" version)))) |
| 2326 | (uri (git-reference | 2326 | (file-name (git-file-name name version)) |
| 2327 | (url "https://github.com/foonathan/lexy") | 2327 | (sha256 |
| 2328 | (commit commit))) | 2328 | (base32 "14j2z7x2l65q95j5br5nw7awgd87p9m2xw7mma4qspiricd0rniq")))) |
| 2329 | (file-name (git-file-name name version)) | 2329 | (build-system cmake-build-system) |
| 2330 | (sha256 | 2330 | (arguments |
| 2331 | (base32 "1ywcy3wdmqjj5z1w64hk0dwf8iv6p62s48m7l6vn881hfzc8hcxz")))) | 2331 | (list #:configure-flags #~(list "-DLEXY_BUILD_DOCS=OFF") ; needs Hugo |
| 2332 | (build-system cmake-build-system) | 2332 | #:phases |
| 2333 | (arguments | 2333 | #~(modify-phases %standard-phases |
| 2334 | (list #:configure-flags #~(list "-DLEXY_BUILD_DOCS=OFF") ; needs Hugo | 2334 | (add-after 'unpack 'fix-dependencies |
| 2335 | #:phases | 2335 | (lambda _ |
| 2336 | #~(modify-phases %standard-phases | 2336 | (substitute* "tests/CMakeLists.txt" |
| 2337 | (add-after 'unpack 'fix-dependencies | 2337 | (("^message\\(STATUS \"Fetching doctest\"\\).*") "") |
| 2338 | (lambda _ | 2338 | (("^include\\(FetchContent\\).*") "") |
| 2339 | (substitute* "tests/CMakeLists.txt" | 2339 | (("^FetchContent_Declare\\(doctest .*") "") |
| 2340 | (("^message\\(STATUS \"Fetching doctest\"\\).*") "") | 2340 | (("^FetchContent_MakeAvailable\\(doctest\\)") |
| 2341 | (("^include\\(FetchContent\\).*") "") | 2341 | "find_package(doctest REQUIRED)") |
| 2342 | (("^FetchContent_Declare\\(doctest .*") "") | 2342 | (("^(target_link_libraries\\(lexy_test_base .*) doctest\\)" |
| 2343 | (("^FetchContent_MakeAvailable\\(doctest\\)") | 2343 | _ prefix) |
| 2344 | "find_package(doctest REQUIRED)") | 2344 | (string-append prefix ")")))))))) |
| 2345 | (("^(target_link_libraries\\(lexy_test_base .*) doctest\\)" | 2345 | (native-inputs (list doctest)) |
| 2346 | _ prefix) | 2346 | (home-page "https://lexy.foonathan.net/") |
| 2347 | (string-append prefix ")")))))))) | 2347 | (synopsis "C++ parser combinator library") |
| 2348 | (native-inputs (list doctest)) | 2348 | (description "lexy is a parser combinator library for C++17 and later.") |
| 2349 | (home-page "https://lexy.foonathan.net/") | 2349 | (license license:boost1.0))) |
| 2350 | (synopsis "C++ parser combinator library") | ||
| 2351 | (description "lexy is a parser combinator library for C++17 and later.") | ||
| 2352 | (license license:boost1.0)))) | ||
| 2353 | 2350 | ||
| 2354 | (define-public psascan | 2351 | (define-public psascan |
| 2355 | (package | 2352 | (package |
