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 QE6rOQHh01/KZAAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 21:13:37 +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 CMZ5NQHh018UawAA1q6Kng (envelope-from ) for ; Fri, 11 Dec 2020 21:13:37 +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 921C7940502 for ; Fri, 11 Dec 2020 21:13:37 +0000 (UTC) Received: from localhost ([::1]:41210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knpjM-00048D-Hv for larch@yhetil.org; Fri, 11 Dec 2020 16:13:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knpB3-0006RK-SJ for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knpB3-0002cD-HM for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knpB3-0001XT-Dq for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44990] [PATCH v2 5/8] gnu: Add python-socks. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Dec 2020 20:38:09 +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.16077190855823 (code B ref 44990); Fri, 11 Dec 2020 20:38:09 +0000 Received: (at 44990) by debbugs.gnu.org; 11 Dec 2020 20:38:05 +0000 Received: from localhost ([127.0.0.1]:43403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knpAy-0001Vk-H7 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 15:38:04 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:56998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knobU-0006nU-Lu for 44990@debbugs.gnu.org; Fri, 11 Dec 2020 15:01:24 -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 160AC2003FD for <44990@debbugs.gnu.org>; Fri, 11 Dec 2020 21:01:22 +0100 (CET) Date: Fri, 11 Dec 2020 21:01:02 +0100 Message-Id: <20201211200105.21995-5-lle-bout@zaclys.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201211200105.21995-1-lle-bout@zaclys.net> References: <20201211200105.21995-1-lle-bout@zaclys.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 11 Dec 2020 15:37:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 11 Dec 2020 16:11:23 -0500 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" Reply-to: Léo Le Bouter , Léo Le Bouter via Guix-patches From: Léo Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.20 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 921C7940502 X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: nLgHH/JntVCC From: John Doe * 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