summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-27 13:22:48 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-31 18:19:53 +0200
commit82df30dbfd52710d8c75a7ddf0f092f03d38de9e (patch)
tree3b75ab11d890b613f3046d8a57a5b27bc3d67ce8 /gnu/packages
parent8e9e6a6482f3ba98d1cdcad344ee488e8751fee7 (diff)
downloadguix-82df30dbfd52710d8c75a7ddf0f092f03d38de9e.tar.gz
gnu: Add python-zbarlight.
* gnu/packages/python-xyz.scm (python-zbarlight): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f7e3f6f538..1826eb497d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32998,6 +32998,25 @@ functions
 markdown-compliant strings.")
     (license license:expat)))
 
+(define-public python-zbarlight
+  (package
+    (name "python-zbarlight")
+    (version "3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "zbarlight" version))
+              (sha256
+               (base32
+                "1v5c9bim8af6g8kgxp2dhm96n5vkr8sqi56w0bdh1xy49v03lw3g"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-pillow))
+    (inputs (list zbar))
+    (home-page "https://github.com/Polyconseil/zbarlight")
+    (synopsis "Simple Python wrapper for the zbar barcode library")
+    (description "Zbarlight is a simple wrapper for the zbar library.  It can
+read all zbar supported codes.")
+    (license license:bsd-3)))
+
 (define-public python-zeroc-ice
   (package
     (name "python-zeroc-ice")