acousticbrainz-client: remove
Co-authored-by: aszlig <aszlig@nix.build>
This commit is contained in:
parent
db10d610dd
commit
9ed5c8c88b
@ -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";
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user