python3Packages.blebox-uniapi: init at 1.3.3
This commit is contained in:
parent
b3a337757a
commit
1878c369a7
2 changed files with 51 additions and 0 deletions
49
pkgs/development/python-modules/blebox-uniapi/default.nix
Normal file
49
pkgs/development/python-modules/blebox-uniapi/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, semver
|
||||
, asynctest
|
||||
, deepmerge
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blebox-uniapi";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blebox";
|
||||
repo = "blebox_uniapi";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qvv2697yhqjmgvh37h8wgz3a77n61kqmxvsk4pf47wn43hks15c";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
semver
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
deepmerge
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "blebox_uniapi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for accessing BleBox smart home devices";
|
||||
homepage = "https://github.com/blebox/blebox_uniapi";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -1099,6 +1099,8 @@ in {
|
|||
|
||||
bleak = callPackage ../development/python-modules/bleak { };
|
||||
|
||||
blebox-uniapi = callPackage ../development/python-modules/blebox-uniapi { };
|
||||
|
||||
blessed = callPackage ../development/python-modules/blessed { };
|
||||
|
||||
blessings = callPackage ../development/python-modules/blessings { };
|
||||
|
|
Loading…
Reference in a new issue