Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 43 lines 793 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytest-runner 5, pytestCheckHook 6, pytest-asyncio 7, sqlalchemy 8, isPy27 9}: 10 11buildPythonPackage rec { 12 pname = "aiocontextvars"; 13 version = "0.2.2"; 14 format = "setuptools"; 15 disabled = isPy27; 16 17 src = fetchFromGitHub { 18 owner = "fantix"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "0a2gmrm9csiknc8n3si67sgzffkydplh9d7ga1k87ygk2aj22mmk"; 22 }; 23 24 buildInputs = [ 25 pytest-runner 26 ]; 27 28 propagatedBuildInputs = [ 29 sqlalchemy 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 pytest-asyncio 35 ]; 36 37 meta = with lib; { 38 description = "Asyncio support for PEP-567 contextvars backport"; 39 homepage = "https://github.com/fantix/aiocontextvars"; 40 license = licenses.bsd3; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}