Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / colorthief / default.nix
blob4e0527cbc70403fb9709453bef387e0d313bd267
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pillow
5 }:
7 buildPythonPackage rec {
8   pname = "colorthief";
9   version = "0.2.1";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "fengsp";
14     repo = "color-thief-py";
15     rev = version;
16     sha256 = "0lzpflal1iqbj4k7hayss5z024qf2sn8c3wxw03a0mgxg06ca2hm";
17   };
19   propagatedBuildInputs = [
20     pillow
21   ];
23   # no tests implemented
24   doCheck = false;
26   pythonImportsCheck = [ "colorthief" ];
28   meta = with lib; {
29     description = "Python module for grabbing the color palette from an image";
30     homepage = "https://github.com/fengsp/color-thief-py";
31     license = licenses.bsd3;
32     maintainers = with maintainers; [ dotlambda ];
33   };