mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
34 lines
713 B
Nix
34 lines
713 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, pandas
|
|
, matplotlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "seaborn";
|
|
version = "0.8.1";
|
|
name = "${pname}-${version}";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6702978b903d0284446e935916b980dfebae4063c18ad8eb6e8f9e76d0257eae";
|
|
};
|
|
|
|
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 = with lib.maintainers; [ fridh ];
|
|
};
|
|
} |