Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiocurrencylayer / default.nix
blob39fb1deeb9b35d70022a529786126c6f98f2e6a0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , httpx
5 , poetry-core
6 , pytest-asyncio
7 , pytest-httpx
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "aiocurrencylayer";
14   version = "1.0.5";
15   format = "pyproject";
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "home-assistant-ecosystem";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-468OBQV7ISnPRUfi/CM3dCh1ez0jwSVnM6DduPvAgPI=";
24   };
26   nativeBuildInputs = [
27     poetry-core
28   ];
30   propagatedBuildInputs = [
31     httpx
32   ];
34   nativeCheckInputs = [
35     pytest-asyncio
36     pytest-httpx
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "aiocurrencylayer"
42   ];
44   meta = with lib; {
45     description = "Python API for interacting with currencylayer";
46     homepage = "https://github.com/home-assistant-ecosystem/aiocurrencylayer";
47     changelog = "https://github.com/home-assistant-ecosystem/aiocurrencylayer/releases/tag/${version}";
48     license = licenses.mit;
49     maintainers = with maintainers; [ fab ];
50   };