2022-05-30 03:44:58 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, python
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, cryptography
|
|
|
|
, incremental
|
|
|
|
, twisted
|
|
|
|
, automat
|
|
|
|
, zope_interface
|
|
|
|
, idna
|
|
|
|
, pyopenssl
|
|
|
|
, service-identity
|
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
|
|
|
, lsof
|
|
|
|
, GeoIP
|
|
|
|
}:
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "txtorcon";
|
2022-03-17 13:06:34 +00:00
|
|
|
version = "22.0.0";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-17 13:06:34 +00:00
|
|
|
sha256 = "sha256-iaG2XjKks2nWfmwWY4f7xGjMXQUidEjSOaXn6XGKoFM=";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
2022-04-19 15:30:24 +01:00
|
|
|
propagatedBuildInputs = [
|
2022-05-30 03:44:58 +01:00
|
|
|
cryptography
|
|
|
|
incremental
|
|
|
|
twisted
|
|
|
|
automat
|
|
|
|
zope_interface
|
|
|
|
] ++ twisted.optional-dependencies.tls;
|
2022-04-19 15:30:24 +01:00
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook mock lsof GeoIP ];
|
2021-08-09 13:50:08 +01:00
|
|
|
|
2022-01-24 22:03:24 +00:00
|
|
|
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Twisted-based Tor controller client, with state-tracking and configuration abstractions";
|
2020-04-07 07:57:54 +01:00
|
|
|
homepage = "https://github.com/meejah/txtorcon";
|
2021-08-09 13:50:08 +01:00
|
|
|
maintainers = with lib.maintainers; [ jluttine exarkun ];
|
2017-09-05 10:16:41 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|