biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / aioopenexchangerates / default.nix
blob2c372e0a633515ec43b22b4f2b672c6a647d3994
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   mashumaro,
8   poetry-core,
9   pytest-aiohttp,
10   pytest-cov-stub,
11   pytestCheckHook,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "aioopenexchangerates";
17   version = "0.6.6";
18   pyproject = true;
20   disabled = pythonOlder "3.11";
22   src = fetchFromGitHub {
23     owner = "MartinHjelmare";
24     repo = "aioopenexchangerates";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-KFs5r7C7CorjEix2yL+NT/0liz3ivoiL6ZV5lJbBWBc=";
27   };
29   pythonRelaxDeps = [ "pydantic" ];
31   build-system = [ poetry-core ];
34   dependencies = [
35     aiohttp
36     mashumaro
37   ];
39   nativeCheckInputs = [
40     aioresponses
41     pytest-aiohttp
42     pytest-cov-stub
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [ "aioopenexchangerates" ];
48   meta = with lib; {
49     description = "Library for the Openexchangerates API";
50     homepage = "https://github.com/MartinHjelmare/aioopenexchangerates";
51     changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/v${version}/CHANGELOG.md";
52     license = with licenses; [ asl20 ];
53     maintainers = with maintainers; [ fab ];
54   };