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