python313Packages.wirelesstagpy: init at 0.8.1

This commit is contained in:
Jamie Magee
2025-07-29 22:10:46 -07:00
parent e960a8fb5b
commit aa1953e8fa
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
requests-mock,
}:
buildPythonPackage rec {
pname = "wirelesstagpy";
version = "0.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sergeymaysak";
repo = "wirelesstagpy";
tag = version;
hash = "sha256-xmcXBlApteGAQwfNx6fmFkP7enRy3Iy19+6mAjc7LWA=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [
pytestCheckHook
requests-mock
];
enabledTests = [ "test" ];
disabledTestPaths = [
# Requires tl.testing dependency
"test/test_cloud_push.py"
];
pythonImportsCheck = [
"wirelesstagpy"
"wirelesstagpy.constants"
"wirelesstagpy.notificationconfig"
"wirelesstagpy.sensortag"
"wirelesstagpy.binaryevent"
];
meta = {
description = "Simple python wrapper over wirelesstags REST API";
homepage = "https://github.com/sergeymaysak/wirelesstagpy";
changelog = "https://github.com/sergeymaysak/wirelesstagpy/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
+2
View File
@@ -19658,6 +19658,8 @@ self: super: with self; {
winsspi = callPackage ../development/python-modules/winsspi { };
wirelesstagpy = callPackage ../development/python-modules/wirelesstagpy { };
wirerope = callPackage ../development/python-modules/wirerope { };
withings-api = callPackage ../development/python-modules/withings-api { };