Skip to content

Commit 3ff2166

Browse files
authored
python312Packages.matplotlib-venn: fix build (#383710)
2 parents d9b69c3 + 1db6095 commit 3ff2166

File tree

1 file changed

+10
-1
lines changed
  • pkgs/development/python-modules/matplotlib-venn

1 file changed

+10
-1
lines changed

pkgs/development/python-modules/matplotlib-venn/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
22
lib,
3+
stdenv,
34
fetchPypi,
45
buildPythonPackage,
56
setuptools,
67
matplotlib,
78
numpy,
89
scipy,
10+
shapely,
911
pytestCheckHook,
1012
}:
1113

1214
buildPythonPackage rec {
13-
version = "1.1.1";
1415
pname = "matplotlib-venn";
16+
version = "1.1.1";
1517

1618
pyproject = true;
1719

@@ -26,6 +28,12 @@ buildPythonPackage rec {
2628
matplotlib
2729
numpy
2830
scipy
31+
shapely
32+
];
33+
34+
disabledTests = [
35+
# See https://github.com/konstantint/matplotlib-venn/issues/85
36+
"matplotlib_venn.layout.venn3.cost_based.LayoutAlgorithm"
2937
];
3038

3139
nativeCheckInputs = [ pytestCheckHook ];
@@ -36,5 +44,6 @@ buildPythonPackage rec {
3644
changelog = "https://github.com/konstantint/matplotlib-venn/releases/tag/${version}";
3745
license = lib.licenses.mit;
3846
maintainers = with lib.maintainers; [ moraxyc ];
47+
broken = stdenv.hostPlatform.isDarwin; # https://github.com/konstantint/matplotlib-venn/issues/87
3948
};
4049
}

0 commit comments

Comments
 (0)