1{ lib, buildPythonPackage, fetchFromGitHub, requests 2, tqdm, websocket-client, pythonOlder }: 3 4buildPythonPackage rec { 5 pname = "python-mpv-jsonipc"; 6 version = "1.1.11"; 7 disabled = pythonOlder "3.6"; 8 9 src = fetchFromGitHub { 10 owner = "iwalton3"; 11 repo = "python-mpv-jsonipc"; 12 rev = "v${version}"; 13 sha256 = "034vc2j54dciiq80k7jn6kx4g7i58sjk0ykma039k5rihj2rblpk"; 14 }; 15 16 # 'mpv-jsonipc' does not have any tests 17 doCheck = false; 18 19 propagatedBuildInputs = [ requests tqdm websocket-client ]; 20 21 pythonImportsCheck = [ "python_mpv_jsonipc" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/iwalton3/python-mpv-jsonipc"; 25 description = "Python API to MPV using JSON IPC"; 26 license = licenses.gpl3; 27 maintainers = with maintainers; [ colemickens ]; 28 }; 29}