mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-regexp-parser: Improve style.
* gnu/packages/ruby-xyz.scm (ruby-regexp-parser): Run guix style.
This commit is contained in:
parent
ed4279f64f
commit
ccb6976d9f
1 changed files with 15 additions and 14 deletions
|
@ -8471,27 +8471,28 @@ they match.")
|
||||||
(version "2.6.0")
|
(version "2.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ;bin/test missing from gem
|
(method git-fetch) ;bin/test missing from gem
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/ammar/regexp_parser")
|
(url "https://github.com/ammar/regexp_parser")
|
||||||
(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"
|
||||||
(add-before 'build 'compile-scanner.rb
|
#:phases
|
||||||
(lambda _
|
#~(modify-phases %standard-phases
|
||||||
(invoke "rake" "build")
|
(add-before 'build 'compile-scanner.rb
|
||||||
;; XXX: This is needed otherwise the install
|
(lambda _
|
||||||
;; phase fails to delete the installed cached
|
(invoke "rake" "build")
|
||||||
;; gem file.
|
;; XXX: This is needed otherwise the install
|
||||||
(delete-file-recursively "pkg"))))))
|
;; phase fails to delete the installed cached
|
||||||
(native-inputs
|
;; gem file.
|
||||||
(list ragel ruby-ice-nine ruby-regexp-property-values ruby-rspec))
|
(delete-file-recursively "pkg"))))))
|
||||||
|
(native-inputs (list ragel ruby-ice-nine ruby-regexp-property-values
|
||||||
|
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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue