Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-16 18:51:05 +00:00
committed by GitHub
1010 changed files with 2951 additions and 2714 deletions

View File

@@ -1,16 +1,14 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, attrs, protobuf, zeroconf }:
{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "2.6.3";
version = "2.6.4";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "esphome";
repo = pname;
rev = "v${version}";
sha256 = "1lbjxqdx63fc7qxx7xwq4b9dafmdafj7p1ggs48hyhbqfwkrv9p7";
src = fetchPypi {
inherit pname version;
sha256 = "d8def7a909c0471479e1d8b0965de6bb7644b8de315d6e578f9d848b8a6812d0";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];

View File

@@ -0,0 +1,38 @@
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, httpx
, packaging
, xmltodict
}:
buildPythonPackage rec {
pname = "axis";
version = "42";
src = fetchFromGitHub {
owner = "Kane610";
repo = pname;
rev = "v${version}";
sha256 = "1144zkgyf63qlw4dfn1zqcbgaksmxvjc4115jhzi98z0fkvlk34p";
};
propagatedBuildInputs = [
attrs
httpx
packaging
xmltodict
];
# Tests requires a server on localhost
doCheck = false;
pythonImportsCheck = [ "axis" ];
meta = with lib; {
description = "Python library for communicating with devices from Axis Communications";
homepage = "https://github.com/Kane610/axis";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-loganalytics";
version = "7.0.0";
version = "8.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e603f9fc61b8d2f93d8814bcca012a8b425cf0c0320ddf1e84462929cf34d1af";
sha256 = "3e7a93186594c328a6f34f0e0d9209a05021228baa85aa4c1c4ffdbf8005a45f";
};
propagatedBuildInputs = [

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "1.0.1";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04bd89d74fe47f966b09e3256ffefcfa5c1a51057a6b33c092afe5ae17a1a7b7";
sha256 = "e7f7943fe8f0efe98b3b1996cdec47c709765257a6e09e7940f7838a0f829e82";
};
propagatedBuildInputs = [

View File

@@ -11,15 +11,15 @@
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.0.0";
version = "7.0.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "875527251c1fed99fcb90597c6abb7daa4bc0ed88e080b4c36f897b704668450";
sha256 = "46d1e7b9da537da831c3184d42d3e2bc3c7ab9234e204a9d4c2e5dc54010721b";
};
buildInputs = [
propagatedBuildInputs = [
uamqp
azure-common
azure-core

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-storage-blob";
version = "12.6.0";
version = "12.7.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "dc7832d48ae3f5b31a0b24191084ce6ef7d8dfbf73e553dfe34eaddcb6813be3";
sha256 = "8194a5007ec1bda903d58bc976c98131ffd4b2f9a3b718f558c730c28ac152c6";
};
propagatedBuildInputs = [

View File

@@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.3.0";
version = "12.4.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "9f24a0ab51fd7ad294353594660b21081233f68ed8ee7483cdca26a70ce0ccbc";
sha256 = "fe420825ab87df7077ba2737d2889dddd702d595b88d6e0180f2e3b061602c55";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "base36";
version = "0.1.1";
src = fetchFromGitHub {
owner = "tonyseek";
repo = "python-base36";
rev = "v${version}";
sha256 = "076nmk9s0zkmgs2zqzkaqij5cmzhf4mrhivbb9n6cvz52i1mppr5";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "[pytest]" "[tool:pytest]" \
--replace "--pep8 --cov" ""
'';
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "test_base36.py" ];
pythonImportsCheck = [ "base36" ];
meta = with lib; {
description = "Python implementation for the positional numeral system using 36 as the radix";
homepage = "https://github.com/tonyseek/python-base36";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "djangoql";
version = "0.14.2";
version = "0.14.3";
src = fetchPypi {
inherit pname version;
sha256 = "91fd65d9ee4b09092602ff05aca8a21c5a18062faf56f269a011b8e8e41483c6";
sha256 = "d1b1344cb1e037f094c04ccc67b809e8df80dea1e88cfb919078426131737018";
};
propagatedBuildInputs = [ ply ];

View File

@@ -1,37 +1,26 @@
{ lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pytest, requests }:
{ lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, requests }:
buildPythonPackage rec {
pname = "fritzconnection";
version = "1.2.1";
version = "1.4.0";
# no tests on PyPI
src = fetchFromGitHub {
owner = "kbr";
repo = pname;
rev = version;
sha256 = "17z4shs56ci9mxmilppv5xy9gbnbp6p1h2ms6x55nkvwndacrp7x";
sha256 = "1p8dqcc75xfhyvc9izjzz8c7qfrdkjkrkj36j7ms5fimn5bwk70q";
};
disabled = pythonOlder "3.5";
# Exclude test files from build, which cause ImportMismtachErrors and
# otherwise missing resources during tests. This patch can be dropped once
# https://github.com/kbr/fritzconnection/pull/39 is merged.
prePatch = ''
substituteInPlace setup.py \
--replace 'find_packages()' 'find_packages(exclude=["*.tests"])'
'';
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python-Tool to communicate with the AVM FritzBox using the TR-064 protocol";
homepage = "https://bitbucket.org/kbr/fritzconnection";
homepage = "https://github.com/kbr/fritzconnection";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda valodim ];
};

View File

@@ -0,0 +1,34 @@
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, voluptuous
}:
buildPythonPackage rec {
pname = "hatasmota";
version = "0.2.5";
src = fetchFromGitHub {
owner = "emontnemery";
repo = pname;
rev = version;
sha256 = "1xsqrpd0dprjfaa2yrdy1g9n4xyrw6ifnzkrh3sq5fx0yfmxbzqm";
};
propagatedBuildInputs = [
attrs
voluptuous
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "hatasmota" ];
meta = with lib; {
description = "Python module to help parse and construct Tasmota MQTT messages";
homepage = "https://github.com/emontnemery/hatasmota";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -1,7 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, docutils, pybtex, six }:
buildPythonPackage rec {
version = "0.2.2";
version = "1.0.0";
pname = "pybtex-docutils";
doCheck = false;
@@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "ea90935da188a0f4de2fe6b32930e185c33a0e306154322ccc12e519ebb5fa7d";
sha256 = "cead6554b4af99c287dd29f38b1fa152c9542f56a51cb6cbc3997c95b2725b2e";
};
meta = {

View File

@@ -0,0 +1,50 @@
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, httpcore
, httpx
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, trio
, xmltodict
}:
buildPythonPackage rec {
pname = "respx";
version = "0.16.3";
src = fetchFromGitHub {
owner = "lundberg";
repo = pname;
rev = version;
sha256 = "0if9sg83rznl37hsjw6pfk78jpxi421g9p21wd92jcd6073g4nbd";
};
# Coverage is under 100 % due to the excluded tests
postPatch = ''
substituteInPlace setup.cfg --replace "--cov-fail-under 100" ""
'';
propagatedBuildInputs = [ httpx ];
checkInputs = [
httpcore
httpx
pytest-asyncio
pytest-cov
pytestCheckHook
trio
];
disabledTests = [ "test_pass_through" ];
pythonImportsCheck = [ "respx" ];
meta = with lib; {
description = "Python library for mocking HTTPX";
homepage = "https://lundberg.github.io/respx/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -25,12 +25,12 @@
buildPythonPackage rec {
pname = "snowflake-connector-python";
version = "2.3.6";
version = "2.3.8";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1a4ebf25989fc13d6f70dc3e2064721c54834e493a7964a1d67be61d40e75f50";
sha256 = "sha256-zsS5+0UGDwZM65MILfgAvZ67AbXGcLsVmGacgoxX530=";
};
propagatedBuildInputs = [
@@ -59,6 +59,7 @@ buildPythonPackage rec {
substituteInPlace setup.py \
--replace "'boto3>=1.4.4,<1.16'," "'boto3~=1.16'," \
--replace "'cryptography>=2.5.0,<3.0.0'," "'cryptography'," \
--replace "'pyOpenSSL>=16.2.0,<20.0.0'," "'pyOpenSSL'," \
--replace "'idna<2.10'," "'idna'," \
--replace "'requests<2.24.0'," "'requests',"
'';

View File

@@ -0,0 +1,36 @@
{ lib
, aiohttp
, backoff
, buildPythonPackage
, fetchFromGitHub
, yarl
}:
buildPythonPackage rec {
pname = "toonapi";
version = "0.2.0";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-toonapi";
rev = "v${version}";
sha256 = "1d4n615vlcgkvmchrfjw4h3ndav3ljmcfydxr2b41zn83mzizqdf";
};
propagatedBuildInputs = [
aiohttp
backoff
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "toonapi" ];
meta = with lib; {
description = "Python client for the Quby ToonAPI";
homepage = "https://github.com/frenck/python-toonapi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -1,23 +1,37 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, isPy3k
, certifi
, CFNetwork
, cmake
, enum34
, openssl
, Security
, six
, stdenv
, CFNetwork
, CoreFoundation
, Security
}:
buildPythonPackage rec {
pname = "uamqp";
version = "1.2.12";
version = "1.2.13";
src = fetchPypi {
inherit pname version;
sha256 = "c6657f1d8aae566b89d02c6282827dddcec2a90f75dc0d2d91a47e00c8999d99";
sha256 = "sha256-zDUFe/yMCThn+qJqDekMrUHEf1glGxBw4pioExLLoqg=";
};
patches = [
(fetchpatch {
url = "https://github.com/Azure/azure-c-shared-utility/commit/52ab2095649b5951e6af77f68954209473296983.patch";
sha256 = "06pxhdpkv94pv3lhj1vy0wlsqsdznz485bvg3zafj67r55g40lhd";
stripLen = "2";
extraPrefix = "src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/";
})
];
buildInputs = [
openssl
certifi
@@ -25,7 +39,9 @@ buildPythonPackage rec {
] ++ lib.optionals (!isPy3k) [
enum34
] ++ lib.optionals stdenv.isDarwin [
CFNetwork Security
CoreFoundation
CFNetwork
Security
];
dontUseCmakeConfigure = true;

View File

@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "zulip";
version = "0.7.0";
version = "0.7.1";
disabled = !isPy3k;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "zulip";
repo = "python-zulip-api";
rev = version;
sha256 = "0waldgpzq3ms1r1z14lxdj56lf082fnmi83l3fn8i8gqr8nvnch1";
sha256 = "0da1ki1v252avy27j6d7snnc0gyq0xa9fypm3qdmxhw2w79d6q36";
};
sourceRoot = "source/zulip";