biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / webthing-ws / default.nix
blob3df7d186181399ff03b7c438fdd8c1d4872c95c7
2   lib,
3   aiohttp,
4   async-timeout,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "webthing-ws";
12   version = "0.2.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.9";
17   src = fetchFromGitHub {
18     owner = "home-assistant-ecosystem";
19     repo = pname;
20     rev = "refs/tags/${version}";
21     hash = "sha256-j7nc4yJczDs28RVFDHeQ2ZIG9mIW2m25AAeErVKi4E4=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     async-timeout
27   ];
29   # Module has no tests
30   doCheck = false;
32   pythonImportsCheck = [ "webthing_ws" ];
34   meta = with lib; {
35     description = "WebThing WebSocket consumer and API client";
36     homepage = "https://github.com/home-assistant-ecosystem/webthing-ws";
37     changelog = "https://github.com/home-assistant-ecosystem/webthing-ws/releases/tag/${version}";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };