blob: 1e4b0d2adaef7a24dcfc568fd1a26179d4d757f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, async-timeout
, pytz
, xmltodict
}:
buildPythonPackage rec {
pname = "PyMetno";
version = "0.5.1";
src = fetchFromGitHub {
repo = pname;
owner = "Danielhiversen";
rev = version;
sha256 = "1ihq1lzgzcxbg916izakx9jp0kp1vdrcdwcwwwsws838wc08ax6m";
};
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 ];
};
}
|