1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 poetry-core, 7 pythonOlder, 8 rapidfuzz, 9 requests, 10}: 11 12buildPythonPackage rec { 13 pname = "syncedlyrics"; 14 version = "1.0.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "rtcq"; 21 repo = "syncedlyrics"; 22 tag = "v${version}"; 23 hash = "sha256-rKYze8Z7F6cEkpex6UCFUW9+mf2UWT+T86C5COhYQHY="; 24 }; 25 26 build-system = [ 27 poetry-core 28 ]; 29 30 pythonRelaxDeps = [ "rapidfuzz" ]; 31 32 dependencies = [ 33 requests 34 rapidfuzz 35 beautifulsoup4 36 ]; 37 38 # Tests require network access 39 doCheck = false; 40 41 pythonImportsCheck = [ "syncedlyrics" ]; 42 43 meta = with lib; { 44 description = "Module to get LRC format (synchronized) lyrics"; 45 homepage = "https://github.com/rtcq/syncedlyrics"; 46 changelog = "https://github.com/rtcq/syncedlyrics/releases/tag/v${version}"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ fab ]; 49 mainProgram = "syncedlyrics"; 50 }; 51}