1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, pandas
6, matplotlib
7}:
8
9buildPythonPackage rec {
10 pname = "seaborn";
11 version = "0.8.1";
12 name = "${pname}-${version}";
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "6702978b903d0284446e935916b980dfebae4063c18ad8eb6e8f9e76d0257eae";
16 };
17
18 checkInputs = [ nose ];
19 propagatedBuildInputs = [ pandas matplotlib ];
20
21 checkPhase = ''
22 nosetests -v
23 '';
24
25 # Computationally very demanding tests
26 doCheck = false;
27
28 meta = {
29 description = "Statisitical data visualization";
30 homepage = "http://stanford.edu/~mwaskom/software/seaborn/";
31 license = with lib.licenses; [ bsd3 ];
32 maintainers = with lib.maintainers; [ fridh ];
33 };
34}