Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pymetno / default.nix
blob4e16030d95759eca89a32c32a6db8e7624487daf
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , async-timeout
6 , xmltodict
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pymetno";
12   version = "0.12.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "Danielhiversen";
19     repo = "PyMetno";
20     rev = "refs/tags/${version}";
21     hash = "sha256-wRSUIaonjjucLM+A4GsF9Lrq2vZYCquEvblbmjKYpQE=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     async-timeout
27     xmltodict
28   ];
30   pythonImportsCheck = [
31     "metno"
32   ];
34   # Project has no tests
35   doCheck = false;
37   meta = with lib; {
38     description = "A library to communicate with the met.no API";
39     homepage = "https://github.com/Danielhiversen/pyMetno/";
40     changelog = "https://github.com/Danielhiversen/pyMetno/releases/tag/${version}";
41     license = licenses.mit;
42     maintainers = with maintainers; [ flyfloh ];
43   };