python312Packages.async-upnp-client: refactor
This commit is contained in:
parent
8cf2cf33ec
commit
d8b3f3fb46
@ -34,11 +34,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-RmpQOVZ/s3Zv2e+iS7LTI5Wh/g0yy0Xv0M8ppsbYZPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
defusedxml
|
||||
@ -56,20 +56,6 @@ buildPythonPackage rec {
|
||||
# socket.gaierror: [Errno -2] Name or service not known
|
||||
"test_async_get_local_ip"
|
||||
"test_get_local_ip"
|
||||
# OSError: [Errno 101] Network is unreachable
|
||||
"test_auto_resubscribe_fail"
|
||||
"test_init"
|
||||
"test_on_notify_dlna_event"
|
||||
"test_on_notify_upnp_event"
|
||||
"test_server_init"
|
||||
"test_server_start"
|
||||
"test_start_server"
|
||||
"test_subscribe"
|
||||
"test_subscribe_auto_resubscribe"
|
||||
"test_subscribe_fail"
|
||||
"test_subscribe_manual_resubscribe"
|
||||
"test_subscribe_renew"
|
||||
"test_unsubscribe"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_deferred_callback_url"
|
||||
];
|
||||
@ -85,10 +71,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asyncio UPnP Client library for Python";
|
||||
mainProgram = "upnp-client";
|
||||
homepage = "https://github.com/StevenLooman/async_upnp_client";
|
||||
changelog = "https://github.com/StevenLooman/async_upnp_client/blob/${version}/CHANGES.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
mainProgram = "upnp-client";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user