diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-08-07 18:55:04 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-08-07 18:55:04 -0500 |
commit | 9a6a055d2fd040cd78dda8b0e2131e8719392c16 (patch) | |
tree | 18593126e6b51d06c36379328984a0002ba91eaa /pkgs/development/python-modules/colorcet | |
parent | e505a8eee060c482dd99cd240abb45a99a3ee6e7 (diff) |
pythonPackages.colorcet: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules/colorcet')
-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 6a7328aaf73cf..f92f8004ac00e 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; |