Skip to content

Commit

Permalink
python312Packages.opuslib: fix build and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed May 12, 2024
1 parent 9175a5c commit 72bb21b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pkgs/development/python-modules/opuslib/default.nix
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 72bb21b

Please sign in to comment.