{ lib , buildPythonPackage , isPy27 , fetchPypi , requests }: buildPythonPackage rec { pname = "ytmusicapi"; version = "0.19.2"; disabled = isPy27; src = fetchPypi { inherit pname version; sha256 = "sha256-Vmf3eZpeRPDYWy6fc8VRYsQZJrwwX3KTs0njfPy6HRE="; }; propagatedBuildInputs = [ requests ]; doCheck = false; # requires network access pythonImportsCheck = [ "ytmusicapi" ]; meta = with lib; { description = "Unofficial API for YouTube Music"; homepage = "https://github.com/sigma67/ytmusicapi"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; }