pythonPackages.seaborn: use v0.9.1 for python 2
required for poretools
This commit is contained in:
parent
7e1b217785
commit
444370f1d8
33
pkgs/development/python-modules/seaborn/0.9.1.nix
Normal file
33
pkgs/development/python-modules/seaborn/0.9.1.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ 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 = with lib.maintainers; [ fridh ];
|
||||||
|
};
|
||||||
|
}
|
@ -5488,7 +5488,10 @@ in {
|
|||||||
|
|
||||||
scp = callPackage ../development/python-modules/scp {};
|
scp = callPackage ../development/python-modules/scp {};
|
||||||
|
|
||||||
seaborn = callPackage ../development/python-modules/seaborn { };
|
seaborn = if isPy3k then
|
||||||
|
callPackage ../development/python-modules/seaborn { }
|
||||||
|
else
|
||||||
|
callPackage ../development/python-modules/seaborn/0.9.1.nix { };
|
||||||
|
|
||||||
seabreeze = callPackage ../development/python-modules/seabreeze { };
|
seabreeze = callPackage ../development/python-modules/seabreeze { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user