evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / aioopenexchangerates / default.nix
blob963ddc56eaadff758fd4da7a31cf9fb0d12d5f9e
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.8";
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-O7Hq+dtonh527eJI4/YSIF58P3TWsdFlUYDd0vzA2yo=";
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   };