summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-08-11 12:25:37 +0200
committerCayetano Santos <csantosb@inventati.org>2026-08-11 12:29:06 +0200
commitab32be0deae9f716d48f93b2ce9c637c65ab27b5 (patch)
treea26334d8c33d91f0dc7ead71e9da91bd32521cbe /gnu/packages/python-xyz.scm
parentf3982dd113a00248d12f019359f6bc84570f5001 (diff)
gnu: Add python-rectpack.
* gnu/packages/python-xyz.scm (python-rectpack): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 174490f5ba7..a3822c82e93 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3255,6 +3255,29 @@ edit distance algorithm for Python in Cython for high performance.")
3255 "@code{python-qrcodegen} is a QR code generator library in Python.") 3255 "@code{python-qrcodegen} is a QR code generator library in Python.")
3256 (license license:expat))) 3256 (license license:expat)))
3257 3257
3258(define-public python-rectpack
3259 (package
3260 (name "python-rectpack")
3261 (version "0.2.2")
3262 (source
3263 (origin
3264 (method git-fetch)
3265 (uri (git-reference
3266 (url "https://github.com/secnot/rectpack/")
3267 (commit version)))
3268 (file-name (git-file-name name version))
3269 (sha256
3270 (base32 "0y6nzpqny2knlq5g53wdnrznv10xv21rbzmlbq5xgf92gi7i6kci"))))
3271 (build-system pyproject-build-system)
3272 (arguments (list #:test-backend #~'unittest))
3273 (native-inputs (list python-setuptools))
3274 (home-page "https://github.com/secnot/rectpack/")
3275 (synopsis "2D Rectangle packing Python library")
3276 (description "Rectpack is a collection of heuristic algorithms for solving
3277the 2D knapsack or bin packing problem, consisting on packing a set of
3278rectangles into the smallest number of bins.")
3279 (license license:asl2.0)))
3280
3258(define-public python-represent 3281(define-public python-represent
3259 (package 3282 (package
3260 (name "python-represent") 3283 (name "python-represent")