pythonPackages.colorcet: init at 0.10
This commit is contained in:
parent
029ef744a8
commit
36dc1d4fe6
|
@ -31,6 +31,10 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
mkdir -p $HOME/.config/matplotlib
|
||||||
|
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
||||||
|
|
||||||
pytest colorcet
|
pytest colorcet
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, matplotlib
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-mpl";
|
||||||
|
version = "0.10";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "7006e63bf1ca9c50bea3d189c0f862751a16ce40bb373197b218f57af5b837c0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
matplotlib
|
||||||
|
nose
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "pytest plugin to help with testing figures output from Matplotlib";
|
||||||
|
homepage = https://github.com/matplotlib/pytest-mpl;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1917,6 +1917,8 @@ in {
|
||||||
|
|
||||||
pytest-isort = callPackage ../development/python-modules/pytest-isort { };
|
pytest-isort = callPackage ../development/python-modules/pytest-isort { };
|
||||||
|
|
||||||
|
pytest-mpl = callPackage ../development/python-modules/pytest-mpl { };
|
||||||
|
|
||||||
pytest-mock = callPackage ../development/python-modules/pytest-mock { };
|
pytest-mock = callPackage ../development/python-modules/pytest-mock { };
|
||||||
|
|
||||||
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };
|
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };
|
||||||
|
|
Loading…
Reference in New Issue