Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / netdisco / default.nix
blob6ea7841dff875a6ab77ab4c9f2a57ec13b53bdc3
1 { lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
3 buildPythonPackage rec {
4   pname = "netdisco";
5   version = "3.0.0";
6   format = "setuptools";
8   disabled = !isPy3k;
10   src = fetchPypi {
11     inherit pname version;
12     hash = "sha256-TbtZBILzd8zEYeAXQnB8y+jx0tGyhXivkdybf+vNy9I=";
13   };
15   propagatedBuildInputs = [ requests zeroconf ];
17   nativeCheckInputs = [ pytestCheckHook ];
19   disabledTestPaths = [
20     # Broken due to removed discoverables in https://github.com/home-assistant-libs/netdisco/commit/477db5a1dc93919a6c5bd61b4b1d3c80e75785bd
21     "tests/test_xboxone.py"
22   ];
24   pythonImportsCheck = [
25     "netdisco"
26     "netdisco.discovery"
27   ];
29   meta = with lib; {
30     description = "Python library to scan local network for services and devices";
31     homepage = "https://github.com/home-assistant/netdisco";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ dotlambda ];
34   };