guix-devel
[Top][All Lists]
Advanced

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

[PATCH 4/5] gnu: Add python-imagesize.


From: Danny Milosavljevic
Subject: [PATCH 4/5] gnu: Add python-imagesize.
Date: Fri, 7 Oct 2016 12:32:49 +0200

* gnu/packages/python.scm (python-imagesize): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 088cdb0..157a544 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11060,3 +11060,24 @@ related extensions.")
       "Alabaster is a visually (c)lean, responsive, configurable theme for
 the Sphinx documentation system.  It's the default theme of Sphix.")
     (license license:bsd-3)))
+
+(define-public python-imagesize
+  (package
+    (name "python-imagesize")
+    (version "0.7.1")
+    (source
+      (origin
+      (method url-fetch)
+      (uri (pypi-uri "imagesize" version))
+      (sha256
+        (base32
+          "0qk07k0z4241lkzzjji7z4da04pcvg7bfc4xz1934zlqhwmwdcha"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/shibukawa/imagesize_py";)
+    (synopsis
+      "Gets image size from png/jpeg/jpeg2000/gif files in Python")
+    (description
+      "This package allows determination of image size from
+png/jpeg/jpeg2000/gif files in Python.")
+    (license license:expat)))



reply via email to

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