Merge pull request #91958 from mweinelt/hass

homeassistant: 0.111.4 -> 0.112.3
This commit is contained in:
Jörg Thalheim
2020-07-07 09:56:04 +01:00
committed by GitHub
10 changed files with 146 additions and 88 deletions

View File

@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "graphql-core";
version = "2.3.1";
version = "3.1.2";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "029jnwy6zbj4x7f3ffpn1gyx0w9ala9cj2g115g6aa7im3xd2jma";
sha256 = "0kvbj9dwpx8mjfj86kqx54dbz9k72ki147ssyj0ca2syvb8jm3wb";
};
propagatedBuildInputs = [

View File

@@ -1,23 +1,33 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, black
, graphql-core
, promise
, fetchpatch
, pythonOlder
}:
buildPythonPackage rec {
pname = "graphql-server-core";
version = "1.2.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr";
};
disable = pythonOlder "3.6";
patches = [
(fetchpatch {
url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch";
sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46";
})
];
propagatedBuildInputs = [
graphql-core
promise

View File

@@ -0,0 +1,53 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, rx
, certifi
, six
, python-dateutil
, setuptools
, urllib3
, ciso8601
, pytz
, pythonOlder
}:
buildPythonPackage rec {
pname = "influxdb-client";
version = "1.8.0";
disabled = pythonOlder "3.6"; # requires python version >=3.6
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "v${version}";
sha256 = "0gf0fjkd10yn1bb86rfapnd5diraivshn9mhzqxaxwlfah45q187";
};
# makes test not reproducible
postPatch = ''
sed -i -e '/randomize/d' test-requirements.txt
'';
propagatedBuildInputs = [
rx
certifi
six
python-dateutil
setuptools
urllib3
ciso8601
pytz
];
# requires influxdb server
doCheck = false;
meta = with lib; {
description = "InfluxDB 2.0 Python client library";
homepage = "https://github.com/influxdata/influxdb-client-python";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}

View File

@@ -1,15 +1,16 @@
{ lib, fetchFromGitHub, buildPythonPackage, nose }:
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
buildPythonPackage rec {
pname = "rx";
version = "1.6.1";
version = "3.1.0";
disabled = pythonOlder "3.6";
# There are no tests on the pypi source
src = fetchFromGitHub {
owner = "ReactiveX";
repo = "rxpy";
rev = version;
sha256 = "14bca67a26clzcf2abz2yb8g9lfxffjs2l236dp966sp0lfbpsn5";
rev = "v${version}";
sha256 = "0rcwa8001il9p7s096b9gc5yld8cyxvrsmwh1gpc9b87j172z6ax";
};
checkInputs = [ nose ];