depot/third_party/nixpkgs/pkgs/development/python-modules/aiomodernforms/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

43 lines
810 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, backoff
, yarl
, aresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aiomodernforms";
version = "0.1.8";
src = fetchFromGitHub {
owner = "wonderslug";
repo = "aiomodernforms";
rev = "v${version}";
sha256 = "sha256-Vx51WBjjNPIfLlwMnAuwHnGNljhnjKkU0tWB9M9rjsw=";
};
propagatedBuildInputs = [
aiohttp
backoff
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiomodernforms" ];
meta = with lib; {
description = "Asynchronous Python client for Modern Forms fans";
homepage = "https://github.com/wonderslug/aiomodernforms";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}