python3Packages.pymeteireann: init at 0.2
This commit is contained in:
parent
dfacb8329b
commit
a6252afa36
39
pkgs/development/python-modules/pymeteireann/default.nix
Normal file
39
pkgs/development/python-modules/pymeteireann/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytz
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymeteireann";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DylanGore";
|
||||
repo = "PyMetEireann";
|
||||
rev = version;
|
||||
sha256 = "1904f8mvv4ghzbniswmdwyj5v71m6y3yn1b4grjvfds05skalm67";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -5769,6 +5769,8 @@ in {
|
||||
|
||||
pymetar = callPackage ../development/python-modules/pymetar { };
|
||||
|
||||
pymeteireann = callPackage ../development/python-modules/pymeteireann { };
|
||||
|
||||
pymetno = callPackage ../development/python-modules/pymetno { };
|
||||
|
||||
pymitv = callPackage ../development/python-modules/pymitv { };
|
||||
|
Loading…
Reference in New Issue
Block a user