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