python313Packages.traits: fix build (#373698)
[NixPkgs.git] / pkgs / development / python-modules / aiocurrencylayer / default.nix
blobe1c86d9588b6cbf8ba2e5415692075f5a62f39c5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   httpx,
6   poetry-core,
7   pytest-asyncio,
8   pytest-httpx,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "aiocurrencylayer";
15   version = "1.0.6";
16   pyproject = true;
18   disabled = pythonOlder "3.10";
20   src = fetchFromGitHub {
21     owner = "home-assistant-ecosystem";
22     repo = "aiocurrencylayer";
23     tag = version;
24     hash = "sha256-VOzgWN+dDPaGEcahFPSWjBR989b9eNkx4zcnI9o2Xiw=";
25   };
27   nativeBuildInputs = [ poetry-core ];
29   propagatedBuildInputs = [ httpx ];
31   nativeCheckInputs = [
32     pytest-asyncio
33     pytest-httpx
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "aiocurrencylayer" ];
39   meta = with lib; {
40     description = "Python API for interacting with currencylayer";
41     homepage = "https://github.com/home-assistant-ecosystem/aiocurrencylayer";
42     changelog = "https://github.com/home-assistant-ecosystem/aiocurrencylayer/releases/tag/${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };