python313Packages.audioop-lts: init at 0.2.1

This commit is contained in:
Martin Weinelt 2024-11-15 02:03:45 +01:00
parent d0d62af653
commit 6297a64a36
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "audioop-lts";
version = "0.2.1";
pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub {
owner = "AbstractUmbra";
repo = "audioop";
rev = "refs/tags/${version}";
hash = "sha256-tx5/dcyEfHlYRohfYW/t0UkLiZ9LJHmI8g3sC3+DGAE=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
rm -rf audioop
'';
pythonImportsCheck = [
"audioop"
];
meta = {
changelog = "https://github.com/AbstractUmbra/audioop/releases/tag/${version}";
description = "An LTS port of Python's `audioop` module";
homepage = "https://github.com/AbstractUmbra/audioop";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ hexa ];
};
}

View File

@ -984,6 +984,8 @@ self: super: with self; {
audio-metadata = callPackage ../development/python-modules/audio-metadata { };
audioop-lts = callPackage ../development/python-modules/audioop-lts { };
audioread = callPackage ../development/python-modules/audioread { };
audiotools = callPackage ../development/python-modules/audiotools {