Merge pull request #183864 from mcwitt/init-mediapy

This commit is contained in:
Winter 2022-07-29 21:10:11 -04:00 committed by GitHub
commit 0981c102aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, ipython
, matplotlib
, numpy
, pillow
}:
buildPythonPackage rec {
pname = "mediapy";
version = "1.0.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-cM8u27XSN4VzXONk+tQElZgT5XdShWXq0UtDg5JbF9o=";
};
propagatedBuildInputs = [ ipython matplotlib numpy pillow ];
pythonImportsCheck = [ "mediapy" ];
meta = with lib; {
description = "Read/write/show images and videos in an IPython notebook";
homepage = "https://github.com/google/mediapy";
license = licenses.asl20;
maintainers = with maintainers; [ mcwitt ];
};
}

View file

@ -5386,6 +5386,8 @@ in {
mediafile = callPackage ../development/python-modules/mediafile { };
mediapy = callPackage ../development/python-modules/mediapy { };
meilisearch = callPackage ../development/python-modules/meilisearch { };
meinheld = callPackage ../development/python-modules/meinheld { };