pythonPackages.aiohttp-jinja2: init at 0.16.0

This commit is contained in:
Peter Hoeg 2018-02-28 10:01:19 +08:00 committed by Robert Schütz
parent 62bb869309
commit 2ca4e73fba
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp }:
buildPythonPackage rec {
pname = "aiohttp-jinja2";
version = "0.16.0";
src = fetchPypi {
inherit pname version;
sha256 = "1ps182yrc5g9ph55927a7ssqx6m9kx0bivfxpaj8sa3znrdkl94d";
};
propagatedBuildInputs = [ aiohttp jinja2 ];
checkInputs = [ pytest pytest-aiohttp ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Jinja2 support for aiohttp";
homepage = https://github.com/aio-libs/aiohttp_jinja2;
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg ];
};
}

View file

@ -430,6 +430,8 @@ in {
aiohttp-cors = callPackage ../development/python-modules/aiohttp/cors.nix { };
aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { };
alabaster = callPackage ../development/python-modules/alabaster {};
alembic = callPackage ../development/python-modules/alembic {};