1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 setuptools,
6 matplotlib,
7 numpy,
8 scipy,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 version = "0.11.10";
14 pname = "matplotlib-venn";
15
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-kNDPsnnF273339ciwOJRWjf1NelJvK0XRIO8d343LmU=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 matplotlib
27 numpy
28 scipy
29 ];
30
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 meta = {
34 description = "Functions for plotting area-proportional two- and three-way Venn diagrams in matplotlib";
35 homepage = "https://github.com/konstantint/matplotlib-venn";
36 changelog = "https://github.com/konstantint/matplotlib-venn/releases/tag/${version}";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ moraxyc ];
39 };
40}