python.pkgs.seaborn: move expression
This commit is contained in:
parent
16d0a334c8
commit
7c4c7cde6e
34
pkgs/development/python-modules/seaborn/default.nix
Normal file
34
pkgs/development/python-modules/seaborn/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, pandas
|
||||||
|
, matplotlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "seaborn";
|
||||||
|
version = "0.7.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0pawrqc3mxpwd5g9pvi9gba02637bh5c8ldpp8izfwpfn52469zs";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -19133,30 +19133,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
seaborn = buildPythonPackage rec {
|
seaborn = callPackage ../development/python-modules/seaborn { };
|
||||||
name = "seaborn-0.7.1";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/seaborn/${name}.tar.gz";
|
|
||||||
sha256 = "0pawrqc3mxpwd5g9pvi9gba02637bh5c8ldpp8izfwpfn52469zs";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
|
||||||
propagatedBuildInputs = with self; [ pandas matplotlib ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests -v
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Computationally very demanding tests
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Statisitical data visualization";
|
|
||||||
homepage = "http://stanford.edu/~mwaskom/software/seaborn/";
|
|
||||||
license = "BSD";
|
|
||||||
maintainers = with maintainers; [ fridh ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
selenium = buildPythonPackage rec {
|
selenium = buildPythonPackage rec {
|
||||||
name = "selenium-2.52.0";
|
name = "selenium-2.52.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user