writers: add writeGuile[Bin] (#364531)
[NixPkgs.git] / pkgs / development / python-modules / airthings-cloud / default.nix
blob6016d1921cc60d4c7757ab27218b0f80632e51bf
2   lib,
3   aiohttp,
4   async-timeout,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "airthings-cloud";
12   version = "0.2.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "Danielhiversen";
19     repo = "pyAirthings";
20     rev = "refs/tags/${version}";
21     hash = "sha256-HdH/z5xsumOXU0ZYOUc8LHpjKGkfp5e5yGER+Nm8xB4=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     async-timeout
27   ];
29   # Project has no tests
30   doCheck = false;
32   pythonImportsCheck = [ "airthings" ];
34   meta = with lib; {
35     description = "Python module for Airthings";
36     homepage = "https://github.com/Danielhiversen/pyAirthings";
37     changelog = "https://github.com/Danielhiversen/pyAirthings/releases/tag/${version}";
38     license = with licenses; [ mit ];
39     maintainers = with maintainers; [ fab ];
40   };