mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
Diff: https://github.com/wonderslug/aiomodernforms/compare/v0.1.8...v0.2.0 Changelog: https://github.com/wonderslug/aiomodernforms/releases/tag/v0.1.9 https://github.com/wonderslug/aiomodernforms/releases/tag/v0.2.0
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiohttp,
|
|
backoff,
|
|
yarl,
|
|
aresponses,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiomodernforms";
|
|
version = "0.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wonderslug";
|
|
repo = "aiomodernforms";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-KSCADrZJgoXTo6+k3fVd0eQzattKmmT8HYyEAogrGDU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
backoff
|
|
yarl
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
pythonImportsCheck = [ "aiomodernforms" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/wonderslug/aiomodernforms/releases/tag/${finalAttrs.src.tag}";
|
|
description = "Asynchronous Python client for Modern Forms fans";
|
|
homepage = "https://github.com/wonderslug/aiomodernforms";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
})
|