summaryrefslogtreecommitdiff
path: root/pkgs/material-color-utilities.nix
blob: d6e9f1c910113cd3ab0d95f42c06df38f660c8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  lib,
  fetchPypi,
  python3Packages,
}:
python3Packages.buildPythonPackage rec {
  pname = "material-color-utilities";
  version = "0.1.5";
  src = fetchPypi {
    pname = "${pname}-python";
    inherit version;
    sha256 = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64=";
  };

  nativeBuildInputs = with python3Packages; [poetry-core];
  propagatedBuildInputs = with python3Packages; [pillow regex];

  meta = with lib; {
    description = "Python port of material-color-utilities used for Material You colors";
    license = licenses.asl20;
    maintainers = with maintainers; [getchoo];
    platforms = platforms.all;
  };
}