Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 37 lines 864 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 requests, 7 responses, 8}: 9buildPythonPackage rec { 10 pname = "btsmarthub-devicelist"; 11 version = "0.2.3"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "jxwolstenholme"; 16 repo = "btsmarthub_devicelist"; 17 rev = version; 18 hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M="; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 nativeCheckInputs = [ 24 responses 25 requests 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ "test_btsmarthub2_detection_neither_router_present" ]; 30 31 meta = { 32 description = "Retrieve a list of devices from a bt smarthub or bt smarthub 2 on a local network"; 33 homepage = "https://github.com/jxwolstenholme/btsmarthub_devicelist"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ jamiemagee ]; 36 }; 37}