mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
34 lines
654 B
Nix
34 lines
654 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, pandas
|
|
, matplotlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "seaborn";
|
|
version = "0.9.1";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "da33aa8c20a9a342ce73831d02831a10413f54a05471c7f31edf34f225d456ae";
|
|
};
|
|
|
|
checkInputs = [ nose ];
|
|
propagatedBuildInputs = [ pandas matplotlib ];
|
|
|
|
checkPhase = ''
|
|
nosetests -v
|
|
'';
|
|
|
|
# Computationally very demanding tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Statisitical data visualization";
|
|
homepage = "http://stanford.edu/~mwaskom/software/seaborn/";
|
|
license = with lib.licenses; [ bsd3 ];
|
|
maintainers = [ ];
|
|
};
|
|
}
|