blob: dd17a3f6c10fd51c1c949704f400de1ced2c7658 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
buildPythonPackage rec {
pname = "netdisco";
version = "2.8.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4WS9PiErB6U7QuejTvbrOmnHetbE5S4zaUyhLCbyihM=";
};
propagatedBuildInputs = [ requests zeroconf ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"netdisco"
"netdisco.discovery"
];
meta = with lib; {
description = "Python library to scan local network for services and devices";
homepage = "https://github.com/home-assistant/netdisco";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}
|