From 9ed5c8c88b3c6722e4f4c13790bc062e69297b74 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 3 Jun 2024 16:51:33 +0300 Subject: [PATCH] acousticbrainz-client: remove Co-authored-by: aszlig --- .../audio/acousticbrainz-client/default.nix | 42 ------------------- pkgs/tools/audio/beets/builtin-plugins.nix | 3 +- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 4 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 pkgs/tools/audio/acousticbrainz-client/default.nix diff --git a/pkgs/tools/audio/acousticbrainz-client/default.nix b/pkgs/tools/audio/acousticbrainz-client/default.nix deleted file mode 100644 index 1d4b59ed2c92..000000000000 --- a/pkgs/tools/audio/acousticbrainz-client/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages, essentia-extractor }: - -python3Packages.buildPythonApplication rec { - pname = "acousticbrainz-client"; - version = "0.1"; - - src = fetchFromGitHub { - owner = "MTG"; - repo = "acousticbrainz-client"; - rev = version; - sha256 = "1g1nxh58939vysfxplrgdz366dlqnic05pkzbqh75m79brg4yrv1"; - }; - - propagatedBuildInputs = [ essentia-extractor python3Packages.requests ]; - - postPatch = '' - # The installer needs the streaming_extractor_music binary in the source directoy, - # so we provide a symlink to it. - ln -s ${essentia-extractor}/bin/streaming_extractor_music streaming_extractor_music - ''; - - postInstall = '' - # The installer includes a copy of the streaming_extractor_music binary (not a symlink), - # which we don't need, because the wrapper adds essentia-extractor/binary to PATH. - rm $out/bin/streaming_extractor_music - ''; - - # Tests seem to be broken, but the tool works - doCheck = false; - - pythonImportsCheck = [ "abz" ]; - - meta = with lib; { - description = "A client to upload data to an AcousticBrainz server"; - license = licenses.gpl3Plus; - homepage = "https://github.com/MTG/acousticbrainz-client"; - # essentia-extractor is only available for those platforms - platforms = [ "x86_64-linux" "i686-linux" ]; - maintainers = with maintainers; [ ]; - mainProgram = "abzsubmit"; - }; -} diff --git a/pkgs/tools/audio/beets/builtin-plugins.nix b/pkgs/tools/audio/beets/builtin-plugins.nix index 6b89f74795a8..15d7504ccd6c 100644 --- a/pkgs/tools/audio/beets/builtin-plugins.nix +++ b/pkgs/tools/audio/beets/builtin-plugins.nix @@ -13,8 +13,7 @@ , ... }: { absubmit = { - enable = lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms; - wrapperBins = [ essentia-extractor ]; + deprecated = true; testPaths = [ ]; }; acousticbrainz.propagatedBuildInputs = [ python3Packages.requests ]; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 4f54816185f0..a343b2d2d3e1 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -59,6 +59,7 @@ mapAliases ({ AusweisApp2 = ausweisapp; # Added 2023-11-08 a4term = a4; # Added 2023-10-06 acorn = throw "acorn has been removed as the upstream project was archived"; # Added 2024-04-27 + acousticbrainz-client = throw "acousticbrainz-client has been removed since the AcousticBrainz project has been shut down"; # Added 2024-06-04 adtool = throw "'adtool' has been removed, as it was broken and unmaintained"; advcpmv = throw "'advcpmv' has been removed, as it is not being actively maintained and break recent coreutils."; # Added 2024-03-29 aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d89c5a2f8840..d3f86e00fbca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1505,8 +1505,6 @@ with pkgs; acme-sh = callPackage ../tools/admin/acme-sh { }; - acousticbrainz-client = callPackage ../tools/audio/acousticbrainz-client { }; - alsaequal = callPackage ../tools/audio/alsaequal { }; acpica-tools = callPackage ../tools/system/acpica-tools { };