From dddc2f5f1c34c3d08e71fefc90bb228c36d192f3 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 28 Feb 2025 10:26:19 +0100 Subject: battering: Add python-barcode. * battering/packages/python-xyz.scm (python-barcode): New variable. --- battering/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index 22d045b..619cab9 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -317,3 +317,25 @@ specific moment in time, whitelisting and revocation checks.") (description "Construct, mock & deploy PKI test configurations using declarative configuration.") (license license:expat))) + +(define-public python-barcode + (package + (name "python-barcode") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-barcode" version)) + (sha256 + (base32 "1pjlr1pp4yg679b9xd8pfyjqc7lvxas8chpzdm39gr8ivgxja61v")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pillow)) + (native-inputs (list python-pytest + python-pytest-cov + python-setuptools + python-setuptools-scm + python-wheel)) + (home-page "https://github.com/WhyNotHugo/python-barcode") + (synopsis "Create standard barcodes with Python.") + (description "This package provides a simple way to create barcodes in Python.") + (license license:expat))) -- cgit v1.2.3