depot/third_party/nixpkgs/pkgs/development/python-modules/bond-api/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

39 lines
757 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, aioresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bond-api";
version = "0.1.13";
src = fetchFromGitHub {
owner = "prystupa";
repo = "bond-api";
rev = "v${version}";
sha256 = "0v3bwbpn98fjm8gza2k7fb7w5ps3982kfvbck5x0fh2xq2825b80";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "bond_api" ];
meta = with lib; {
description = "Asynchronous Python wrapper library over Bond Local API";
homepage = "https://github.com/prystupa/bond-api";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}