python3Packages.aiocurrencylayer: init at 1.0.2
This commit is contained in:
parent
95aad79a50
commit
80f8ca3392
50
pkgs/development/python-modules/aiocurrencylayer/default.nix
Normal file
50
pkgs/development/python-modules/aiocurrencylayer/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytest-httpx
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiocurrencylayer";
|
||||
version = "1.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-ecosystem";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "EVqnrMatOk2I6hiCkiT5FOWvMY9LEK8LlSHqi0x9kuQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytest-httpx
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiocurrencylayer"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for interacting with currencylayer";
|
||||
homepage = "https://github.com/home-assistant-ecosystem/aiocurrencylayer";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -267,6 +267,8 @@ in {
|
||||
|
||||
aiocontextvars = callPackage ../development/python-modules/aiocontextvars { };
|
||||
|
||||
aiocurrencylayer = callPackage ../development/python-modules/aiocurrencylayer { };
|
||||
|
||||
aiodiscover = callPackage ../development/python-modules/aiodiscover { };
|
||||
|
||||
aiodns = callPackage ../development/python-modules/aiodns { };
|
||||
|
Loading…
Reference in New Issue
Block a user