Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / opensensemap-api / default.nix
blob8311cb6c57e174447ba35da1d2aaf86af51beba0
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , aiohttp
5 , async-timeout
6 }:
8 buildPythonPackage rec {
9   pname = "opensensemap-api";
10   version = "0.1.6";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "sha256-e60aVIoKFqo++WJHUYGutugkjB8YgyNQgJbILgAyOOY=";
15   };
17   propagatedBuildInputs = [
18     aiohttp
19     async-timeout
20   ];
22   # no tests are present
23   doCheck = false;
25   pythonImportsCheck = [ "opensensemap_api" ];
27   meta = with lib; {
28     description = "OpenSenseMap API Python client";
29     longDescription = ''
30       Python Client for interacting with the openSenseMap API. All
31       available information from the sensor can be retrieved.
32     '';
33     homepage = "https://github.com/home-assistant-ecosystem/python-opensensemap-api";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };