Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
914 B
Nix
41 lines
914 B
Nix
{
|
|
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 ];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|