nixpkgs/pkgs/development/python-modules/matplotlib-inline/default.nix
Martin Weinelt 8ce61e73ba python3Packages.matplotlib-inline: 0.1.7 -> 0.2.1
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:30 +01:00

47 lines
913 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
traitlets,
# tests
ipython,
}:
buildPythonPackage rec {
pname = "matplotlib-inline";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ipython";
repo = "matplotlib-inline";
tag = version;
hash = "sha256-qExS0SsbnYgu0wFTew90z5QwPyJ+UWGVEgFURSMedSY=";
};
build-system = [ flit-core ];
dependencies = [ traitlets ];
# wants to import ipython, which creates a circular dependency
doCheck = false;
#
pythonImportsCheck = [
# tries to import matplotlib, which can't work with doCheck disabled
#"matplotlib_inline"
];
passthru.tests = {
inherit ipython;
};
meta = {
description = "Matplotlib Inline Back-end for IPython and Jupyter";
homepage = "https://github.com/ipython/matplotlib-inline";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}