diff options
Diffstat (limited to 'pkgs/development/python-modules/colorcet/default.nix')
-rw-r--r-- | pkgs/development/python-modules/colorcet/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/colorcet/default.nix b/pkgs/development/python-modules/colorcet/default.nix index 6a7328aaf73..f92f8004ac0 100644 --- a/pkgs/development/python-modules/colorcet/default.nix +++ b/pkgs/development/python-modules/colorcet/default.nix @@ -1,4 +1,4 @@ -{ lib +{ stdenv , buildPythonPackage , fetchPypi , param @@ -35,10 +35,11 @@ buildPythonPackage rec { mkdir -p $HOME/.config/matplotlib echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc - pytest colorcet + # disable matplotlib tests on darwin, because it requires a framework build of Python + pytest ${stdenv.lib.optionalString stdenv.isDarwin "--ignore=colorcet/tests/test_matplotlib.py"} colorcet ''; - meta = with lib; { + meta = with stdenv.lib; { description = "Collection of perceptually uniform colormaps"; homepage = https://colorcet.pyviz.org; license = licenses.cc-by-40; |