gnu: twolame: Make the test suite compatible with Perl 5.24.

* gnu/packages/audio.scm (twolame)[source]: Add snippet to fix test.
This commit is contained in:
Leo Famulari 2016-10-24 01:49:27 -04:00
parent ef73acd30d
commit 4691428059
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -2134,7 +2134,15 @@ (define-public twolame
(uri (string-append "mirror://sourceforge/twolame/twolame/" version
"/twolame-" version ".tar.gz"))
(sha256
(base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))))
(base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))
(modules '((guix build utils)))
;; The tests break with Perl 5.24:
;; https://github.com/njh/twolame/issues/21
;; TODO: Remove this snippet when upgrading twolame.
(snippet
'(begin
(substitute* "tests/test.pl" (("\\(@_\\)") "($_[0])"))
#t))))
(build-system gnu-build-system)
(inputs
`(("libsndfile" ,libsndfile)))