Files
2026-07-15 14:04:39 -04:00

35 lines
728 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiohttp-wsgi";
version = "0.10.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "etianen";
repo = "aiohttp-wsgi";
rev = "v${version}";
hash = "sha256-3Q00FidZWV1KueuHyHKQf1PsDJGOaRW6v/kBy7lzD4Q=";
};
propagatedBuildInputs = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiohttp_wsgi" ];
meta = {
description = "WSGI adapter for aiohttp";
mainProgram = "aiohttp-wsgi-serve";
homepage = "https://github.com/etianen/aiohttp-wsgi";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}