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