python312Packages.txtorcon: switch to pypa builder

This commit is contained in:
natsukium 2024-09-15 16:45:44 +09:00
parent bb7c0499c8
commit 3134d8e0f9
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -6,11 +6,11 @@
cryptography,
fetchPypi,
geoip,
incremental,
lsof,
mock,
pytestCheckHook,
pythonOlder,
setuptools,
twisted,
zope-interface,
}:
@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "txtorcon";
version = "24.8.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -27,10 +27,10 @@ buildPythonPackage rec {
hash = "sha256-vv4ZE42cjFMHtu5tT+RG0MIB/9HMQErrJl7ZAwmXitA=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
cryptography
incremental
twisted
automat
zope-interface
@ -45,6 +45,8 @@ buildPythonPackage rec {
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
pythonImportsCheck = [ "txtorcon" ];
meta = with lib; {
description = "Twisted-based Tor controller client, with state-tracking and configuration abstractions";
homepage = "https://github.com/meejah/txtorcon";