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