python3Packages.bond-async: init at 0.1.20

This commit is contained in:
Robert Schütz 2022-06-01 18:14:52 +00:00 committed by Martin Weinelt
parent abf01e2a3a
commit 9a24d8ca63
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, aioresponses
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "bond-async";
version = "0.1.20";
disabled = pythonOlder "3.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "bondhome";
repo = "bond-async";
rev = "v${version}";
hash = "sha256-iBtbHS3VzSB6wfWDFq5UVd3++x3HtQbWQ6soPYfcHiM=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"bond_async"
];
meta = {
description = "Asynchronous Python wrapper library over Bond Local API";
homepage = "https://github.com/bondhome/bond-async";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -1325,6 +1325,8 @@ in {
bond-api = callPackage ../development/python-modules/bond-api { };
bond-async = callPackage ../development/python-modules/bond-async { };
booleanoperations = callPackage ../development/python-modules/booleanoperations { };
boolean-py = callPackage ../development/python-modules/boolean-py { };