1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, nose 6, pandas 7, matplotlib 8}: 9 10buildPythonPackage rec { 11 pname = "seaborn"; 12 version = "0.11.2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "cf45e9286d40826864be0e3c066f98536982baf701a7caa386511792d61ff4f6"; 18 }; 19 20 checkInputs = [ nose ]; 21 propagatedBuildInputs = [ pandas matplotlib ]; 22 23 checkPhase = '' 24 nosetests -v 25 ''; 26 27 # Computationally very demanding tests 28 doCheck = false; 29 pythonImportsCheck= [ "seaborn" ]; 30 31 meta = { 32 description = "Statisitical data visualization"; 33 homepage = "https://seaborn.pydata.org/"; 34 license = with lib.licenses; [ bsd3 ]; 35 maintainers = with lib.maintainers; [ fridh ]; 36 }; 37}