perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / openwebifpy / default.nix
blob1dd4ab8a8f2bd0d51d7c5fe4b12e3ffccb0541a9
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   setuptools,
10   # dependencies
11   aiohttp,
12   yarl,
14   # tests
15   pytestCheckHook,
18 buildPythonPackage rec {
19   pname = "openwebifpy";
20   version = "4.2.7";
21   pyproject = true;
23   disabled = pythonOlder "3.11";
25   src = fetchPypi {
26     inherit pname version;
27     hash = "sha256-MoTSfoO6km3jAaF9oIDxhxhMI8jqZAyPD6yBYcYxhd4=";
28   };
30   nativeBuildInputs = [ setuptools ];
32   propagatedBuildInputs = [
33     aiohttp
34     yarl
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "openwebif" ];
41   disabledTests = [
42     # https://github.com/autinerd/openwebifpy/issues/1
43     "test_get_picon_name"
44   ];
46   meta = with lib; {
47     description = "Provides a python interface to interact with a device running OpenWebIf";
48     downloadPage = "https://github.com/autinerd/openwebifpy";
49     homepage = "https://openwebifpy.readthedocs.io/";
50     changelog = "https://github.com/autinerd/openwebifpy/releases/tag/${version}";
51     license = licenses.mit;
52     maintainers = with maintainers; [ hexa ];
53   };