mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
27 lines
644 B
Nix
27 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 ];
|
|
};
|
|
}
|