Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / python-mpv-jsonipc / default.nix
blob76570a0309803ffa4eee12ad27becc9f0f7b26e7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   requests,
6   tqdm,
7   websocket-client,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "python-mpv-jsonipc";
13   version = "1.2.0";
14   format = "setuptools";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "iwalton3";
19     repo = "python-mpv-jsonipc";
20     rev = "v${version}";
21     hash = "sha256-W9TNtbRhQmwZXhi0TJIDkZRtWhi92/iwL056YIcWnLM=";
22   };
24   # 'mpv-jsonipc' does not have any tests
25   doCheck = false;
27   propagatedBuildInputs = [
28     requests
29     tqdm
30     websocket-client
31   ];
33   pythonImportsCheck = [ "python_mpv_jsonipc" ];
35   meta = with lib; {
36     homepage = "https://github.com/iwalton3/python-mpv-jsonipc";
37     description = "Python API to MPV using JSON IPC";
38     license = licenses.gpl3;
39     maintainers = with maintainers; [ ];
40   };