2017-10-29 13:30:54 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, pandas
|
|
|
|
, matplotlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "seaborn";
|
2017-12-30 12:27:07 +01:00
|
|
|
version = "0.8.1";
|
2017-10-29 13:30:54 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:27:07 +01:00
|
|
|
sha256 = "6702978b903d0284446e935916b980dfebae4063c18ad8eb6e8f9e76d0257eae";
|
2017-10-29 13:30:54 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|