mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
27 lines
635 B
Nix
27 lines
635 B
Nix
{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp-jinja2";
|
|
version = "1.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "54630f769b0a25e83744673068db89cdd099f830818cea7ea9c43eb23add7941";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|