Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-15 06:40:38 +00:00
committed by GitHub
16 changed files with 170 additions and 24 deletions

View File

@@ -4,20 +4,13 @@
buildPythonPackage rec {
pname = "aiohttp_remotes";
version = "0.1.2";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "43c3f7e1c5ba27f29fb4dbde5d43b900b5b5fc7e37bf7e35e6eaedabaec4a3fc";
sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
};
patches = [
(fetchpatch {
url = "https://github.com/aio-libs/aiohttp-remotes/commit/188772abcea038c31dae7d607e487eeed44391bc.patch";
sha256 = "0pb1y4jb8ar1szhnjiyj2sdmdk6z9h6c3wrxw59nv9kr3if5igvs";
})
];
propagatedBuildInputs = [ aiohttp ];
checkInputs = [ pytest pytestcov pytest-aiohttp ];

View File

@@ -0,0 +1,45 @@
{ lib
, aiohttp
, asynctest
, buildPythonPackage
, fetchFromGitHub
, poetry
, pytest-aiohttp
, pytest-asyncio
, pytest-sugar
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aioswitcher";
version = "1.2.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "TomerFi";
repo = pname;
rev = version;
sha256 = "0wvca1jbyj4bwrpkpklbxnkvdp9zs7mrvg5b9vkx2hpyr81vyxam";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ aiohttp ];
checkInputs = [
asynctest
pytest-aiohttp
pytest-asyncio
pytest-sugar
pytestCheckHook
];
pythonImportsCheck = [ "aioswitcher" ];
meta = with lib; {
description = "Python module to interact with Switcher water heater";
homepage = "https://github.com/TomerFi/aioswitcher";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -18,7 +18,6 @@
buildPythonPackage rec {
pname = "azure-identity";
version = "1.5.0";
disabled = isPy38;
src = fetchPypi {
inherit pname version;
@@ -38,11 +37,6 @@ buildPythonPackage rec {
msrestazure
];
prePatch = ''
substituteInPlace setup.py \
--replace msal-extensions~=0.1.3 msal-extensions
'';
pythonImportsCheck = [ "azure.identity" ];
# Requires checkout from mono-repo and a mock account:

View File

@@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
}:
buildPythonPackage rec {
pname = "orvibo";
version = "1.1.1";
src = fetchFromGitHub {
owner = "happyleavesaoc";
repo = "python-orvibo";
rev = version;
sha256 = "042prd5yxqvlfija7ii1xn424iv1p7ndhxv6m67ij8cbvspwx356";
};
# Project as no tests
doCheck = false;
pythonImportsCheck = [ "orvibo" ];
meta = with lib; {
description = "Python client to work with Orvibo devices";
homepage = "https://github.com/happyleavesaoc/python-orvibo";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "pyvlx";
version = "0.2.19";
src = fetchFromGitHub {
owner = "Julius2342";
repo = pname;
rev = version;
sha256 = "031gp3sjagvmgdhfpdqlawva425ja1n3bmxk6jyn4zx54szj9zwf";
};
propagatedBuildInputs = [ pyyaml ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyvlx" ];
meta = with lib; {
description = "Python client to work with Velux units";
longDescription = ''
PyVLX uses the Velux KLF 200 interface to control io-Homecontrol
devices, e.g. Velux Windows.
'';
homepage = "https://github.com/Julius2342/pyvlx";
license = with licenses; [ lgpl2Only ];
maintainers = with maintainers; [ fab ];
};
}