From 7eeecee1f65fa094027a7d5e68b3b0076817032e Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 5 Nov 2020 22:53:46 +0300 Subject: gn: python-yarl: Add v1.6.2 * gn/packages/twint.scm (python-yarl): New package --- gn/packages/twint.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gn/packages/twint.scm b/gn/packages/twint.scm index d0ad621..ef9d310 100644 --- a/gn/packages/twint.scm +++ b/gn/packages/twint.scm @@ -2,6 +2,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (guix build-system python) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix download) #:use-module (gnu packages check) @@ -146,6 +147,44 @@ `(("python-typing-extensions" ,python-typing-extensions) ,@(package-propagated-inputs python-aiohttp))))) +;; TODO: Upstream +(define-public python-aiohttp-socks-0.5.5 + (package + (inherit python-aiohttp-socks) + (name "python-aiohttp-socks-0.5.5") + (version "0.5.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/romis2012/aiohttp-socks") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ivl4x12pscmpyn7z14h0lr8shsjc244pbvfafi1fmp1ddfzgw1l")))) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-aiohttp" ,(specification->package "python-aiohttp@3.7.2")) + ("python-socks" ,python-socks))))) + +(define-public python-yarl-1.6.2 + (package + (inherit python-yarl) + (name "python-yarl-1.6.2") + (version "1.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "yarl" version)) + (sha256 + (base32 + "1dk6nyhkbhmlfqxislb9a8hqdi3s8jyip3krk6c8c92pkasljny4")))) + (propagated-inputs + `(("python-typing-extensions" ,python-typing-extensions) + ,@(package-propagated-inputs python-yarl))))) + (define-public python-twint (package (name "python-twint") -- cgit v1.2.3