python3Packages.seaborn: add missing dependencies

This commit is contained in:
Fabian Affolter 2021-11-25 21:46:22 +01:00
parent 7c52900af1
commit e822c34ff9

View file

@ -1,15 +1,19 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, nose
, pandas
, matplotlib
, pytestCheckHook
, numpy
, pandas
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "seaborn";
version = "0.11.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -17,16 +21,20 @@ buildPythonPackage rec {
sha256 = "cf45e9286d40826864be0e3c066f98536982baf701a7caa386511792d61ff4f6";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ pandas matplotlib ];
propagatedBuildInputs = [
matplotlib
numpy
pandas
scipy
];
checkPhase = ''
nosetests -v
'';
checkInputs = [
pytestCheckHook
];
# Computationally very demanding tests
doCheck = false;
pythonImportsCheck= [ "seaborn" ];
pythonImportsCheck= [
"seaborn"
];
meta = {
description = "Statisitical data visualization";