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