aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-29 10:11:29 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-13 08:19:05 +0000
commitdd6f309dedd915ec5ac1e512c2e6cb5fb415be7f (patch)
tree7e9a84e2b88d2357ab42c9bd9f2d86d48b659b25 /gnu
parent96c7b4c846214a9f04480fc1a5be37ac5c42744e (diff)
downloadguix-dd6f309dedd915ec5ac1e512c2e6cb5fb415be7f.tar
guix-dd6f309dedd915ec5ac1e512c2e6cb5fb415be7f.tar.gz
gnu: Add python-pycups.
* gnu/packages/cups.scm (python-pycups): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cups.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 367f45aa99..9f23b8e9ae 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -46,6 +46,7 @@
#:use-module (gnu packages scanner)
#:use-module (gnu packages tls)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -708,3 +709,27 @@ printers. It can only be used with printers that support the Epson ESC/P-R
language.")
(home-page "http://download.ebz.epson.net/dsc/search/01/search")
(license license:gpl2+)))
+
+(define-public python-pycups
+ (package
+ (name "python-pycups")
+ (version "1.9.74")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pycups" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1ffp7sswhdsfpy88zg0cc8kl04wygkjs01rlm9f0spbwk8jhy2c6"))))
+ (build-system python-build-system)
+ (arguments
+ '(;; Tests require CUPS to be running
+ #:tests? #f))
+ (inputs
+ `(("cups" ,cups)))
+ (home-page "https://github.com/zdohnal/pycups")
+ (synopsis "Python bindings for libcups")
+ (description
+ "This package provides Python bindings for libcups, wrapping the CUPS
+API.")
+ (license license:gpl2+)))