python312Packages.mpltoolbox: init at 25.04.0

This commit is contained in:
Doron Behar 2025-05-23 12:56:26 +03:00
parent e1431afa50
commit 36fc8a258f
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# tests
matplotlib,
ipympl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mpltoolbox";
version = "25.04.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scipp";
repo = "mpltoolbox";
tag = version;
hash = "sha256-+LqPTlVbSxuewWuPNUfGdgQjWFxo7s2i3e21WkNNK78=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
matplotlib
];
nativeCheckInputs = [
ipympl
pytestCheckHook
];
pythonImportsCheck = [
"mpltoolbox"
];
meta = {
description = "Interactive tools for Matplotlib";
homepage = "https://scipp.github.io/mpltoolbox/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ doronbehar ];
};
}

View File

@ -9369,6 +9369,8 @@ self: super: with self; {
mplleaflet = callPackage ../development/python-modules/mplleaflet { };
mpltoolbox = callPackage ../development/python-modules/mpltoolbox { };
mpmath = callPackage ../development/python-modules/mpmath { };
mpris-server = callPackage ../development/python-modules/mpris-server { };