btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / material-color-utilities / default.nix
blob4da3d1907e5df86a54f3cb310928795954d40a84
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pillow,
6   regex,
7 }:
9 buildPythonPackage rec {
10   pname = "material-color-utilities-python";
11   version = "0.1.5";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64=";
16   };
18   pythonRelaxDeps = [ "Pillow" ];
20   propagatedBuildInputs = [
21     pillow
22     regex
23   ];
25   # No tests implemented.
26   doCheck = false;
28   pythonImportsCheck = [ "material_color_utilities_python" ];
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   };