pythonPackages.mpv-jsonipc: init at unstable-2020-02-19

This commit is contained in:
Cole Mickens 2020-02-06 22:40:54 -08:00 committed by Jon
parent a4019eb9de
commit 486b9fc160
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pythonOlder }:
buildPythonPackage rec {
pname = "python-mpv-jsonipc";
version = "1.1.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "iwalton3";
repo = "python-mpv-jsonipc";
rev = "v${version}";
sha256 = "08bs6qrcf5fi72jijmr2w7zs6aa5976dwv04f11ajwhj6i8kfq35";
};
# 'mpv-jsonipc' does not have any tests
doCheck = false;
propagatedBuildInputs = [ requests tqdm websocket_client ];
pythonImportsCheck = [ "python_mpv_jsonipc" ];
meta = with lib; {
homepage = "https://github.com/iwalton3/python-mpv-jsonipc";
description = "Python API to MPV using JSON IPC";
license = licenses.gpl3;
maintainers = with maintainers; [ colemickens ];
};
}

View File

@ -883,6 +883,8 @@ in {
mpi = pkgs.openmpi;
};
python-mpv-jsonipc = callPackage ../development/python-modules/python-mpv-jsonipc { };
msal = callPackage ../development/python-modules/msal { };
msal-extensions = callPackage ../development/python-modules/msal-extensions { };