nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 783 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 ipython, 7 matplotlib, 8 numpy, 9 pillow, 10}: 11 12buildPythonPackage rec { 13 pname = "mediapy"; 14 version = "1.2.5"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-LHpMUXBLJmQnNxkKbl++qCYLAn/enZnGRKZwJVquhg8="; 20 }; 21 22 nativeBuildInputs = [ flit-core ]; 23 24 propagatedBuildInputs = [ 25 ipython 26 matplotlib 27 numpy 28 pillow 29 ]; 30 31 pythonImportsCheck = [ "mediapy" ]; 32 33 meta = { 34 description = "Read/write/show images and videos in an IPython notebook"; 35 homepage = "https://github.com/google/mediapy"; 36 changelog = "https://github.com/google/mediapy/releases/tag/v${version}"; 37 license = lib.licenses.asl20; 38 maintainers = with lib.maintainers; [ mcwitt ]; 39 }; 40}