gnu: ruby-mustache: Fix race condition.

* gnu/packages/patches/ruby-mustache-1.1.1-fix-race-condition-tests.patch:
New file.
* gnu/packages/ruby.scm (ruby-mustache)[source]<#:origin>: Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
Danny Milosavljevic 2022-01-31 15:14:25 +01:00
parent 7fc8a6faf6
commit a0bf73143b
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
3 changed files with 49 additions and 1 deletions

View file

@ -11386,7 +11386,16 @@ serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.")
(base32 "1l0p4wx15mi3wnamfv92ipkia4nsx8qi132c6g51jfdma3fiz2ch"))))
(build-system ruby-build-system)
(native-inputs
(list ruby-simplecov))
`(("ruby-simplecov" ,ruby-simplecov)
("test-patch"
,(search-patch "ruby-mustache-1.1.1-fix-race-condition-tests.patch"))))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda* (#:key inputs #:allow-other-keys)
(invoke "patch" "-p1" "--batch" "-i"
(assoc-ref inputs "test-patch")))))))
(synopsis "framework-agnostic way to render logic-free views")
(description
"Mustache is a framework-agnostic way to render logic-free views.