biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / somweb / default.nix
blob7abe33c14bf32aa64c59db0af26ca8631b43f02d
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   requests,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "somweb";
12   version = "1.2.1";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "taarskog";
17     repo = "pySOMweb";
18     rev = "v${version}";
19     hash = "sha256-cLKEKDCMK7lCtbmj2KbhgJUCZpPnPI5tZvO5L+ey8qI=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [
25     aiohttp
26     requests
27   ];
29   pythonImportsCheck = [ "somweb" ];
31   doCheck = false; # no tests
33   meta = with lib; {
34     changelog = "https://github.com/taarskog/pySOMweb/releases/tag/v${version}";
35     description = "A client library to control garage door operators produced by SOMMER through their SOMweb device";
36     homepage = "https://github.com/taarskog/pysomweb";
37     license = licenses.mit;
38     maintainers = with maintainers; [ uvnikita ];
39     mainProgram = "somweb";
40   };