1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "webrtcvad"; 8 version = "2.0.10"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "f1bed2fb25b63fb7b1a55d64090c993c9c9167b28485ae0bcdd81cf6ede96aea"; 13 }; 14 15 # required WAV files for testing are not included in the tarball 16 doCheck = false; 17 18 meta = { 19 description = "Interface to the Google WebRTC Voice Activity Detector (VAD)"; 20 homepage = "https://github.com/wiseman/py-webrtcvad"; 21 license = with lib.licenses; [ mit ]; 22 maintainers = with lib.maintainers; [ prusnak ]; 23 }; 24}