biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / ssdpy / default.nix
blob8cadb4ec74fa9632aba2cc3691904679e592ffe7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7   pytest-mock,
8 }:
10 buildPythonPackage rec {
11   pname = "ssdpy";
12   version = "0.4.1";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "MoshiBin";
17     repo = "ssdpy";
18     rev = version;
19     hash = "sha256-luOanw4aOepGxoGtmnWZosq9JyHLJb3E+25tPkkL1w0=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   nativeCheckInputs = [
25     pytestCheckHook
26     pytest-mock
27   ];
29   pythonImportsCheck = [ "ssdpy" ];
31   disabledTests = [
32     # They all require network access
33     "test_client_json_output"
34     "test_discover"
35     "test_server_ipv4"
36     "test_server_ipv6"
37     "test_server_binds_iface"
38     "test_server_bind_address_ipv6"
39     "test_server_extra_fields"
40   ];
42   meta = with lib; {
43     changelog = "https://github.com/MoshiBin/ssdpy/releases/tag/${version}";
44     description = "Lightweight, compatible SSDP library for Python";
45     homepage = "https://github.com/MoshiBin/ssdpy";
46     license = licenses.mit;
47     maintainers = with maintainers; [ mjm ];
48   };