Merge pull request #142782 from fabaff/aiolookin
This commit is contained in:
commit
acc5420dae
52
pkgs/development/python-modules/aiolookin/default.nix
Normal file
52
pkgs/development/python-modules/aiolookin/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, faker
|
||||
, fetchFromGitHub
|
||||
, pytest-aiohttp
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolookin";
|
||||
version = "0.0.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ANMalko";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15mdvrzvqpdvg9zkczzgzzc5v2ri3v5f17000mhxill1nhirxhqx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
faker
|
||||
pytest-aiohttp
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Not all tests are ready yet
|
||||
"test_successful"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiolookin"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for interacting with LOOKin devices";
|
||||
homepage = "https://github.com/ANMalko/aiolookin";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -325,6 +325,8 @@ in {
|
||||
|
||||
aiokef = callPackage ../development/python-modules/aiokef { };
|
||||
|
||||
aiolookin = callPackage ../development/python-modules/aiolookin { };
|
||||
|
||||
aiolifx = callPackage ../development/python-modules/aiolifx { };
|
||||
|
||||
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
|
||||
|
Loading…
Reference in New Issue
Block a user