mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-17 16:38:12 -05:00
gnu: ruby-maxitest: Update to 5.1.0.
* gnu/packages/ruby.scm (ruby-maxitest): Update to 5.1.0. [arguments]: Update style. [native-inputs]: Remove ruby-byebug.
This commit is contained in:
parent
ea9a1e0289
commit
256e18af34
1 changed files with 22 additions and 21 deletions
|
@ -5186,7 +5186,7 @@ (define-public ruby-rerun
|
|||
(define-public ruby-maxitest
|
||||
(package
|
||||
(name "ruby-maxitest")
|
||||
(version "4.4.1")
|
||||
(version "5.1.0")
|
||||
(home-page "https://github.com/grosser/maxitest")
|
||||
(source (origin
|
||||
;; Pull from git because the gem does not contain tests.
|
||||
|
@ -5197,31 +5197,32 @@ (define-public ruby-maxitest
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0l646lgrgsfgg9qh05b8a3jd43kgrmr6xzbdvyspmdlhchk1qszg"))))
|
||||
"0qj410krfm497ggmf71xpnabbb6814y0585by4nlzyjvg9hpgg3m"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
'(#:test-target "default"
|
||||
#:phases (modify-phases %standard-phases
|
||||
(replace 'replace-git-ls-files
|
||||
(lambda _
|
||||
(substitute* "maxitest.gemspec"
|
||||
(("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`")
|
||||
"`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`"))))
|
||||
(add-before 'check 'remove-version-constraints
|
||||
(lambda _
|
||||
;; Don't use specific versions of dependencies, instead
|
||||
;; take whatever is available in Guix.
|
||||
(delete-file "Gemfile.lock")))
|
||||
(add-before 'check 'add-mtest-on-PATH
|
||||
(lambda _
|
||||
;; Tests use 'mtest' which is not automatically added on
|
||||
;; PATH.
|
||||
(setenv "PATH" (string-append (getcwd) "/bin:"
|
||||
(getenv "PATH"))))))))
|
||||
(list
|
||||
#:test-target "default"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'replace-git-ls-files
|
||||
(lambda _
|
||||
(substitute* "maxitest.gemspec"
|
||||
(("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`")
|
||||
"`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`"))))
|
||||
(add-before 'check 'remove-version-constraints
|
||||
(lambda _
|
||||
;; Don't use specific versions of dependencies, instead
|
||||
;; take whatever is available in Guix.
|
||||
(delete-file "Gemfile.lock")))
|
||||
(add-before 'check 'add-mtest-on-PATH
|
||||
(lambda _
|
||||
;; Tests use 'mtest' which is not automatically added on
|
||||
;; PATH.
|
||||
(setenv "PATH" (string-append (getcwd) "/bin:"
|
||||
(getenv "PATH"))))))))
|
||||
(native-inputs
|
||||
(list procps
|
||||
ruby-bump
|
||||
ruby-byebug
|
||||
ruby-rspec
|
||||
ruby-wwtd))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue