[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")
signature.asc
Description: PGP signature
- [bug#39292] [PATCH 0/10] gnu: Add rapid-photo-downloader, sschott, 2020/01/26
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 02/10] gnu: Add python-easygui, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 03/10] gnu: Add python-rawkit, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2,
Christopher Baines <=
- [bug#39292] [PATCH 07/10] gnu: Add python-pyprind, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 04/10] gnu: Add python-d2to1, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 05/10] gnu: Add python-colour, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 08/10] gnu: Add python-colorlog, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 09/10] gnu: Add python-tenacity, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Christopher Baines, 2020/01/27