16 buildPythonPackage rec {
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
26 rev = "refs/tags/v${version}";
27 hash = "sha256-aGIVcdG/XN999nYBHh3lJqGa3QVt0j8kmzaxdkULznY=";
34 propagatedBuildInputs = [
40 passthru.optional-dependencies = {
53 # requires internet connection
54 "test_load_dataset_string_error"
55 ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [
56 # overly strict float tolerances
60 # All platforms should use Agg. Let's set it explicitly to avoid probing GUI
61 # backends (leads to crashes on macOS).
64 pythonImportsCheck = [
69 description = "Statistical data visualization";
70 homepage = "https://seaborn.pydata.org/";
71 changelog = "https://github.com/mwaskom/seaborn/blob/master/doc/whatsnew/${src.rev}.rst";
72 license = with licenses; [ bsd3 ];
73 maintainers = with maintainers; [ fridh ];