Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / airthings-cloud / default.nix
blobc7560d6ec926446e94c127d552297d9a03e16aec
1 { lib
2 , aiohttp
3 , async-timeout
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "airthings-cloud";
11   version = "0.1.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "Danielhiversen";
18     repo = "pyAirthings";
19     rev = version;
20     hash = "sha256-sqHNK6biSWso4uOYimzU7PkEn0uP5sHAaPGsS2vSMNY=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     async-timeout
26   ];
28   # Project has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "airthings"
33   ];
35   meta = with lib; {
36     description = "Python module for Airthings";
37     homepage = "https://github.com/Danielhiversen/pyAirthings";
38     license = with licenses; [ mit ];
39     maintainers = with maintainers; [ fab ];
40   };