Loading pkgs/development/python-modules/aiohttp-jinja2/default.nix +9 −8 Original line number Diff line number Diff line Loading @@ -6,12 +6,13 @@ , pytest-aiohttp , pytestCheckHook , pythonOlder , setuptools }: buildPythonPackage rec { pname = "aiohttp-jinja2"; version = "1.6"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -20,7 +21,11 @@ buildPythonPackage rec { hash = "sha256-o6f/UmTlvKUuiuVHu/0HYbcklSMNQ40FtsCRW+YZsOI="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ aiohttp jinja2 ]; Loading @@ -31,8 +36,8 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=aiohttp_jinja2 --cov-report xml --cov-report html --cov-report term" "" substituteInPlace pytest.ini \ --replace-fail "--cov=aiohttp_jinja2/ --cov=tests/ --cov-report term" "" ''; pytestFlagsArray = [ Loading @@ -44,10 +49,6 @@ buildPythonPackage rec { "aiohttp_jinja2" ]; # Tests are outdated (1.5) # pytest.PytestUnhandledCoroutineWarning: async def functions... doCheck = false; meta = with lib; { description = "Jinja2 support for aiohttp"; homepage = "https://github.com/aio-libs/aiohttp_jinja2"; Loading Loading
pkgs/development/python-modules/aiohttp-jinja2/default.nix +9 −8 Original line number Diff line number Diff line Loading @@ -6,12 +6,13 @@ , pytest-aiohttp , pytestCheckHook , pythonOlder , setuptools }: buildPythonPackage rec { pname = "aiohttp-jinja2"; version = "1.6"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -20,7 +21,11 @@ buildPythonPackage rec { hash = "sha256-o6f/UmTlvKUuiuVHu/0HYbcklSMNQ40FtsCRW+YZsOI="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ aiohttp jinja2 ]; Loading @@ -31,8 +36,8 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=aiohttp_jinja2 --cov-report xml --cov-report html --cov-report term" "" substituteInPlace pytest.ini \ --replace-fail "--cov=aiohttp_jinja2/ --cov=tests/ --cov-report term" "" ''; pytestFlagsArray = [ Loading @@ -44,10 +49,6 @@ buildPythonPackage rec { "aiohttp_jinja2" ]; # Tests are outdated (1.5) # pytest.PytestUnhandledCoroutineWarning: async def functions... doCheck = false; meta = with lib; { description = "Jinja2 support for aiohttp"; homepage = "https://github.com/aio-libs/aiohttp_jinja2"; Loading