My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/seaborn/default.nix

59 lines
1.1 KiB

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, matplotlib
, pytestCheckHook
, numpy
, pandas
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "seaborn";
version = "0.11.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "cf45e9286d40826864be0e3c066f98536982baf701a7caa386511792d61ff4f6";
};
propagatedBuildInputs = [
matplotlib
numpy
pandas
scipy
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# incompatible with matplotlib 3.5
"TestKDEPlotBivariate"
"TestBoxPlotter"
"TestCatPlot"
"TestKDEPlotUnivariate"
"test_with_rug"
"test_bivariate_kde_norm"
] ++ lib.optionals (!stdenv.hostPlatform.isx86) [
# overly strict float tolerances
"TestDendrogram"
];
pythonImportsCheck = [
"seaborn"
];
meta = with lib; {
description = "Statisitical data visualization";
homepage = "https://seaborn.pydata.org/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fridh ];
};
}