2021-03-04 19:52:25 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "faadelays";
|
2021-04-21 21:33:03 +01:00
|
|
|
version = "0.0.7";
|
2021-03-04 19:52:25 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-21 21:33:03 +01:00
|
|
|
sha256 = "sha256-osZqfSYlKPYZMelBR6YB331iRB4DTjCUlmX7pcrIiGk=";
|
2021-03-04 19:52:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "faadelays" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python package to retrieve FAA airport status";
|
|
|
|
homepage = "https://github.com/ntilley905/faadelays";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|