1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "palettable";
11 version = "3.3.3";
12 format = "pyproject";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-CU3X2aX8HMpIVHc+XB/GoxWzO9WzqPRwZJKPrK8EkKg=";
17 };
18
19 nativeBuildInputs = [ setuptools ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [
24 "palettable"
25 "palettable.matplotlib"
26 "palettable.tableau"
27 ];
28
29 meta = with lib; {
30 description = "Library of color palettes";
31 homepage = "https://jiffyclub.github.io/palettable/";
32 changelog = "https://github.com/jiffyclub/palettable/blob/v${version}/CHANGELOG.rst";
33 license = licenses.mit;
34 maintainers = with maintainers; [ psyanticy ];
35 };
36}