guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add python-colormath.


From: Ricardo Wurmus
Subject: 03/05: gnu: Add python-colormath.
Date: Wed, 30 Aug 2017 11:32:30 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit beed6abc1dcdd4d373946d18b548e7f148ba0a0f
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 30 17:08:58 2017 +0200

    gnu: Add python-colormath.
    
    * gnu/packages/python.scm (python-colormath, python2-colormath): New
    variables.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2d4a560..921937e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3774,6 +3774,30 @@ objects.")
 (define-public python2-munch
   (package-with-python2 python-munch))
 
+(define-public python-colormath
+  (package
+    (name "python-colormath")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "colormath" version))
+       (sha256
+        (base32
+         "01wp5xwm0a89wdm1dc9rr1ij90idzdiiipxdj1yslhqzkhnjnfh0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-networkx" ,python-networkx)
+       ("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/gtaylor/python-colormath";)
+    (synopsis "Color math and conversion library")
+    (description
+     "This is a Python library for color math and conversions.")
+    (license license:bsd-3)))
+
+(define-public python2-colormath
+  (package-with-python2 python-colormath))
+
 (define-public python2-fastlmm
   (package
     (name "python2-fastlmm")



reply via email to

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