mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 21:15:57 +00:00
41 lines
919 B
Nix
41 lines
919 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
requests,
|
|
responses,
|
|
setuptools,
|
|
}:
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "btsmarthub-devicelist";
|
|
version = "0.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jxwolstenholme";
|
|
repo = "btsmarthub_devicelist";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
nativeCheckInputs = [
|
|
responses
|
|
requests
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [ "test_btsmarthub2_detection_neither_router_present" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jamiemagee ];
|
|
};
|
|
})
|