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
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64=";
16 };
17
18 pythonRelaxDeps = [ "Pillow" ];
19
20 propagatedBuildInputs = [
21 pillow
22 regex
23 ];
24
25 # No tests implemented.
26 doCheck = false;
27
28 pythonImportsCheck = [ "material_color_utilities_python" ];
29
30 meta = with lib; {
31 homepage = "https://pypi.org/project/material_color_utilities_python";
32 description = "Python port of material_color_utilities used for Material You colors";
33 license = licenses.asl20;
34 maintainers = with maintainers; [ foo-dogsquared ];
35 };
36}