1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-18 15:39:46 +03:00
nixpkgs/pkgs/development/python-modules/seaborn/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
972 B
Nix
Raw Normal View History

2017-10-29 13:30:54 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, matplotlib
, pytestCheckHook
, numpy
, pandas
, pythonOlder
, scipy
2017-10-29 13:30:54 +01:00
}:
buildPythonPackage rec {
pname = "seaborn";
version = "0.11.2";
format = "setuptools";
disabled = pythonOlder "3.6";
2017-10-29 13:30:54 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "cf45e9286d40826864be0e3c066f98536982baf701a7caa386511792d61ff4f6";
2017-10-29 13:30:54 +01:00
};
propagatedBuildInputs = [
matplotlib
numpy
pandas
scipy
];
2017-10-29 13:30:54 +01:00
checkInputs = [
pytestCheckHook
];
2017-10-29 13:30:54 +01:00
disabledTests = [
# Tests fail because of AttributeError:...
"TestKDEPlotBivariate"
"TestBoxPlotter"
"TestCatPlot"
"TestKDEPlotUnivariate"
"test_with_rug"
"test_bivariate_kde_norm"
];
pythonImportsCheck= [
"seaborn"
];
2017-10-29 13:30:54 +01:00
meta = with lib; {
2017-10-29 13:30:54 +01:00
description = "Statisitical data visualization";
homepage = "https://seaborn.pydata.org/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fridh ];
2017-10-29 13:30:54 +01:00
};
}