gnu: ruby-regexp-parser: Improve style.

* gnu/packages/ruby-xyz.scm (ruby-regexp-parser): Run guix style.
This commit is contained in:
Nicolas Graves 2025-06-18 16:26:51 +02:00 committed by Andreas Enge
parent ed4279f64f
commit ccb6976d9f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -8477,12 +8477,13 @@ they match.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "07dx96gjvpa07dsdnzpwhhwc7qpxakjgws7d7wbnkbs20fyvx55x"))))
"07dx96gjvpa07dsdnzpwhhwc7qpxakjgws7d7wbnkbs20fyvx55x"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
'(#:test-target "default" (list
#:phases (modify-phases %standard-phases #:test-target "default"
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'compile-scanner.rb (add-before 'build 'compile-scanner.rb
(lambda _ (lambda _
(invoke "rake" "build") (invoke "rake" "build")
@ -8490,8 +8491,8 @@ they match.")
;; phase fails to delete the installed cached ;; phase fails to delete the installed cached
;; gem file. ;; gem file.
(delete-file-recursively "pkg")))))) (delete-file-recursively "pkg"))))))
(native-inputs (native-inputs (list ragel ruby-ice-nine ruby-regexp-property-values
(list ragel ruby-ice-nine ruby-regexp-property-values ruby-rspec)) ruby-rspec))
(synopsis "Regular expression parser library for Ruby") (synopsis "Regular expression parser library for Ruby")
(description "A Ruby gem for tokenizing, parsing, and transforming regular (description "A Ruby gem for tokenizing, parsing, and transforming regular
expressions. It comprises the following components: expressions. It comprises the following components: