about summary refs log tree commit diff
path: root/pkgs/development/python-modules/webrtcvad/default.nix
blob: 2bc09f2e0c578574444ac3220e19abd2995a6248 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "webrtcvad";
  version = "2.0.10";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "f1bed2fb25b63fb7b1a55d64090c993c9c9167b28485ae0bcdd81cf6ede96aea";
  };

  # required WAV files for testing are not included in the tarball
  doCheck = false;

  meta = {
    description = "Interface to the Google WebRTC Voice Activity Detector (VAD)";
    homepage = "https://github.com/wiseman/py-webrtcvad";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ prusnak ];
  };
}