pythonPackages.colorcet: init at 2.0.1

This commit is contained in:
Chris Ostrouchov 2019-07-14 17:31:04 -04:00 committed by Frederik Rietdijk
parent 30169d9493
commit 029ef744a8
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, param
, pyct
, nbsmoke
, flake8
, pytest
, pytest-mpl
}:
buildPythonPackage rec {
pname = "colorcet";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "ab1d16aba97f54af190631c7777c356b04b53de549672ff6b01c66d716eddff3";
};
propagatedBuildInputs = [
param
pyct
];
checkInputs = [
nbsmoke
pytest
flake8
pytest-mpl
];
checkPhase = ''
pytest colorcet
'';
meta = with lib; {
description = "Collection of perceptually uniform colormaps";
homepage = https://colorcet.pyviz.org;
license = licenses.cc-by-40;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1471,6 +1471,8 @@ in {
circus = callPackage ../development/python-modules/circus {};
colorcet = callPackage ../development/python-modules/colorcet { };
colorclass = callPackage ../development/python-modules/colorclass {};
colorlog = callPackage ../development/python-modules/colorlog { };