pymetno: init at 0.5.0 (#78132)
Co-Authored-By: Jon <jonringer@users.noreply.github.com> Co-authored-by: Florian <flo@halbmastwurf.de> Co-authored-by: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
50cabb2ca8
commit
57bf2557f7
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/pymetno/default.nix
Normal file
31
pkgs/development/python-modules/pymetno/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, pytz
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyMetno";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "Danielhiversen";
|
||||
rev = version;
|
||||
sha256 = "00v2r3nn48svni9rbmbf0a4ylgfcf93gk2wg7qnm1fv1qrkgscvg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ];
|
||||
|
||||
pythonImportsCheck = [ "metno"];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library to communicate with the met.no api";
|
||||
homepage = "https://github.com/Danielhiversen/pyMetno/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ flyfloh ];
|
||||
};
|
||||
}
|
|
@ -7096,6 +7096,8 @@ in {
|
|||
|
||||
pybotvac = callPackage ../development/python-modules/pybotvac { };
|
||||
|
||||
pymetno = callPackage ../development/python-modules/pymetno { };
|
||||
|
||||
pytado = callPackage ../development/python-modules/pytado { };
|
||||
|
||||
casttube = callPackage ../development/python-modules/casttube { };
|
||||
|
|
Loading…
Reference in a new issue