Files
nixpkgs/pkgs/development/python-modules/aiohttp-remotes/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
982 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytest-aiohttp,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "aiohttp-remotes";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiohttp-remotes";
tag = "v${version}";
hash = "sha256-/bcYrpZfO/sXc0Tcpr67GBqCu4ZSAVmUj9kzupIHHnM=";
};
build-system = [
flit-core
];
dependencies = [
aiohttp
typing-extensions
];
nativeCheckInputs = [
pytest-aiohttp
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "aiohttp_remotes" ];
__darwinAllowLocalNetworking = true;
meta = {
description = "Set of useful tools for aiohttp.web server";
homepage = "https://github.com/wikibusiness/aiohttp-remotes";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss ];
};
}