mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
Diff: https://github.com/romis2012/aiohttp-basicauth/compare/v1.1.0...v1.2.0 Changelog: https://github.com/romis2012/aiohttp-basicauth/releases/tag/vv1.2.0
42 lines
910 B
Nix
42 lines
910 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiohttp-basicauth";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "romis2012";
|
|
repo = "aiohttp-basicauth";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-EnrICetTmQimScjaQ8/jviwwansbZtl35Z5v35rF7kU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiohttp_basicauth" ];
|
|
|
|
meta = {
|
|
description = "HTTP basic authentication middleware for aiohttp";
|
|
homepage = "https://github.com/romis2012/aiohttp-basicauth";
|
|
changelog = "https://github.com/romis2012/aiohttp-basicauth/releases/tag/v${finalAttrs.src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|