Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / material-color-utilities / default.nix
blob8c92723e4a0642c4ca950d01c478aa0903e2ba26
1 { stdenv, lib, buildPythonPackage, fetchPypi, pythonRelaxDepsHook, pillow, regex }:
3 buildPythonPackage rec {
4   pname = "material-color-utilities-python";
5   version = "0.1.5";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64=";
10   };
12   nativeBuildInputs = [
13     pythonRelaxDepsHook
14   ];
15   pythonRelaxDeps = [
16     "Pillow"
17   ];
19   propagatedBuildInputs = [
20     pillow
21     regex
22   ];
24   # No tests implemented.
25   doCheck = false;
27   pythonImportsCheck = [ "material_color_utilities_python" ];
29   meta = with lib; {
30     homepage = "https://pypi.org/project/material_color_utilities_python";
31     description = "Python port of material_color_utilities used for Material You colors";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ foo-dogsquared ];
34   };