1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchPypi
5, pythonOlder
6, setuptools
7}:
8
9buildPythonPackage rec {
10 pname = "faadelays";
11 version = "2023.9.1";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-ngMFd+BE3hKeaeGEX4xHpzDIrtGFDsSwxBbrc4ZMFas=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 ];
24
25 propagatedBuildInputs = [
26 aiohttp
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [
33 "faadelays"
34 ];
35
36 meta = with lib; {
37 changelog = "https://github.com/ntilley905/faadelays/releases/tag/v${version}";
38 description = "Python package to retrieve FAA airport status";
39 homepage = "https://github.com/ntilley905/faadelays";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}