Merge pull request #204301 from fabaff/pytibber-bump
python310Packages.pytibber: 0.26.1 -> 0.26.3
This commit is contained in:
commit
f541e2c82c
|
@ -93,6 +93,22 @@ buildPythonPackage rec {
|
||||||
# Exclude linter tests
|
# Exclude linter tests
|
||||||
"gql-checker/tests/test_flake8_linter.py"
|
"gql-checker/tests/test_flake8_linter.py"
|
||||||
"gql-checker/tests/test_pylama_linter.py"
|
"gql-checker/tests/test_pylama_linter.py"
|
||||||
|
# Tests require network access
|
||||||
|
"tests/custom_scalars/test_money.py"
|
||||||
|
"tests/test_aiohttp.py"
|
||||||
|
"tests/test_appsync_http.py"
|
||||||
|
"tests/test_appsync_websockets.py"
|
||||||
|
"tests/test_async_client_validation.py"
|
||||||
|
"tests/test_graphqlws_exceptions.py"
|
||||||
|
"tests/test_graphqlws_subscription.py"
|
||||||
|
"tests/test_phoenix_channel_exceptions.py"
|
||||||
|
"tests/test_phoenix_channel_exceptions.py"
|
||||||
|
"tests/test_phoenix_channel_query.py"
|
||||||
|
"tests/test_phoenix_channel_subscription.py"
|
||||||
|
"tests/test_requests.py"
|
||||||
|
"tests/test_websocket_exceptions.py"
|
||||||
|
"tests/test_websocket_query.py"
|
||||||
|
"tests/test_websocket_subscription.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -102,6 +118,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GraphQL client in Python";
|
description = "GraphQL client in Python";
|
||||||
homepage = "https://github.com/graphql-python/gql";
|
homepage = "https://github.com/graphql-python/gql";
|
||||||
|
changelog = "https://github.com/graphql-python/gql/releases/tag/v${version}";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, pythonOlder
|
|
||||||
, fetchFromGitHub
|
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, async-timeout
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
, gql
|
, gql
|
||||||
, python-dateutil
|
, graphql-subscription-manager
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, python-dateutil
|
||||||
|
, pythonOlder
|
||||||
|
, pytz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytibber";
|
pname = "pytibber";
|
||||||
version = "0.26.1";
|
version = "0.26.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -21,16 +23,16 @@ buildPythonPackage rec {
|
||||||
owner = "Danielhiversen";
|
owner = "Danielhiversen";
|
||||||
repo = "pyTibber";
|
repo = "pyTibber";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-Bok5dtEpteo20vnQa0myxFHiu2BViqlvKZ5TxAkfFUM=";
|
hash = "sha256-4yDV6tH1XSWZfcjCJ/3r4hl1n4Sbgc3x7YPE6GOfA3Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
async-timeout
|
async-timeout
|
||||||
gql
|
gql
|
||||||
|
graphql-subscription-manager
|
||||||
python-dateutil
|
python-dateutil
|
||||||
]
|
] ++ gql.optional-dependencies.websockets;
|
||||||
++ gql.optional-dependencies.websockets;
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
@ -41,7 +43,7 @@ buildPythonPackage rec {
|
||||||
"test/test.py"
|
"test/test.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
# tests access network
|
# Tests access network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -49,9 +51,9 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/Danielhiversen/pyTibber/releases/tag/${version}";
|
|
||||||
description = "Python library to communicate with Tibber";
|
description = "Python library to communicate with Tibber";
|
||||||
homepage = "https://github.com/Danielhiversen/pyTibber";
|
homepage = "https://github.com/Danielhiversen/pyTibber";
|
||||||
|
changelog = "https://github.com/Danielhiversen/pyTibber/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue