nixpkgs/pkgs/development/python-modules/pymetno/default.nix
flyfloh 57bf2557f7
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>
2020-03-18 21:29:36 +00:00

32 lines
677 B
Nix

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