python313Packages.publicsuffixlist: 1.0.2.20250122 -> 1.0.2.20250124 (#376319)
[NixPkgs.git] / pkgs / development / python-modules / zamg / default.nix
blobf69c27f8f07239ba11a22d320c5b28e38afe9135
2   lib,
3   aiohttp,
4   aresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   poetry-core,
8   pytest-asyncio,
9   pytest-cov-stub,
10   pytestCheckHook,
11   pythonOlder,
14 buildPythonPackage rec {
15   pname = "zamg";
16   version = "0.3.6";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "killer0071234";
23     repo = "python-zamg";
24     tag = "v${version}";
25     hash = "sha256-j864+3c0GDDftdLqLDD0hizT54c0IgTjT77jOneXlq0=";
26   };
28   build-system = [ poetry-core ];
30   dependencies = [ aiohttp ];
32   nativeCheckInputs = [
33     aresponses
34     pytest-asyncio
35     pytest-cov-stub
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "zamg" ];
41   disabledTests = [
42     # Tests are outdated
43     "test_update_fail_3"
44     "test_properties_fail_2"
45   ];
47   meta = with lib; {
48     description = "Library to read weather data from ZAMG Austria";
49     homepage = "https://github.com/killer0071234/python-zamg";
50     changelog = "https://github.com/killer0071234/python-zamg/releases/tag/v${version}";
51     license = licenses.mit;
52     maintainers = with maintainers; [ fab ];
53   };