ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / netdisco / default.nix
blob0017483eca27861ccbdd25bbf892d21c063a9319
1 { lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
3 buildPythonPackage rec {
4   pname = "netdisco";
5   version = "3.0.0";
7   disabled = !isPy3k;
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "sha256-TbtZBILzd8zEYeAXQnB8y+jx0tGyhXivkdybf+vNy9I=";
12   };
14   propagatedBuildInputs = [ requests zeroconf ];
16   checkInputs = [ pytestCheckHook ];
18   disabledTestPaths = [
19     # Broken due to removed discoverables in https://github.com/home-assistant-libs/netdisco/commit/477db5a1dc93919a6c5bd61b4b1d3c80e75785bd
20     "tests/test_xboxone.py"
21   ];
23   pythonImportsCheck = [
24     "netdisco"
25     "netdisco.discovery"
26   ];
28   meta = with lib; {
29     description = "Python library to scan local network for services and devices";
30     homepage = "https://github.com/home-assistant/netdisco";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ dotlambda ];
33   };