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