Merge pull request #132091 from applePrincess/add-torrequest
python3Packages.torrequest: init at 0.1.0
This commit is contained in:
commit
51d40d3fd6
29
pkgs/development/python-modules/torrequest/default.nix
Normal file
29
pkgs/development/python-modules/torrequest/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8803,6 +8803,8 @@ in {
|
||||||
# Used by streamlit, graphite_beacon, 2021-01-29
|
# Used by streamlit, graphite_beacon, 2021-01-29
|
||||||
tornado_5 = callPackage ../development/python-modules/tornado/5.nix { };
|
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 { };
|
total-connect-client = callPackage ../development/python-modules/total-connect-client { };
|
||||||
|
|
||||||
towncrier = callPackage ../development/python-modules/towncrier {
|
towncrier = callPackage ../development/python-modules/towncrier {
|
||||||
|
|
Loading…
Reference in a new issue