pythonPackages.btsmarthub_devicelist: init at 0.2.3

This commit is contained in:
Jamie Magee
2022-12-23 22:46:30 -08:00
parent 168d614ed5
commit e9917797b1
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
requests,
responses,
}:
buildPythonPackage rec {
pname = "btsmarthub_devicelist";
version = "0.2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jxwolstenholme";
repo = "btsmarthub_devicelist";
rev = "${version}";
hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M=";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
responses
requests
pytestCheckHook
];
disabledTests = [
"test_btsmarthub2_detection_neither_router_present"
];
meta = with lib; {
description = "Retrieve a list of devices from a bt smarthub or bt smarthub 2 on a local network";
homepage = "https://github.com/jxwolstenholme/btsmarthub_devicelist";
license = licenses.mit;
maintainers = with maintainers; [jamiemagee];
};
}