pythonPackages.colorcet: fix build on darwin
This commit is contained in:
parent
e505a8eee0
commit
9a6a055d2f
@ -1,4 +1,4 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, param
|
, param
|
||||||
@ -35,10 +35,11 @@ buildPythonPackage rec {
|
|||||||
mkdir -p $HOME/.config/matplotlib
|
mkdir -p $HOME/.config/matplotlib
|
||||||
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
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";
|
description = "Collection of perceptually uniform colormaps";
|
||||||
homepage = https://colorcet.pyviz.org;
|
homepage = https://colorcet.pyviz.org;
|
||||||
license = licenses.cc-by-40;
|
license = licenses.cc-by-40;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user