depot/third_party/nixpkgs/pkgs/development/python-modules/mediapy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
834 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, flit-core
, ipython
, matplotlib
, numpy
, pillow
}:
buildPythonPackage rec {
pname = "mediapy";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-enxOx0hZ+fksk8ibsDWg0Bl/cJeSBHE37bN/D1ucECg=";
};
nativeBuildInputs = [
flit-core
];
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";
changelog = "https://github.com/google/mediapy/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ mcwitt ];
};
}