1 { lib, buildPythonPackage, fetchFromGitHub, requests
2 , tqdm, websocket_client, pythonOlder }:
4 buildPythonPackage rec {
5 pname = "python-mpv-jsonipc";
7 disabled = pythonOlder "3.6";
9 src = fetchFromGitHub {
11 repo = "python-mpv-jsonipc";
13 sha256 = "034vc2j54dciiq80k7jn6kx4g7i58sjk0ykma039k5rihj2rblpk";
16 # 'mpv-jsonipc' does not have any tests
19 propagatedBuildInputs = [ requests tqdm websocket_client ];
21 pythonImportsCheck = [ "python_mpv_jsonipc" ];
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 ];