Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / python-mpv-jsonipc / default.nix
blob82ee7e2092415ead634a9a47e77e9df3b01f51ea
1 { lib, buildPythonPackage, fetchFromGitHub, requests
2 , tqdm, websocket_client, pythonOlder }:
4 buildPythonPackage rec {
5   pname = "python-mpv-jsonipc";
6   version = "1.1.11";
7   disabled = pythonOlder "3.6";
9   src = fetchFromGitHub {
10     owner = "iwalton3";
11     repo = "python-mpv-jsonipc";
12     rev = "v${version}";
13     sha256 = "034vc2j54dciiq80k7jn6kx4g7i58sjk0ykma039k5rihj2rblpk";
14   };
16   # 'mpv-jsonipc' does not have any tests
17   doCheck = false;
19   propagatedBuildInputs = [ requests tqdm websocket_client ];
21   pythonImportsCheck = [ "python_mpv_jsonipc" ];
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   };