1{ lib, buildPythonPackage, fetchPypi, pytest }:
2
3buildPythonPackage rec {
4 pname = "palettable";
5 version = "3.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "72feca71cf7d79830cd6d9181b02edf227b867d503bec953cf9fa91bf44896bd";
10 };
11
12 checkInputs = [ pytest ];
13
14 checkPhase = ''
15 pytest
16 '';
17
18 meta = with lib; {
19 description = "A library of color palettes";
20 homepage = "https://jiffyclub.github.io/palettable/";
21 license = licenses.mit;
22 maintainers = with maintainers; [ psyanticy ];
23 };
24}