Merge #314566: init python3Packages.plugp100 at 5.1.3

This commit is contained in:
nicoo 2024-05-28 11:36:15 +00:00 committed by GitHub
commit 5a7b442bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 59 additions and 0 deletions

View File

@ -16744,6 +16744,12 @@
github = "PhilippWoelfel";
githubId = 19400064;
};
pyle = {
name = "Adam Pyle";
email = "adam@pyle.dev";
github = "pyle";
githubId = 7279609;
};
pyrolagus = {
email = "pyrolagus@gmail.com";
github = "PyroLagus";

View File

@ -0,0 +1,51 @@
{
stdenv,
pkgs,
lib,
buildPythonPackage,
fetchFromGitHub,
certifi,
scapy,
urllib3,
semantic-version,
aiohttp,
jsons,
requests,
# Test inputs
pytestCheckHook,
pyyaml,
pytest-asyncio,
async-timeout,
}:
buildPythonPackage rec {
pname = "plugp100";
version = "5.1.3";
src = fetchFromGitHub {
owner = "petretiandrea";
repo = "plugp100";
rev = version;
sha256 = "sha256-V+9cVBMN8H4oFU51T9BDrLF46xgQHqIsMj8nuPedUGA=";
};
propagatedBuildInputs =
[ certifi jsons requests aiohttp semantic-version scapy urllib3 pyyaml ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio async-timeout ];
disabledTestPaths = [
"tests/integration/"
"tests/unit/hub_child/"
"tests/unit/test_plug_strip.py"
"tests/unit/test_hub.py "
"tests/unit/test_klap_protocol.py"
];
meta = with lib; {
description = "Python library to control Tapo Plug P100 devices";
homepage = "https://github.com/petretiandrea/plugp100";
license = licenses.gpl3;
maintainers = with maintainers; [ pyle ];
};
}

View File

@ -8971,6 +8971,8 @@ self: super: with self; {
nxt-python = callPackage ../development/python-modules/nxt-python { };
plugp100 = callPackage ../development/python-modules/plugp100 {};
python-ndn = callPackage ../development/python-modules/python-ndn { };
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };