nav: init at 1.2.1 (#356071)
[NixPkgs.git] / pkgs / development / python-modules / pymetno / default.nix
blob0c0279099b33b82b10a9159db889cd8d5b62ee52
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   aiohttp,
6   async-timeout,
7   xmltodict,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "pymetno";
13   version = "0.13.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "Danielhiversen";
20     repo = "PyMetno";
21     rev = "refs/tags/${version}";
22     hash = "sha256-0QODCJmGxgSKsTbsq4jsoP3cTy/0y6hq63j36bj7Dvo=";
23   };
25   propagatedBuildInputs = [
26     aiohttp
27     async-timeout
28     xmltodict
29   ];
31   pythonImportsCheck = [ "metno" ];
33   # Project has no tests
34   doCheck = false;
36   meta = with lib; {
37     description = "Library to communicate with the met.no API";
38     homepage = "https://github.com/Danielhiversen/pyMetno/";
39     changelog = "https://github.com/Danielhiversen/pyMetno/releases/tag/${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ flyfloh ];
42   };