python310Packages.mediapy: refactor

This commit is contained in:
Fabian Affolter
2023-12-21 11:11:43 +01:00
committed by GitHub
parent cfd3e9017e
commit 09974e2606
@@ -12,25 +12,34 @@
buildPythonPackage rec {
pname = "mediapy";
version = "1.2.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-enxOx0hZ+fksk8ibsDWg0Bl/cJeSBHE37bN/D1ucECg=";
};
nativeBuildInputs = [ flit-core ];
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [ ipython matplotlib numpy pillow ];
propagatedBuildInputs = [
ipython
matplotlib
numpy
pillow
];
pythonImportsCheck = [ "mediapy" ];
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 ];
};