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

37 lines
730 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";
2020-02-06 09:17:46 +00:00
version = "0.10.0";
disabled = pythonOlder "3.6";
2017-10-29 12:30:54 +00:00
src = fetchPypi {
inherit pname version;
2020-02-06 09:17:46 +00:00
sha256 = "59fe414e138d7d5ea08b0feb01b86caf4682e36fa748e3987730523a89aecbb9";
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 ];
};
}