diff options
| author | Andrew Wong <wongandj@runbox.com> | 2025-11-08 22:53:05 -0500 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-01 20:59:22 +0100 |
| commit | 421c356c991168fd827c53c313e23fbce8510d49 (patch) | |
| tree | 29b67afe0ae1b05f9aa12fcbcfe363a217da0960 /gnu | |
| parent | a278fe0fc9cdcb2479c89111b1cc006079cfbb96 (diff) | |
gnu: Add python-qrcodegen.
* gnu/packages/python-xyz.scm (python-qrcodegen): New variable.
Relates-to: guix/guix!4027
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 76186727f9f..ceab827baa5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -3010,6 +3010,34 @@ runs on older Pythons.") | |||
| 3010 | edit distance algorithm for Python in Cython for high performance.") | 3010 | edit distance algorithm for Python in Cython for high performance.") |
| 3011 | (license license:bsd-3))) | 3011 | (license license:bsd-3))) |
| 3012 | 3012 | ||
| 3013 | (define-public python-qrcodegen | ||
| 3014 | (package | ||
| 3015 | (name "python-qrcodegen") | ||
| 3016 | (version "1.8.0") | ||
| 3017 | (source | ||
| 3018 | (origin | ||
| 3019 | (method git-fetch) | ||
| 3020 | (uri (git-reference | ||
| 3021 | (url "https://github.com/nayuki/QR-Code-generator") | ||
| 3022 | (commit (string-append "v" version)))) | ||
| 3023 | (sha256 | ||
| 3024 | (base32 "0dk9ci5gchxa8gh0hyhlj3d5jwxqlnfm85xyp791ldaia14bkj39")))) | ||
| 3025 | (build-system pyproject-build-system) | ||
| 3026 | (arguments | ||
| 3027 | (list | ||
| 3028 | #:tests? #f ;no tests | ||
| 3029 | #:phases | ||
| 3030 | #~(modify-phases %standard-phases | ||
| 3031 | (add-before 'build 'chdir | ||
| 3032 | (lambda _ | ||
| 3033 | (chdir "python")))))) | ||
| 3034 | (native-inputs (list python-setuptools)) | ||
| 3035 | (home-page "https://www.nayuki.io/page/qr-code-generator-library") | ||
| 3036 | (synopsis "QR Code generator") | ||
| 3037 | (description | ||
| 3038 | "@code{python-qrcodegen} is a QR code generator library in Python.") | ||
| 3039 | (license license:expat))) | ||
| 3040 | |||
| 3013 | (define-public python-represent | 3041 | (define-public python-represent |
| 3014 | (package | 3042 | (package |
| 3015 | (name "python-represent") | 3043 | (name "python-represent") |
