My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pymeteireann/default.nix

39 lines
788 B

{ 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 ];
};
}