Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 654 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, pandas 6, matplotlib 7}: 8 9buildPythonPackage rec { 10 pname = "seaborn"; 11 version = "0.9.1"; 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "da33aa8c20a9a342ce73831d02831a10413f54a05471c7f31edf34f225d456ae"; 15 }; 16 17 checkInputs = [ nose ]; 18 propagatedBuildInputs = [ pandas matplotlib ]; 19 20 checkPhase = '' 21 nosetests -v 22 ''; 23 24 # Computationally very demanding tests 25 doCheck = false; 26 27 meta = { 28 description = "Statisitical data visualization"; 29 homepage = "http://stanford.edu/~mwaskom/software/seaborn/"; 30 license = with lib.licenses; [ bsd3 ]; 31 maintainers = [ ]; 32 }; 33}