depot/third_party/nixpkgs/pkgs/development/python-modules/torrequest/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
722 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
pysocks,
stem,
}:
buildPythonPackage rec {
pname = "torrequest";
version = "0.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}