depot/third_party/nixpkgs/pkgs/development/python-modules/matplotlib-venn/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
836 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
matplotlib,
numpy,
scipy,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.11.10";
pname = "matplotlib-venn";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-kNDPsnnF273339ciwOJRWjf1NelJvK0XRIO8d343LmU=";
};
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 ];
};
}