From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oC0uNjBwNV+ELwAA0tVLHw (envelope-from ) for ; Thu, 13 Aug 2020 16:54:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iPgQMjBwNV8OYAAA1q6Kng (envelope-from ) for ; Thu, 13 Aug 2020 16:54:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F84494066A for ; Thu, 13 Aug 2020 16:54:08 +0000 (UTC) Received: from localhost ([::1]:35776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6GUR-0000sA-Fc for larch@yhetil.org; Thu, 13 Aug 2020 12:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6GUL-0000rp-Qe for guix-patches@gnu.org; Thu, 13 Aug 2020 12:54:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6GUL-0004Q4-Hc for guix-patches@gnu.org; Thu, 13 Aug 2020 12:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6GUL-0006sz-Gm for guix-patches@gnu.org; Thu, 13 Aug 2020 12:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42853] [PATCH 1/2] gnu: Add pyhton-dropbox. References: <20200813165053.11438-1-efraim@flashner.co.il> In-Reply-To: <20200813165053.11438-1-efraim@flashner.co.il> Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Aug 2020 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42853@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 42853-submit@debbugs.gnu.org id=B42853.159733762726447 (code B ref 42853); Thu, 13 Aug 2020 16:54:01 +0000 Received: (at 42853) by debbugs.gnu.org; 13 Aug 2020 16:53:47 +0000 Received: from localhost ([127.0.0.1]:50839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6GU7-0006sU-AT for submit@debbugs.gnu.org; Thu, 13 Aug 2020 12:53:47 -0400 Received: from flashner.co.il ([178.62.234.194]:55664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6GU5-0006sH-NQ for 42853@debbugs.gnu.org; Thu, 13 Aug 2020 12:53:46 -0400 Received: from localhost (unknown [31.210.177.29]) by flashner.co.il (Postfix) with ESMTPSA id A2B8C4000F; Thu, 13 Aug 2020 16:53:39 +0000 (UTC) From: Efraim Flashner Date: Thu, 13 Aug 2020 19:53:05 +0300 Message-Id: <20200813165306.11564-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: adDtAngn6M0S * gnu/packages/file-systems.scm (python-dropbox): New variable. --- gnu/packages/file-systems.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index d2e022c05a..7d06e3e899 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -30,6 +30,7 @@ #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system linux-module) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix utils) #:use-module (gnu packages) @@ -57,6 +58,8 @@ #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages rsync) @@ -858,3 +861,31 @@ directory onto a single drive and create FreeDesktop.org Trash specification compatible directories.") (home-page "https://github.com/trapexit/mergerfs-tools") (license license:isc)))) + +(define-public python-dropbox + (package + (name "python-dropbox") + (version "10.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dropbox" version)) + (sha256 + (base32 + "137rn9fs1bg1p1khd5lcccfxh8jsx27dh2ix5wwd8cmddbrzdrbd")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; Tests require a network connection. + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (propagated-inputs + `(("python-certifi" ,python-certifi) + ("python-chardet" ,python-chardet) + ("python-requests" ,python-requests) + ("python-six" ,python-six) + ("python-urllib3" ,python-urllib3))) + (home-page "https://www.dropbox.com/developers") + (synopsis "Official Dropbox API Client") + (description "This package provides a Python SDK for integrating with the +Dropbox API v2.") + (license license:expat))) -- 2.28.0