18 buildPythonPackage rec {
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-nzKvEoh1DrZegoRNqOCh9Qm+7B7uQ9dEH75mVueGxZI=";
31 # remove poetry and virtualenv from build dependencies as they are not used
32 # https://github.com/dotX12/ShazamIO/pull/71
34 name = "remove-unused-build-dependencies.patch";
35 url = "https://github.com/dotX12/ShazamIO/commit/5c61e1efe51c2826852da5b6aa6ad8ce3d4012a9.patch";
36 hash = "sha256-KiU5RVBPnSs5qrReFeTe9ePg1fR7y0NchIIHcQwlPaI=";
45 propagatedBuildInputs = [
61 # requires internet access
63 "test_recognize_song_file"
64 "test_recognize_song_bytes"
67 pythonImportsCheck = [ "shazamio" ];
70 description = "A free asynchronous library from reverse engineered Shazam API";
71 homepage = "https://github.com/dotX12/ShazamIO";
72 changelog = "https://github.com/dotX12/ShazamIO/releases/tag/${src.rev}";
73 license = licenses.mit;
74 maintainers = with maintainers; [ figsoda ];
75 # https://github.com/shazamio/ShazamIO/issues/80
76 broken = versionAtLeast pydantic.version "2";