mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 17:07:25 +03:00
python3Packages.meross-iot: init at 0.4.3.0
This commit is contained in:
parent
3367e3c780
commit
3eb345f069
46
pkgs/development/python-modules/meross-iot/default.nix
Normal file
46
pkgs/development/python-modules/meross-iot/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, retrying
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "meross-iot";
|
||||
version = "0.4.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertogeniola";
|
||||
repo = "MerossIot";
|
||||
rev = version;
|
||||
sha256 = "sha256-PZ1+Bjw7k6EFZEuPhbkGrdQzdLGiM4U0ecAAN8SxWU4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
paho-mqtt
|
||||
requests
|
||||
retrying
|
||||
];
|
||||
|
||||
# Test require network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"meross_iot"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to interact with Meross devices";
|
||||
homepage = "https://github.com/albertogeniola/MerossIot";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4797,6 +4797,8 @@ in {
|
||||
|
||||
merkletools = callPackage ../development/python-modules/merkletools { };
|
||||
|
||||
meross-iot = callPackage ../development/python-modules/meross-iot { };
|
||||
|
||||
mesa = callPackage ../development/python-modules/mesa { };
|
||||
|
||||
meshio = callPackage ../development/python-modules/meshio { };
|
||||
|
Loading…
Reference in New Issue
Block a user