guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#39292] [PATCH 06/10] gnu: Add python-gphoto2


From: Christopher Baines
Subject: [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2
Date: Mon, 27 Jan 2020 08:40:59 +0000
User-agent: mu4e 1.2.0; emacs 26.3

Sebastian Schott <address@hidden> writes:

> * gnu/packages/python-xyz.scm (python-gphoto2): New variable.
> ---
>  gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 22f316a0a6..d0ad983b81 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -168,6 +168,25 @@
>    #:use-module (srfi srfi-1)
>    #:use-module (srfi srfi-26))
>
> +(define-public python-gphoto2
> +  (package
> +    (name "python-gphoto2")
> +    (version "2.1.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "gphoto2" version))
> +              (sha256
> +               (base32
> +                "1fdmlyy3lbc6ggfn60fjizaz5icxd676y7gz9nzfy3l4id7mfyk4"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("libgphoto2" ,libgphoto2)))

libgphoto2 probably wants to be in the inputs section, as I'm guessing
it's used at runtime (not just when the package is being built).

> +    (home-page "https://github.com/jim-easterbrook/python-gphoto2";)
> +    (synopsis "Python interface to libgphoto2")
> +    (description "@code{python-gphoto2} is a comprehensive Python interface 
> (or binding) to @code{libgphoto2}.  It is built using @code{SWIG} to 
> automatically generate the interface code.")
> +    (license license:gpl3+)))
> +
>  (define-public python-colour
>    (package
>      (name "python-colour")

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]