python3Packages.webrtcvad: migrate to pyproject (#534263)
This commit is contained in:
@@ -2,25 +2,32 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "webrtcvad";
|
||||
version = "2.0.10";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f1bed2fb25b63fb7b1a55d64090c993c9c9167b28485ae0bcdd81cf6ede96aea";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-8b7S+yW2P7expV1kCQyZPJyRZ7KEha4Lzdgc9u3pauo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# required WAV files for testing are not included in the tarball
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "webrtcvad" ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user