about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/advantage-air/default.nix
blob: 5ce9d196c4c17c94356621a2bcff50f025eae01c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ aiohttp, buildPythonPackage, fetchPypi, lib, pythonOlder }:

buildPythonPackage rec {
  pname = "advantage_air";
  version = "0.2.5";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit version pname;
    sha256 = "sha256-38csg1Cvpz4dkRCwlNc8+af7aJ5xDrZO1D8cCaBlePA=";
  };

  propagatedBuildInputs = [ aiohttp ];

  # No tests
  doCheck = false;
  pythonImportsCheck = [ "advantage_air" ];

  meta = with lib; {
    description = "API helper for Advantage Air's MyAir and e-zone API";
    homepage = "https://github.com/Bre77/advantage_air";
    license = licenses.mit;
    maintainers = with maintainers; [ jamiemagee ];
  };
}