From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sMJvNvrg018tYAAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 21:13:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eDUqMvrg01+UFwAAbx9fmQ (envelope-from ) for ; Fri, 11 Dec 2020 21:13:30 +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 6D5C894023A for ; Fri, 11 Dec 2020 21:13:30 +0000 (UTC) Received: from localhost ([::1]:40742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knpjF-0003tq-DX for larch@yhetil.org; Fri, 11 Dec 2020 16:13:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knpAz-0006Q1-Q4 for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knpAz-0002ab-Iy for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knpAz-0001WD-H5 for guix-patches@gnu.org; Fri, 11 Dec 2020 15:38:05 -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:05 +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.16077190815730 (code B ref 44990); Fri, 11 Dec 2020 20:38:05 +0000 Received: (at 44990) by debbugs.gnu.org; 11 Dec 2020 20:38:01 +0000 Received: from localhost ([127.0.0.1]:43382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knpAv-0001UC-A9 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 15:38:01 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:14271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knoUz-0006ZJ-Ko for 44990@debbugs.gnu.org; Fri, 11 Dec 2020 14:54:41 -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 E4EA42003AE; Fri, 11 Dec 2020 20:54:36 +0100 (CET) Date: Fri, 11 Dec 2020 20:53:28 +0100 Message-Id: <20201211195331.21451-5-lle-bout@zaclys.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201211195331.21451-1-lle-bout@zaclys.net> References: <20201211195331.21451-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: , Cc: John Doe 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: 6D5C894023A X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: LntHQpNcwYro 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