1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pillow,
6 regex,
7}:
8
9buildPythonPackage rec {
10 pname = "material-color-utilities-python";
11 version = "0.1.5";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64=";
17 };
18
19 pythonRelaxDeps = [ "Pillow" ];
20
21 propagatedBuildInputs = [
22 pillow
23 regex
24 ];
25
26 # No tests implemented.
27 doCheck = false;
28
29 pythonImportsCheck = [ "material_color_utilities_python" ];
30
31 meta = with lib; {
32 homepage = "https://pypi.org/project/material_color_utilities_python";
33 description = "Python port of material_color_utilities used for Material You colors";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ foo-dogsquared ];
36 };
37}