python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / pyipma / default.nix
blobf6df4bf932725263ba637a91ea05a6dfa32ef9bd
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   freezegun,
8   mock,
9   geopy,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "pyipma";
17   version = "3.0.7";
18   format = "setuptools";
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "dgomes";
24     repo = pname;
25     rev = "refs/tags/${version}";
26     hash = "sha256-a6UXc8XLZhSyUb8AxnXoPgiyP004GQfuapRmVeOaFQU=";
27   };
29   propagatedBuildInputs = [
30     aiohttp
31     geopy
32   ];
34   nativeCheckInputs = [
35     aioresponses
36     freezegun
37     mock
38     pytest-asyncio
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [ "pyipma" ];
44   disabledTestPaths = [
45     # Tests require network access
46     "tests/test_auxiliar.py"
47     "tests/test_location.py"
48     "tests/test_sea_forecast.py"
49   ];
51   meta = with lib; {
52     description = "Library to retrieve information from Instituto Português do Mar e Atmosfera";
53     homepage = "https://github.com/dgomes/pyipma";
54     changelog = "https://github.com/dgomes/pyipma/releases/tag/${version}";
55     license = with licenses; [ mit ];
56     maintainers = with maintainers; [ fab ];
57   };