1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 requests, 7 vcrpy, 8 pytestCheckHook, 9}: 10buildPythonPackage rec { 11 pname = "lrclibapi"; 12 version = "0.3.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Dr-Blank"; 17 repo = "lrclibapi"; 18 tag = "v${version}"; 19 hash = "sha256-K5wO3BexftnWe48loaW8TjySQvh2X+X3GSmG5qg+BGc="; 20 }; 21 22 build-system = [ 23 poetry-core 24 ]; 25 26 dependencies = [ 27 requests 28 ]; 29 30 pythonImportsCheck = [ 31 "lrclib" 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 vcrpy 37 ]; 38 39 meta = { 40 homepage = "https://github.com/Dr-Blank/lrclibapi"; 41 changelog = "https://github.com/Dr-Blank/lrclibapi/releases/tag/v${version}"; 42 description = "Python wrapper for downloading synced lyrics from the lrclib.net api"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ DataHearth ]; 45 }; 46}