nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 757 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6 pytestCheckHook, 7 pytest-asyncio, 8}: 9 10buildPythonPackage rec { 11 pname = "aiohttp-basicauth"; 12 version = "1.1.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "romis2012"; 17 repo = "aiohttp-basicauth"; 18 tag = "v${version}"; 19 hash = "sha256-DjwrMlkVVceA5kDzm0c/on0VMOxyMMA3Hu4Y2Tiu0lI="; 20 }; 21 22 propagatedBuildInputs = [ aiohttp ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 pytest-asyncio 27 ]; 28 29 pythonImportsCheck = [ "aiohttp_basicauth" ]; 30 31 meta = { 32 description = "HTTP basic authentication middleware for aiohttp 3.0"; 33 homepage = "https://github.com/romis2012/aiohttp-basicauth"; 34 license = lib.licenses.asl20; 35 maintainers = [ ]; 36 }; 37}