depot/third_party/nixpkgs/pkgs/development/python-modules/pymeteireann/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

39 lines
788 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pytz
, xmltodict
}:
buildPythonPackage rec {
pname = "pymeteireann";
version = "2021.8.0";
src = fetchFromGitHub {
owner = "DylanGore";
repo = "PyMetEireann";
rev = version;
sha256 = "1xcfb3f2a2q99i8anpdzq8s743jgkk2a3rpar48b2dhs7l15rbsd";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pytz
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "meteireann" ];
meta = with lib; {
description = "Python module to communicate with the Met Éireann Public Weather Forecast API";
homepage = "https://github.com/DylanGore/PyMetEireann/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}