Commit 1f9d0caa authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.audio-metadata: drop

Unmaintained since 2020.
parent 65feaa4c
Loading
Loading
Loading
Loading
+0 −67
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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;