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 4LKVIuHU01/aaAAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 20:21:53 +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 kGRbHuHU01/LRwAA1q6Kng (envelope-from ) for ; Fri, 11 Dec 2020 20:21:53 +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 276289404C7 for ; Fri, 11 Dec 2020 20:21:53 +0000 (UTC) Received: from localhost ([::1]:52140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knovH-0006bi-Nd for larch@yhetil.org; Fri, 11 Dec 2020 15:21:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knotY-00066n-LP for guix-patches@gnu.org; Fri, 11 Dec 2020 15:20:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knotY-0004zY-54 for guix-patches@gnu.org; Fri, 11 Dec 2020 15:20:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knotY-0000zg-0D for guix-patches@gnu.org; Fri, 11 Dec 2020 15:20:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44990] [PATCH v2 5/8] gnu: Add python-socks. Resent-From: John Doe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Dec 2020 20:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44990@debbugs.gnu.org Received: via spool by 44990-submit@debbugs.gnu.org id=B44990.16077179613697 (code B ref 44990); Fri, 11 Dec 2020 20:20:03 +0000 Received: (at 44990) by debbugs.gnu.org; 11 Dec 2020 20:19:21 +0000 Received: from localhost ([127.0.0.1]:43308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knosr-0000xZ-8D for submit@debbugs.gnu.org; Fri, 11 Dec 2020 15:19:21 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:31391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knosp-0000xR-3M for 44990@debbugs.gnu.org; Fri, 11 Dec 2020 15:19:19 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 5495520039C; Fri, 11 Dec 2020 21:19:14 +0100 (CET) From: John Doe Date: Fri, 11 Dec 2020 21:18:30 +0100 Message-Id: <20201211201833.22529-5-dftxbs3e@free.fr> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201211201833.22529-1-dftxbs3e@free.fr> References: <20201211201833.22529-1-dftxbs3e@free.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Doe Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.70 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-Migadu-Queue-Id: 276289404C7 X-Spam-Score: 2.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: gOljkiQ60x++ * gnu/packages/python-xyz.scm (python-socks): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4f55ed2e83..426c2b853d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23318,3 +23318,30 @@ environment.") "Bitstring is a library for simple construction, analysis and modification of binary data.") (license license:expat))) + +(define-public python-socks + (package + (name "python-socks") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-socks" version)) + (sha256 + (base32 + "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26")))) + (build-system python-build-system) + (propagated-inputs + ;; For python-socks[asyncio] + `(("python-async-timeout" ,python-async-timeout))) + (native-inputs + `(("python-trio" ,python-trio) + ("python-curio" ,python-curio))) + (home-page + "https://github.com/romis2012/python-socks") + (synopsis + "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python") + (description + "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling) + functionality.") + (license license:asl2.0))) -- 2.29.2