1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 aiohttp, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pyforked-daapd"; 13 version = "0.1.14"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-v1NOlwP8KtBsQiqwbx1y8p8lABEuEJdNhvR2kGzLxKs="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 aiohttp 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "pyforked_daapd" 37 ]; 38 39 # Tests require a running forked-daapd server 40 doCheck = false; 41 42 meta = with lib; { 43 description = "Python interface for forked-daapd"; 44 homepage = "https://github.com/uvjustin/pyforked-daapd"; 45 changelog = "https://github.com/uvjustin/pyforked-daapd/blob/v${version}/CHANGES.txt"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ ]; 48 }; 49}