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