python312Packages.opuslib: fix build and tests

This commit is contained in:
Martin Weinelt
2024-05-12 15:58:21 +02:00
parent 9175a5cc1f
commit 72bb21b14b
@@ -1,17 +1,20 @@
{ buildPythonPackage,
{
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
isPy27,
libopus,
nose,
lib, stdenv,
pynose,
lib,
stdenv,
substituteAll,
setuptools,
}:
buildPythonPackage rec {
pname = "opuslib";
version = "3.0.3";
format = "setuptools";
pyproject = true;
disabled = isPy27;
@@ -41,7 +44,11 @@ buildPythonPackage rec {
})
];
nativeCheckInputs = [ nose ];
build-system = [
setuptools
];
nativeCheckInputs = [ pynose ];
meta = with lib; {
description = "Python bindings to the libopus, IETF low-delay audio codec";