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-05-09 10:17:42 +01:00
|
|
|
version = "0.10.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-05-09 10:17:42 +01:00
|
|
|
sha256 = "2d1a0c9d6bd1bc3cadb0364b8f06540f51322a670cf8438d0fde1c1c7317adc0";
|
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";
|
|
|
|
homepage = "http://stanford.edu/~mwaskom/software/seaborn/";
|
|
|
|
license = with lib.licenses; [ bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-02-13 06:36:24 +00:00
|
|
|
}
|