1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pylibrespot-java"; 11 version = "0.1.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "uvjustin"; 16 repo = "pylibrespot-java"; 17 tag = "v${version}"; 18 hash = "sha256-aPmyYsO8yBrlPEQXOGNjZvuO8QZr13SOH09gqjW4WPA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ aiohttp ]; 24 25 pythonImportsCheck = [ 26 "pylibrespot_java" 27 ]; 28 29 meta = { 30 description = "Simple library to interface with a librespot-java server"; 31 homepage = "https://github.com/uvjustin/pylibrespot-java"; 32 changelog = "https://github.com/uvjustin/pylibrespot-java/tag/v${version}"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ 35 hensoko 36 ]; 37 }; 38}