depot/third_party/nixpkgs/pkgs/development/python-modules/aiohttp-jinja2/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

26 lines
687 B
Nix

{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytestcov }:
buildPythonPackage rec {
pname = "aiohttp-jinja2";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "9c22a0e48e3b277fc145c67dd8c3b8f609dab36bce9eb337f70dfe716663c9a0";
};
propagatedBuildInputs = [ aiohttp jinja2 ];
checkInputs = [ pytest pytest-aiohttp pytestcov ];
checkPhase = ''
pytest -W ignore::DeprecationWarning
'';
meta = with lib; {
description = "Jinja2 support for aiohttp";
homepage = "https://github.com/aio-libs/aiohttp_jinja2";
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg ];
};
}