gnu: Add python-requests-ftp.
authorKonrad Hinsen <konrad.hinsen@fastmail.net>
Thu, 17 Sep 2020 07:27:09 +0000 (09:27 +0200)
committerLeo Famulari <leo@famulari.name>
Thu, 17 Sep 2020 17:25:36 +0000 (13:25 -0400)
* gnu/packages/python-web.scm (python-requests-ftp): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
gnu/packages/python-web.scm

index 7926539..6bd413e 100644 (file)
@@ -2029,6 +2029,28 @@ with python-requests.")
      `(;; FIXME: Some tests require network access.
        #:tests? #f))))
 
      `(;; FIXME: Some tests require network access.
        #:tests? #f))))
 
+(define-public python-requests-ftp
+  (package
+    (name "python-requests-ftp")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "requests-ftp" version))
+       (sha256
+        (base32
+         "0yh5v21v36dsjsgv4y9dx4mmz35741l5jf6pbq9w19d8rfsww13m"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (home-page
+     "https://github.com/Lukasa/requests-ftp")
+    (synopsis "FTP Transport Adapter for Requests")
+    (description
+     "Requests-FTP is an implementation of a simple FTP transport
+adapter for use with the Requests library.")
+    (license license:asl2.0)))
+
 (define-public python-oauthlib
   (package
     (name "python-oauthlib")
 (define-public python-oauthlib
   (package
     (name "python-oauthlib")