[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31820] [PATCH 1/4] gnu: Add python-requests-file.
From: |
Leo Famulari |
Subject: |
[bug#31820] [PATCH 1/4] gnu: Add python-requests-file. |
Date: |
Wed, 13 Jun 2018 21:36:07 -0400 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Thu, Jun 14, 2018 at 01:25:48AM +0200, Clément Lassieur wrote:
> * gnu/packages/python.scm (python-requests-file, python2-requests-file): New
> variables.
The patch series LGTM, thanks! Remember to close all the debbugs tickets
:)
> ---
> gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 88bbf3b7e..4b1ea91ae 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -53,6 +53,7 @@
> ;;; Copyright © 2016, 2018 Tomáš Čech <address@hidden>
> ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
> ;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
> +;;; Copyright © 2018 Clément Lassieur <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -13631,3 +13632,29 @@ introspection.")
>
> (define-public python2-fasteners
> (package-with-python2 python-fasteners))
> +
> +(define-public python-requests-file
> + (package
> + (name "python-requests-file")
> + (version "1.4.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "requests-file" version))
> + (sha256
> + (base32
> + "1yp2jaxg3v86pia0q512dg3hz6s9y5vzdivsgrba1kds05ial14g"))))
> + (build-system python-build-system)
> + (propagated-inputs
> + `(("python-requests" ,python-requests)
> + ("python-six" ,python-six)))
> + (home-page
> + "https://github.com/dashea/requests-file")
> + (synopsis "File transport adapter for Requests")
> + (description
> + "Requests-File is a transport adapter for use with the Requests Python
> +library to allow local filesystem access via file:// URLs.")
> + (license license:asl2.0)))
> +
> +(define-public python2-requests-file
> + (package-with-python2 python-requests-file))
> --
> 2.17.1
>
>
>
>
signature.asc
Description: PGP signature