python3Packages.torrequest: init at 0.1.0

This commit is contained in:
Lein Matsumaru 2021-07-30 16:48:06 +00:00
parent 44b0d80303
commit 71878bc1c9
No known key found for this signature in database
GPG key ID: AAA50652F0479205
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, requests, pysocks, stem }:
buildPythonPackage rec {
pname = "torrequest";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-N0XU6j/9qY16A0Njx4ets3qrd72rQAlKTZNzks1NroI=";
};
propagatedBuildInputs = [
pysocks requests stem
];
# This package does not contain any tests.
doCheck = false;
pythonImportsCheck = [
"torrequest"
];
meta = with lib; {
homepage = "https://github.com/erdiaker/torrequest";
description = "Simple Python interface for HTTP(s) requests over Tor";
license = with licenses; [ mit ];
maintainers = with maintainers; [ applePrincess ];
};
}

View file

@ -8757,6 +8757,8 @@ in {
# Used by streamlit, graphite_beacon, 2021-01-29
tornado_5 = callPackage ../development/python-modules/tornado/5.nix { };
torrequest = callPackage ../development/python-modules/torrequest { };
total-connect-client = callPackage ../development/python-modules/total-connect-client { };
towncrier = callPackage ../development/python-modules/towncrier {