From ad1e6ce38ab722bfea5889125275941d1f11f7b7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Oct 2025 22:33:09 +0100 Subject: [PATCH] gnu: python-zbarlight: Move to aidc. * gnu/packages/python-xyz.scm (python-zbarlight): Move from here ... * gnu/packages/aidc.scm: ... to here. Change-Id: Id42c44607319c32b76431491fa6c1120c638179a --- gnu/packages/aidc.scm | 26 ++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 23 ----------------------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index 5d1ead9bcc29f39f8af25550d9f1e085ddb5fb03..1a92b9d20ad949cdad1f74598b40dfaf9766673a 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2018, 2019, 2022 Tobias Geerinckx-Rice ;;; Copyright © 2019 Guillaume Le Vaillant ;;; Copyright © 2020 Leo Famulari +;;; Copyright © 2023 Ricardo Wurmus ;;; Copyright © 2024 Nicolas Graves ;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen ;;; @@ -44,14 +45,39 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-build) #:use-module (gnu packages pretty-print) #:use-module (gnu packages qt) #:use-module (gnu packages video) #:use-module (guix build-system cmake) + #:use-module (guix build-system pyproject) #:use-module (guix build-system qt) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk)) +(define-public python-zbarlight + (package + (name "python-zbarlight") + (version "3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Polyconseil/zbarlight") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1radfpfhfhkx3xnz01bqr5l9pl2zv70zis6l2kw1gwqbfw65r6w6")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pillow)) + (inputs (list zbar)) + (native-inputs (list python-pytest python-setuptools)) + (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 zint (package (name "zint") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f4c95442b49e6800757030a5eb63146587199dd..075348e849681a6cec9ad2219dddf9f874c25675 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -40393,29 +40393,6 @@ markdown-compliant strings.") way.") (license license:lgpl2.1))) -(define-public python-zbarlight - (package - (name "python-zbarlight") - (version "3.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Polyconseil/zbarlight") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1radfpfhfhkx3xnz01bqr5l9pl2zv70zis6l2kw1gwqbfw65r6w6")))) - (build-system pyproject-build-system) - (propagated-inputs (list python-pillow)) - (inputs (list zbar)) - (native-inputs (list python-pytest python-setuptools)) - (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")