35 lines
734 B
Nix
35 lines
734 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "palettable";
|
|
version = "3.3.2";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-aoZ8Qlov8ojqtDVr7ewA3gBt7jbJmmFHwuGwXeeJrJ8=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"palettable"
|
|
"palettable.matplotlib"
|
|
"palettable.tableau"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A library of color palettes";
|
|
homepage = "https://jiffyclub.github.io/palettable/";
|
|
changelog = "https://github.com/jiffyclub/palettable/blob/v${version}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
};
|
|
}
|