gnu: noisetorch: Update to 0.7.2-beta.

* gnu/packages/pulseaudio.scm (noisetorch): Update to 0.7.2-beta.
[arguments]: Add phase 'disable-update-check.go.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Michael Rohleder 2020-09-02 19:33:18 +02:00 committed by Mathieu Othacehe
parent abd2fde847
commit abafdb2aac
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -538,7 +538,7 @@ (define-public rnnoise
(define-public noisetorch
(package
(name "noisetorch")
(version "0.6.1-beta")
(version "0.7.2-beta")
(source
(origin
(method git-fetch)
@ -547,7 +547,7 @@ (define-public noisetorch
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1jmh7204mhlabdn0azfjrm3kb944j24n0w0cwibqrs9lfgdn8k52"))))
(base32 "06xlqjma8h7lcnqgc9226blps6m9dp487hk71lslfxj0jkay548k"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/lawl/NoiseTorch"
@ -572,6 +572,12 @@ (define-public noisetorch
(lambda ()
(format #t "package main~%~%var version=~s~&" ,version))))
#t))
(add-after 'unpack 'disable-update-check.go
(lambda _
(with-directory-excursion "src/github.com/lawl/NoiseTorch"
(substitute* "main.go"
((".*updateCheck.*") "")))
#t))
(add-before 'build 'go-generate
(lambda _
(with-directory-excursion "src/github.com/lawl/NoiseTorch"