2024-05-20 01:09:37 +08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
setuptools,
|
|
|
|
matplotlib,
|
|
|
|
numpy,
|
|
|
|
scipy,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2025-01-19 21:16:25 +01:00
|
|
|
version = "1.1.1";
|
2024-05-20 01:09:37 +08:00
|
|
|
pname = "matplotlib-venn";
|
|
|
|
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2025-01-19 21:16:25 +01:00
|
|
|
hash = "sha256-2IW8AV9QkaS4qBOP8gp+0WbDO1w228BIn5Wly8dqKuU=";
|
2024-05-20 01:09:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
matplotlib
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Functions for plotting area-proportional two- and three-way Venn diagrams in matplotlib";
|
|
|
|
homepage = "https://github.com/konstantint/matplotlib-venn";
|
|
|
|
changelog = "https://github.com/konstantint/matplotlib-venn/releases/tag/${version}";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ moraxyc ];
|
|
|
|
};
|
|
|
|
}
|