504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
44 lines
839 B
Nix
44 lines
839 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 ];
|
|
};
|
|
}
|