depot/third_party/nixpkgs/pkgs/development/python-modules/aiomodernforms/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

45 lines
850 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
aiohttp,
backoff,
yarl,
aresponses,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiomodernforms";
version = "0.1.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "wonderslug";
repo = "aiomodernforms";
rev = "v${version}";
hash = "sha256-Vx51WBjjNPIfLlwMnAuwHnGNljhnjKkU0tWB9M9rjsw=";
};
propagatedBuildInputs = [
aiohttp
backoff
yarl
];
nativeCheckInputs = [
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 ];
};
}