nixpkgs-suyu/pkgs/development/python-modules/aiohttp-jinja2/default.nix
2018-04-08 11:34:52 +02:00

26 lines
644 B
Nix

{ lib, stdenv, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp }:
buildPythonPackage rec {
pname = "aiohttp-jinja2";
version = "0.17.0";
src = fetchPypi {
inherit pname version;
sha256 = "8139c63fe989e140dceae378440680258dfb72f3301c79173945245299d795e6";
};
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 ];
};
}