summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/faadelays/default.nix
blob: 04a786320cc41b246fb2c767ab261f581adcaef7 (plain)
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
27
28
29
30
31
32
33
34
35
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "faadelays";
  version = "2023.9.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ngMFd+BE3hKeaeGEX4xHpzDIrtGFDsSwxBbrc4ZMFas=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [ aiohttp ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "faadelays" ];

  meta = {
    changelog = "https://github.com/ntilley905/faadelays/releases/tag/v${version}";
    description = "Python package to retrieve FAA airport status";
    homepage = "https://github.com/ntilley905/faadelays";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}