python314Packages.aubio-ledfx: init at 0.4.11 and replace python3Packages.aubio
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
ffmpeg-headless,
|
||||
libsamplerate,
|
||||
libsndfile,
|
||||
meson-python,
|
||||
numpy,
|
||||
pkg-config,
|
||||
pytestCheckHook,
|
||||
rubberband,
|
||||
setuptools,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aubio-ledfx";
|
||||
version = "0.4.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LedFx";
|
||||
repo = "aubio-ledfx";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ec6QiTj1AOza+ggJPl3EULNDB/rrpCDZW0HaSywy/4E=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
meson-python
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libsamplerate
|
||||
libsndfile
|
||||
]
|
||||
++ lib.optionals stdenv.targetPlatform.isLinux [
|
||||
ffmpeg-headless
|
||||
]
|
||||
++ lib.optionals (!stdenv.targetPlatform.isLinux) [
|
||||
rubberband
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "aubio" ];
|
||||
|
||||
meta = {
|
||||
description = "Collection of tools for music analysis";
|
||||
homepage = "https://github.com/LedFx/aubio-ledfx";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
})
|
||||
@@ -1,54 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aubio";
|
||||
version = "0.4.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aubio";
|
||||
repo = "aubio";
|
||||
rev = version;
|
||||
hash = "sha256-RvzhB1kQNP0IbAygwH2RBi/kSyuFPAHgsiCATPeMHTo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# fix "incompatible function pointer types initializing 'PyUFuncGenericFunction'"
|
||||
name = "const-function-signature.patch";
|
||||
url = "https://github.com/aubio/aubio/commit/95ff046c698156f21e2ca0d1d8a02c23ab76969f.patch";
|
||||
hash = "sha256-qKcIPjpcZUizSN/t96WOiOn+IlsrlC0+g7gW77KejH0=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "aubio" ];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/aubio/aubio/issues/413
|
||||
"test_assign_cvec_phas_slice"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Library for audio and music analysis";
|
||||
homepage = "https://aubio.org";
|
||||
changelog = "https://github.com/aubio/aubio/blob/${version}/ChangeLog";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -94,6 +94,7 @@ mapAliases {
|
||||
async_stagger = throw "'async_stagger' has been renamed to/replaced by 'async-stagger'"; # Converted to throw 2025-10-29
|
||||
asyncio-nats-client = throw "'asyncio-nats-client' has been renamed to/replaced by 'nats-py'"; # Converted to throw 2025-10-29
|
||||
atsim_potentials = throw "'atsim_potentials' has been renamed to/replaced by 'atsim-potentials'"; # Converted to throw 2025-10-29
|
||||
aubio = throw "'aubio' only direct user LedFX switched to a fork named 'aubio-ledfx', hence the aubio package has been replaced."; # Added 2026-04-20
|
||||
audio-metadata = throw "'audio-metadata' has been removed as it's unmaintained since 2020"; # Added 2026-03-12
|
||||
autotrash = throw "'autotrash' has been renamed to/replaced by 'super.pkgs.autotrash'"; # Converted to throw 2025-10-29
|
||||
av_13 = throw "'av_13' has been renamed to/replaced by 'av'"; # Added 2026-02-01
|
||||
|
||||
@@ -1220,7 +1220,7 @@ self: super: with self; {
|
||||
|
||||
attrs-strict = callPackage ../development/python-modules/attrs-strict { };
|
||||
|
||||
aubio = callPackage ../development/python-modules/aubio { };
|
||||
aubio-ledfx = callPackage ../development/python-modules/aubio-ledfx { };
|
||||
|
||||
audible = callPackage ../development/python-modules/audible { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user