gnu: Add python-sane.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Andy Tai 2021-02-20 22:30:22 -08:00 committed by Ludovic Courtès
parent d70b0f92e9
commit f500905ce1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -180,6 +180,7 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages sdl)
#:use-module (gnu packages search)
#:use-module (gnu packages scanner)
#:use-module (gnu packages shells)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
@ -23906,3 +23907,25 @@ (define-public python-crayons
Crayons automatically wraps a given string in the foreground color and
restores the original state after the string is printed.")
(license license:expat)))
(define-public python-sane
(package
(name "python-sane")
(version "2.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri name version))
(sha256
(base32
"1pi597z94n2mkd821ln52fq0g727n2jxfskf280ip3kf7jw8w294"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest" ,python-pytest)))
(inputs
`(("sane-backends" ,sane-backends)))
(home-page "https://github.com/python-pillow/Sane")
(synopsis "Python interface to the SANE scanner")
(description "This package provides Python interface to the SANE scanner
and frame grabber interface.")
(license license:expat)))