mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python313Packages.audioop-lts: init at 0.2.1
This commit is contained in:
parent
d0d62af653
commit
6297a64a36
43
pkgs/development/python-modules/audioop-lts/default.nix
Normal file
43
pkgs/development/python-modules/audioop-lts/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user