2017-10-29 12:30:54 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-02-13 06:36:24 +00:00
|
|
|
, pythonOlder
|
2017-10-29 12:30:54 +00:00
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, pandas
|
|
|
|
, matplotlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "seaborn";
|
2020-12-22 04:10:52 +00:00
|
|
|
version = "0.11.1";
|
2020-02-13 06:36:24 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2017-10-29 12:30:54 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-22 04:10:52 +00:00
|
|
|
sha256 = "44e78eaed937c5a87fc7a892c329a7cc091060b67ebd1d0d306b446a74ba01ad";
|
2017-10-29 12:30:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ pandas matplotlib ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -v
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Computationally very demanding tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Statisitical data visualization";
|
2020-10-02 05:20:00 +01:00
|
|
|
homepage = "https://seaborn.pydata.org/";
|
2017-10-29 12:30:54 +00:00
|
|
|
license = with lib.licenses; [ bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-02-13 06:36:24 +00:00
|
|
|
}
|