Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.8"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-mVhBM+NQEkLYByp/kCPFJCAY26La5CWjcPl6PgclA9A="; 20 }; 21 22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ]; 23 24 format = "flit"; 25 26 pythonImportsCheck = [ "mediapy" ]; 27 28 meta = with lib; { 29 description = "Read/write/show images and videos in an IPython notebook"; 30 homepage = "https://github.com/google/mediapy"; 31 license = licenses.asl20; 32 maintainers = with maintainers; [ mcwitt ]; 33 }; 34}