1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pyvolumio"; 11 version = "0.1.5"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "OnFreund"; 18 repo = "PyVolumio"; 19 rev = "v${version}"; 20 sha256 = "1nyvflap39cwq1cm9wwl9idvfmz1ixsl80f1dnskx22fk0lmvj4h"; 21 }; 22 23 propagatedBuildInputs = [ aiohttp ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pyvolumio" ]; 29 30 meta = with lib; { 31 description = "Python module to control Volumio"; 32 homepage = "https://github.com/OnFreund/PyVolumio"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}