mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
python312Packages.txtorcon: switch to pypa builder
This commit is contained in:
parent
bb7c0499c8
commit
3134d8e0f9
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user