emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / volkszaehler / default.nix
blob1ff7a7739fbd18109dddf939222d1d60a592e8be
2   lib,
3   aiohttp,
4   async-timeout,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "volkszaehler";
13   version = "0.5.0";
14   pyproject = true;
16   disabled = pythonOlder "3.10";
18   src = fetchFromGitHub {
19     owner = "home-assistant-ecosystem";
20     repo = "python-volkszaehler";
21     tag = version;
22     hash = "sha256-7SB0x0BO9SMeMG1M/hH4fX7oDbtwPgCzyRrrUq1/WPo=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   dependencies = [
28     aiohttp
29     async-timeout
30   ];
32   # no tests are present
33   doCheck = false;
35   pythonImportsCheck = [ "volkszaehler" ];
37   meta = with lib; {
38     description = "Python module for interacting with the Volkszahler API";
39     homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler";
40     changelog = "https://github.com/home-assistant-ecosystem/python-volkszaehler/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };