nixpkgs/pkgs/development/python-modules/seaborn/default.nix

33 lines
681 B
Nix
Raw Normal View History

2017-10-29 12:30:54 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pandas
, matplotlib
}:
buildPythonPackage rec {
pname = "seaborn";
2018-07-22 10:20:36 +00:00
version = "0.9.0";
2017-10-29 12:30:54 +00:00
src = fetchPypi {
inherit pname version;
2018-07-22 10:20:36 +00:00
sha256 = "76c83f794ca320fb6b23a7c6192d5e185a5fcf4758966a0c0a54baee46d41e2f";
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 ];
};
}