diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-03-31 16:48:08 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-04-06 06:36:16 +0200 |
commit | d92bb7c542aaf0282f08be78853b9ca7c5d7a159 (patch) | |
tree | 910a709e3bb6840bdc6b3f67ef4847e8ce7879a5 /gnu/packages | |
parent | 886ed061d7c57eb9d707b2af2c87402b86becf70 (diff) | |
download | guix-d92bb7c542aaf0282f08be78853b9ca7c5d7a159.tar.gz guix-d92bb7c542aaf0282f08be78853b9ca7c5d7a159.zip |
gnu: Add python-colorthief.
* gnu/packages/python-xyz.scm (python-colorthief): New variable.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd10f304c8..f2ea90ad09 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1078,6 +1078,25 @@ names for 256 color terminal setups.") as functions or string constants to form colored terminal output.") (license license:expat))) +(define-public python-colorthief + (package + (name "python-colorthief") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "colorthief" version)) + (sha256 + (base32 "08bjsmmkihyksms2vgndslln02rvw56lkxz28d39qrnxbg4v1707")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pillow)) + (home-page "https://github.com/fengsp/color-thief-py") + (synopsis "Grab the color palette of an image") + (description + "This package provides methods to determine the dominant color +of an image, as well as constructing a representative color palette.") + (license license:bsd-3))) + (define-public python-construct-classes (package (name "python-construct-classes") |