Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / glances-api / default.nix
blob1ec6ce33420026873394455394cfba084678e242
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , async-timeout
6 }:
8 buildPythonPackage rec {
9   pname = "glances-api";
10   version = "0.2.1";
12   src = fetchFromGitHub {
13     owner = "home-assistant-ecosystem";
14     repo = "python-glances-api";
15     rev = version;
16     sha256 = "sha256-mbkZZg2fmus4kOXFxHE/UV/nxemFAsoEZu8IUa7SPsg=";
17   };
19   propagatedBuildInputs = [
20     aiohttp
21     async-timeout
22   ];
24   # no tests are present
25   doCheck = false;
26   pythonImportsCheck = [ "glances_api" ];
28   meta = with lib; {
29     description = "Python API for interacting with Glances";
30     homepage = "https://github.com/home-assistant-ecosystem/python-glances-api";
31     license = with licenses; [ mit ];
32     maintainers = with maintainers; [ fab ];
33   };