Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pymetno / default.nix
blobb3d91c595d808153f986cb516033b469e7265aeb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , async-timeout
6 , pytz
7 , xmltodict
8 }:
10 buildPythonPackage rec {
11   pname = "PyMetno";
12   version = "0.8.1";
14   src = fetchFromGitHub {
15     repo = pname;
16     owner = "Danielhiversen";
17     rev = version;
18     sha256 = "1jngf0mbn5hn166pqh1ga5snwwvv7n5kv1k9kaksrfibixkvpw6h";
19   };
21   propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ];
23   pythonImportsCheck = [ "metno"];
25   meta = with lib; {
26     description = "A library to communicate with the met.no api";
27     homepage = "https://github.com/Danielhiversen/pyMetno/";
28     license = licenses.mit;
29     maintainers = with maintainers; [ flyfloh ];
30   };