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

38 lines
748 B
Nix
Raw Normal View History

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