mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 01:16:57 +01:00
python310Packages.mediapy: init at 1.0.3
This commit is contained in:
parent
d57f20b903
commit
93aa15cebe
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/mediapy/default.nix
Normal file
32
pkgs/development/python-modules/mediapy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -5368,6 +5368,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 { };
|
||||
|
|
Loading…
Reference in a new issue