From ba2b3c4064dc2560f4c7497e40fa74b1108c11f6 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 11 Jun 2020 00:09:26 +0300 Subject: gn: add twint and deps --- gn/packages/twint.scm | 195 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 gn/packages/twint.scm (limited to 'gn/packages') diff --git a/gn/packages/twint.scm b/gn/packages/twint.scm new file mode 100644 index 0000000..64cf4a0 --- /dev/null +++ b/gn/packages/twint.scm @@ -0,0 +1,195 @@ +(define-module (gn packages twint) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (guix build-system python) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (gn packages mailman) + #:use-module (gnu packages check) + #:use-module (gnu packages sphinx) + #:use-module (gnu packages time) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-science) + #:use-module (gnu packages python-xyz)) + +(define-public python-googletransx + (package + (name "python-googletransx") + (version "2.4.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "googletransx" version)) + (sha256 + (base32 + "1nnn08cqc57d8lq1qp82fazk1x83ccdi410hmzlbnajw6vinfrf4")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-requests" ,python-requests))) + (home-page + "https://github.com/x0rkov/py-googletrans") + (synopsis + "Free Google Translate API for Python. Translates totally free of charge.") + (description + "Free Google Translate API for Python. Translates totally free of charge.") + (license license:expat))) + +(define-public python-statistics + (package + (name "python-statistics") + (version "1.0.3.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "statistics" version)) + (sha256 + (base32 + "0f61hrj25p60kvf09nqysd6xlccm5dmx1jl8akfjvgq71fw7khrd")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-docutils" ,python-docutils))) + (home-page "UNKNOWN") + (synopsis + "A Python 2.* port of 3.4 Statistics Module") + (description + "A Python 2.* port of 3.4 Statistics Module") + (license #f))) + +(define-public python-geopy + (package + (name "python-geopy") + (version "1.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geopy" version)) + (sha256 + (base32 + "0jypkaqlbyr8icqypwm23lzsvq7flakp3a3nqr8ib5fmd0fzsq7q")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-geographiclib" ,python-geographiclib))) + (native-inputs + `(("python-contextlib2" ,python-contextlib2) + ("python-coverage" ,python-coverage) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-readme-renderer" + ,python-readme-renderer) + ("python-six" ,python-six) + ("python-sphinx" ,python-sphinx) + ("python-sphinx-rtd-theme" + ,python-sphinx-rtd-theme) + ("python-statistics" ,python-statistics))) + (home-page "https://github.com/geopy/geopy") + (synopsis "Python Geocoding Toolbox") + (description "Python Geocoding Toolbox") + (license license:expat))) + +(define-public python-fake-useragent + (package + (name "python-fake-useragent") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fake-useragent" version)) + (sha256 + (base32 + "0dfz3bpmjmaxlhda6hfgsac7afb65pljibi8zkp9gc0ffn5rj161")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (home-page + "https://github.com/hellysmile/fake-useragent") + (synopsis + "Up to date simple useragent faker with real world database") + (description + "Up to date simple useragent faker with real world database") + (license #f))) + +(define-public python-cchardet + (package + (name "python-cchardet") + (version "2.1.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cchardet" version)) + (sha256 + (base32 + "1cs6y59qhbal8fgbyjk2lpjykh8kfjhq16clfssylsddb4hgnsmp")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (home-page "https://github.com/PyYoshi/cChardet") + (synopsis + "cChardet is high speed universal character encoding detector.") + (description + "cChardet is high speed universal character encoding detector.") + (license #f))) + +(define-public python-geographiclib + (package + (name "python-geographiclib") + (version "1.50") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geographiclib" version)) + (sha256 + (base32 + "0cn6ap5fkh3mkfa57l5b44z3gvz7j6lpmc9rl4g2jny2gvp4dg8j")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (home-page + "https://geographiclib.sourceforge.io/1.50/python") + (synopsis + "The geodesic routines from GeographicLib") + (description + "The geodesic routines from GeographicLib") + (license license:expat))) + +(define-public python-twint + (package + (name "python-twint") + (version "2.1.20") + (source + (origin + (method url-fetch) + (uri (pypi-uri "twint" version)) + (sha256 + (base32 + "0pcnn7p114agwk41vayp7wbc61yx7bwa1k7lz7gsa7p3jwcngdxk")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-aiodns" ,python-aiodns) + ("python-aiohttp" ,python-aiohttp) + ("python-aiohttp-socks" ,python-aiohttp-socks) + ("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-cchardet" ,python-cchardet) + ("python-elasticsearch" ,python-elasticsearch) + ("python-fake-useragent" ,python-fake-useragent) + ("python-geopy" ,python-geopy) + ("python-googletransx" ,python-googletransx) + ("python-pandas" ,python-pandas) + ("python-pysocks" ,python-pysocks) + ("python-schedule" ,python-schedule))) + (home-page + "https://github.com/twintproject/twint") + (synopsis + "An advanced Twitter scraping & OSINT tool.") + (description + "An advanced Twitter scraping & OSINT tool.") + (license license:expat))) -- cgit v1.2.3