pythonPackages: websocket_client -> websocket-client

This commit is contained in:
Sandro Jäckel
2021-06-15 13:12:45 +02:00
parent 48cc7f1d1c
commit 7b4d273d3c
45 changed files with 76 additions and 75 deletions

View File

@@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, aria2, poetry, pytest, pytestcov, pytest_xdist, responses
, asciimatics, loguru, requests, setuptools, websocket_client
, asciimatics, loguru, requests, setuptools, websocket-client
}:
buildPythonPackage rec {
@@ -32,7 +32,7 @@ buildPythonPackage rec {
pytest -nauto -k "not test_api and not test_cli and not test_interface"
'';
propagatedBuildInputs = [ asciimatics loguru requests setuptools websocket_client ];
propagatedBuildInputs = [ asciimatics loguru requests setuptools websocket-client ];
meta = with lib; {
homepage = "https://github.com/pawamoy/aria2p";

View File

@@ -6,7 +6,7 @@
, pytestCheckHook
, pythonOlder
, requests
, websocket_client
, websocket-client
, zeroconf
}:
@@ -25,7 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
requests
zeroconf
websocket_client
websocket-client
];
checkInputs = [

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, six, requests, websocket_client, docker_pycreds }:
{ lib, buildPythonPackage, fetchPypi, six, requests, websocket-client, docker_pycreds }:
buildPythonPackage rec {
version = "1.10.6";
@@ -15,7 +15,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
six
requests
websocket_client
websocket-client
docker_pycreds
];

View File

@@ -9,7 +9,7 @@
, pytestCheckHook
, requests
, six
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -27,7 +27,7 @@ buildPythonPackage rec {
paramiko
requests
six
websocket_client
websocket-client
] ++ lib.optional isPy27 backports_ssl_match_hostname;
checkInputs = [

View File

@@ -17,7 +17,7 @@
, requests
, requests_toolbelt
, terminaltables
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -55,7 +55,7 @@ buildPythonPackage rec {
requests
requests_toolbelt
terminaltables
websocket_client
websocket-client
];
# tries to use /homeless-shelter to mimic container usage, etc

View File

@@ -10,7 +10,7 @@
, pytest-aiohttp
, pytest-asyncio
, requests
, websocket_client
, websocket-client
, websockets
}:
@@ -31,7 +31,7 @@ buildPythonPackage rec {
aiohttp
async-timeout
requests
websocket_client
websocket-client
websockets
];

View File

@@ -8,7 +8,7 @@
, tox
, requests
, python-dateutil
, websocket_client
, websocket-client
, ibm-cloud-sdk-core
}:
@@ -34,7 +34,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
requests
python-dateutil
websocket_client
websocket-client
ibm-cloud-sdk-core
];

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, requests
, websocket_client, pythonOlder }:
, websocket-client, pythonOlder }:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
@@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "sha256-nSLUa9/jAT6XrHo77kV5HYBxPO/lhcWKqPfpES7ul9A=";
};
propagatedBuildInputs = [ requests websocket_client ];
propagatedBuildInputs = [ requests websocket-client ];
doCheck = false; # no tests
pythonImportsCheck = [ "jellyfin_apiclient_python" ];

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pythonAtLeast,
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google-auth, adal,
ipaddress, websocket-client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google-auth, adal,
isort, pytest, coverage, mock, sphinx, autopep8, pep8, codecov, recommonmark, nose }:
buildPythonPackage rec {
@@ -28,7 +28,7 @@ buildPythonPackage rec {
};
checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google-auth adal ];
propagatedBuildInputs = [ ipaddress websocket-client urllib3 pyyaml requests_oauthlib python-dateutil google-auth adal ];
meta = with lib; {
description = "Kubernetes python client";

View File

@@ -1,6 +1,6 @@
{ lib, fetchPypi, buildPythonPackage, hidapi
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -13,7 +13,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket_client
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket-client
];
# No tests

View File

@@ -3,7 +3,7 @@
, fetchFromGitHub
, enum-compat
, requests
, websocket_client
, websocket-client
, zeroconf
, pytestCheckHook
}:
@@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
requests
enum-compat
websocket_client
websocket-client
zeroconf
];

View File

@@ -6,7 +6,7 @@
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
, websocket-client
}:
buildPythonPackage rec {

View File

@@ -3,7 +3,7 @@
, fetchFromGitHub
, requests
, tqdm
, websocket_client
, websocket-client
, isPy27
}:
@@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
requests
tqdm
websocket_client
websocket-client
];
# Tests require a running Plex instance

View File

@@ -9,7 +9,7 @@
, pytest
, requests-toolbelt
, update_checker
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -31,7 +31,7 @@ buildPythonPackage rec {
mock
prawcore
update_checker
websocket_client
websocket-client
];
checkInputs = [

View File

@@ -9,7 +9,7 @@
, pytestCheckHook
, requests-toolbelt
, update_checker
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -27,7 +27,7 @@ buildPythonPackage rec {
mock
prawcore
update_checker
websocket_client
websocket-client
];
checkInputs = [

View File

@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, requests
, websocket_client
, websocket-client
, python_magic
, cryptography
, pytestCheckHook
@@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64";
};
propagatedBuildInputs = [ cryptography requests websocket_client python_magic ];
propagatedBuildInputs = [ cryptography requests websocket-client python_magic ];
preCheck = ''
export PUSHBULLET_API_KEY=""

View File

@@ -4,7 +4,7 @@
, pytz
, oauthlib
, requests
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -20,7 +20,7 @@ buildPythonPackage rec {
pytz
oauthlib
requests
websocket_client
websocket-client
];
# no tests implemented

View File

@@ -12,7 +12,7 @@
, pygame
, s2clientprotocol
, six
, websocket_client
, websocket-client
, sc2-headless
}:
@@ -49,7 +49,7 @@ buildPythonPackage {
pygame
s2clientprotocol
six
websocket_client
websocket-client
sc2-headless
];

View File

@@ -10,7 +10,7 @@
, requests
, six
, tornado
, websocket_client
, websocket-client
, websockets
, pytestCheckHook
, pythonAtLeast
@@ -37,7 +37,7 @@ buildPythonPackage rec {
mock
requests
tornado
websocket_client
websocket-client
websockets
pytestCheckHook
];

View File

@@ -9,7 +9,7 @@
, requests
, six
, tornado
, websocket_client
, websocket-client
, websockets
, pytestCheckHook
}:
@@ -31,7 +31,7 @@ buildPythonPackage rec {
mock
requests
tornado
websocket_client
websocket-client
websockets
pytestCheckHook
];

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pythonOlder }:
, tqdm, websocket-client, pythonOlder }:
buildPythonPackage rec {
pname = "python-mpv-jsonipc";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
# 'mpv-jsonipc' does not have any tests
doCheck = false;
propagatedBuildInputs = [ requests tqdm websocket_client ];
propagatedBuildInputs = [ requests tqdm websocket-client ];
pythonImportsCheck = [ "python_mpv_jsonipc" ];

View File

@@ -7,7 +7,7 @@
, pythonOlder
, requests
, six
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -31,7 +31,7 @@ buildPythonPackage rec {
ifaddr
requests
six
websocket_client
websocket-client
];
patches = [

View File

@@ -21,7 +21,7 @@
, deepdiff
, pytestCheckHook
, pytestcov
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -62,7 +62,7 @@ buildPythonPackage rec {
deepdiff
pytestCheckHook
pytestcov
websocket_client
websocket-client
];
disabledTests = [

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -12,7 +12,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
websocket_client
websocket-client
];
# no tests

View File

@@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, requests
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -14,7 +14,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
websocket_client
websocket-client
requests
];

View File

@@ -15,7 +15,7 @@
, pytestCheckHook
, pytestrunner
, sqlalchemy
, websocket_client
, websocket-client
, websockets
}:
@@ -36,7 +36,7 @@ buildPythonPackage rec {
aiohttp
boto3
sqlalchemy
websocket_client
websocket-client
websockets
];

View File

@@ -14,7 +14,7 @@
, requests
, responses
, six
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -32,7 +32,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
websocket_client
websocket-client
requests
six
];

View File

@@ -6,7 +6,7 @@
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
, websocket-client
}:
buildPythonPackage rec {
@@ -24,7 +24,7 @@ buildPythonPackage rec {
click
pytest-runner
requests
websocket_client
websocket-client
];
checkInputs = [

View File

@@ -8,11 +8,12 @@
}:
buildPythonPackage rec {
pname = "websocket_client";
pname = "websocket-client";
version = "0.58.0";
src = fetchPypi {
inherit pname version;
pname = "websocket_client";
inherit version;
sha256 = "sha256-Y1CbQdFYrlt/Z+tK0g/su07umUNOc+FANU3D/44JcW8=";
};