1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, ipython
6, matplotlib
7, numpy
8, pillow
9}:
10
11buildPythonPackage rec {
12 pname = "mediapy";
13 version = "1.1.0";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-CejgiCiW7an1GpKB5MUiA1Alkigv3RmfTq0um9pc93E=";
20 };
21
22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ];
23
24 pythonImportsCheck = [ "mediapy" ];
25
26 meta = with lib; {
27 description = "Read/write/show images and videos in an IPython notebook";
28 homepage = "https://github.com/google/mediapy";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ mcwitt ];
31 };
32}