mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
matplotlib,
|
|
numpy,
|
|
scipy,
|
|
shapely,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "matplotlib-venn";
|
|
version = "1.1.2";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-bysHoD6btaYt4vMvllIWc54XUXb51lTdGeevLCLsNuM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
matplotlib
|
|
numpy
|
|
scipy
|
|
shapely
|
|
];
|
|
|
|
disabledTests = [
|
|
# See https://github.com/konstantint/matplotlib-venn/issues/85
|
|
"matplotlib_venn.layout.venn3.cost_based.LayoutAlgorithm"
|
|
];
|
|
|
|
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 ];
|
|
broken = stdenv.hostPlatform.isDarwin; # https://github.com/konstantint/matplotlib-venn/issues/87
|
|
};
|
|
}
|