python3Packages.{audio-metadata,tbm-utils}: drop (#499459)

This commit is contained in:
Yohann Boniface
2026-03-16 22:42:30 +00:00
committed by GitHub
4 changed files with 2 additions and 160 deletions
@@ -1,67 +0,0 @@
{
lib,
attrs,
bidict,
bitstruct,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
more-itertools,
pendulum,
poetry-core,
pprintpp,
tbm-utils,
}:
buildPythonPackage rec {
pname = "audio-metadata";
version = "0.11.1";
pyproject = true;
src = fetchFromGitHub {
owner = "thebigmunch";
repo = "audio-metadata";
tag = version;
hash = "sha256-5ZX4HwbuB9ZmFfHuxaMCrn3R7/znuDsoyqqLql2Nizg=";
};
patches = [
# Switch to poetry-core, https://github.com/thebigmunch/audio-metadata/pull/41
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/thebigmunch/audio-metadata/commit/dfe91a69ee37e9dcefb692165eb0f9cd36a7e5b8.patch";
hash = "sha256-ut3mqgZQu0YFbsTEA13Ch0+aSNl17ndMV0fuIu3n5tc=";
})
];
pythonRelaxDeps = [
"attrs"
"more-itertools"
"pendulum"
];
build-system = [ poetry-core ];
dependencies = [
attrs
bidict
bitstruct
more-itertools
pendulum
pprintpp
tbm-utils
];
# Tests require ward which is not ready to be used
doCheck = false;
pythonImportsCheck = [ "audio_metadata" ];
meta = {
description = "Library for handling the metadata from audio files";
homepage = "https://github.com/thebigmunch/audio-metadata";
changelog = "https://github.com/thebigmunch/audio-metadata/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jakewaksbaum ];
};
}
@@ -1,89 +0,0 @@
{
lib,
stdenv,
attrs,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pendulum,
poetry-core,
pprintpp,
pytestCheckHook,
wrapt,
}:
buildPythonPackage rec {
pname = "tbm-utils";
version = "2.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "thebigmunch";
repo = "tbm-utils";
tag = version;
hash = "sha256-AEKawsAxDSDNkIaXEFFgdEBOY2PpASDrhlDrsnM5eyA=";
};
patches = [
# Migrate to pendulum > 3, https://github.com/thebigmunch/tbm-utils/pull/3
(fetchpatch {
name = "support-pendulum-3.patch";
url = "https://github.com/thebigmunch/tbm-utils/commit/473534fae2d9a8dea9100cead6c54cab3f5cd0cd.patch";
hash = "sha256-3T0KhSmO9r1vM67FWEnTZMQV4b5jS2xtPHI0t9NnCmI=";
})
(fetchpatch {
name = "update-testsupport-pendulum-3.patch";
url = "https://github.com/thebigmunch/tbm-utils/commit/a0331d0c15f11cd26bfbb42eebd17296167161ed.patch";
hash = "sha256-KG6yfnnBltavbNvIBTdbK+CPXwZTLYl14925RY2a8vs=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'poetry>=1.0.0' 'poetry-core' \
--replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api'
substituteInPlace pytest.ini \
--replace-fail 'strict = True' 'strict = False'
'';
pythonRelaxDeps = [
"attrs"
"pendulum"
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
attrs
pendulum
pprintpp
wrapt
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Skip on macOS because /etc/localtime is accessed through the pendulum
# library, which is not allowed in a sandboxed build.
"test_create_parser_filter_dates"
"test_parse_args"
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# Skip on macOS because /etc/localtime is accessed through the pendulum
# library, which is not allowed in a sandboxed build.
"tests/test_datetime.py"
"tests/test_misc.py"
];
pythonImportsCheck = [ "tbm_utils" ];
meta = {
description = "Commonly-used set of utilities";
homepage = "https://github.com/thebigmunch/tbm-utils";
changelog = "https://github.com/thebigmunch/tbm-utils/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
+2
View File
@@ -93,6 +93,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
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
Babel = throw "'Babel' has been renamed to/replaced by 'babel'"; # Converted to throw 2025-10-29
@@ -538,6 +539,7 @@ mapAliases {
systembridge = throw "systembridge has been removed because it is unmaintained upstream"; # Added 2025-11-23
systemd = throw "systemd was removed because it was misnamed; use systemd-python instead"; # added 2025-11-09
sysv_ipc = throw "'sysv_ipc' has been renamed to/replaced by 'sysv-ipc'"; # Converted to throw 2025-10-29
tbm-utils = throw "'tbm-utils' has been removed as it is unmaintained since 2020"; # Added 2026-03-12
tensorflow-bin_2 = throw "'tensorflow-bin_2' has been renamed to/replaced by 'tensorflow-bin'"; # Converted to throw 2025-10-29
tensorflow-build_2 = throw "'tensorflow-build_2' has been renamed to/replaced by 'tensorflow-build'"; # Converted to throw 2025-10-29
tensorflow-estimator = throw "'tensorflow-estimator' has been renamed to/replaced by 'tensorflow-estimator-bin'"; # Converted to throw 2025-10-29
-4
View File
@@ -1206,8 +1206,6 @@ self: super: with self; {
audible = callPackage ../development/python-modules/audible { };
audio-metadata = callPackage ../development/python-modules/audio-metadata { };
audioop-lts =
if pythonAtLeast "3.13" then callPackage ../development/python-modules/audioop-lts { } else null;
@@ -18885,8 +18883,6 @@ self: super: with self; {
;
};
tbm-utils = callPackage ../development/python-modules/tbm-utils { };
tccbox = callPackage ../development/python-modules/tccbox { };
tcia-utils = callPackage ../development/python-modules/tcia-utils { };