python313Packages.wirelesstagpy: init at 0.8.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user