gnu: Add python-pypdf3.

* gnu/packages/python-xyz.scm (python-pypdf3): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Greg Hogan 2022-01-11 10:50:53 +01:00 committed by Nicolas Goaziou
parent 69f8892860
commit 732180015b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -113,6 +113,7 @@
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
;;; Copyright © 2021 Filip Lajszczak <filip@lajszczak.dev>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -6915,6 +6916,27 @@ (define-public python-olefile
(define-public python2-olefile
(package-with-python2 python-olefile))
(define-public python-pypdf3
(package
(name "python-pypdf3")
(version "1.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyPDF3" version))
(sha256
(base32 "018hlq9q2qa96vw4j7ppq352znykldwy98h2w9qcpkvpi93sjqhc"))))
(build-system python-build-system)
(propagated-inputs
(list python-tqdm))
(home-page "https://github.com/sfneal/PyPDF3")
(synopsis "Utility to read and write PDFs with Python")
(description "PyPDF3 is a pure-python PDF library capable of splitting,
merging together, cropping, and transforming the pages of PDF files. It can
also add custom data, viewing options, and passwords to PDF files. It can
retrieve text and metadata from PDFs as well as merge entire files together.")
(license license:bsd-3)))
(define-public python-pikepdf
(package
(name "python-pikepdf")