guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: Add python-colour


From: guix-commits
Subject: 05/10: gnu: Add python-colour
Date: Sun, 15 Mar 2020 12:42:32 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 2763f0de41c62623622d2eb9d4c17c04d62afcbd
Author: Sebastian Schott <address@hidden>
AuthorDate: Sat Mar 7 16:11:41 2020 +0100

    gnu: Add python-colour
    
    * gnu/packages/python-xyz.scm (python-colour): New variable.
    
    Signed-off-by: Christopher Baines <address@hidden>
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b11eb18..4de78fd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -171,6 +171,25 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public python-colour
+  (package
+    (name "python-colour")
+    (version "0.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "colour" version))
+              (sha256
+               (base32
+                "1visbisfini5j14bdzgs95yssw6sm4pfzyq1n3lfvbyjxw7i485g"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-d2to1" ,python-d2to1)))
+    (home-page "https://github.com/vaab/colour";)
+    (synopsis "Convert and manipulate various color representations")
+    (description "Pythonic way to manipulate color representations (HSL, RVB,
+web, X11, ...).")
+    (license license:expat)))
+
 (define-public python-d2to1
   (package
     (name "python-d2to1")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]