summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-02-17 11:31:11 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-17 12:24:13 +0100
commita104f2de712d0f0bdc246bab3ac67315ee219b6c (patch)
tree0bc54e55ec52c0273ffbea46ecfa1140e35cb55f /gnu
parentb8d25fa5da909813e015d72ba2bd4a7b0264a5e3 (diff)
gnu: Remove stapler.
* gnu/packages/pdf.scm (stapler): Delete variable. Fixes: guix/guix#5591 Change-Id: I19b988988490a937dd3f19d1d63e5fb51b66421a
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm42
1 files changed, 0 insertions, 42 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 63af78ec26..43f2fe17d0 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1941,48 +1941,6 @@ presentation. The input files processed by pdfpc are PDF documents.")
rendering of the file through the Pango Cairo back end.")
(license license:lgpl2.0+)))
-(define-public stapler
- (package
- (name "stapler")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "stapler" version))
- (sha256
- (base32
- "0b2lbm3f79cdxcsagwhzihbzwahjabxqmbws0c8ki25gpdnygdd7"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags #~(list "staplelib/tests.py") ; from tox.ini
- #:build-backend "poetry.core.masonry.api"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-more-itertools-version-requirement
- (lambda _
- (substitute* "pyproject.toml"
- ;; Tests require an version of the more-itertools module older
- ;; than the one we have packaged.
- (("more-itertools = \">=2.2,<6.0.0\"")
- "more-itertools = \">=2.2\"")))))))
- (native-inputs (list python-poetry-core python-pytest python-setuptools))
- (propagated-inputs
- (list python-more-itertools python-pypdf2))
- (home-page "https://github.com/hellerbarde/stapler")
- (synopsis "PDF manipulation tool")
- (description "Stapler is a pure Python alternative to PDFtk, a tool for
-manipulating PDF documents from the command line. It supports
-
-@itemize
-@item cherry-picking pages and concatenating them into a new file
-@item splitting a PDF document into single pages each in its own file
-@item merging PDF documents with their pages interleaved
-@item displaying metadata in a PDF document
-@item displaying the mapping between logical and physical page numbers
-@end itemize")
- (license license:bsd-3)))
-
(define-public weasyprint
(package
(name "weasyprint")