mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #160593 from r-ryantm/auto-update/python3.10-pyinsteon
This commit is contained in:
commit
013ec9faf7
1 changed files with 12 additions and 10 deletions
|
@ -1,36 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
, async_generator
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pypubsub
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pyyaml
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytest-cov
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyinsteon";
|
||||
version = "1.0.15";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-bR+2885JdGoVHBIZQG8iF0OXsECew7m5N9vopKtGp3I=";
|
||||
hash = "sha256-bR+2885JdGoVHBIZQG8iF0OXsECew7m5N9vopKtGp3I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
async_generator
|
||||
pypubsub
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
|
@ -38,13 +38,15 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
async_generator
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyinsteon" ];
|
||||
pythonImportsCheck = [
|
||||
"pyinsteon"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to support Insteon home automation projects";
|
||||
|
|
Loading…
Reference in a new issue