nixpkgs/pkgs/development/python-modules/faadelays/default.nix
2021-04-21 22:33:03 +02:00

30 lines
641 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "faadelays";
version = "0.0.7";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-osZqfSYlKPYZMelBR6YB331iRB4DTjCUlmX7pcrIiGk=";
};
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 ];
};
}