blob: 502d6a2b73cf632a631a3957986e67fa6cf69817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# tests
matplotlib,
ipympl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mpltoolbox";
version = "25.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scipp";
repo = "mpltoolbox";
tag = version;
hash = "sha256-hHx2pstLnmvgDea2f+Wyhl+U8gijlhkARsqZ31pgjCU=";
};
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 ];
};
}
|