mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
51 lines
896 B
Nix
51 lines
896 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, charset-normalizer
|
|
, django
|
|
, fetchFromGitHub
|
|
, jinja2
|
|
, Mako
|
|
, nose
|
|
, pyramid
|
|
, pyramid_mako
|
|
, pytestCheckHook
|
|
, six
|
|
, tornado
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypugjs";
|
|
version = "5.9.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kakulukia";
|
|
repo = "pypugjs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-6tIhKCa8wg01gNFygCS6GdUHfbWBu7wOZeMkCExRR34=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six charset-normalizer ];
|
|
|
|
checkInputs = [
|
|
django
|
|
jinja2
|
|
Mako
|
|
nose
|
|
tornado
|
|
pyramid
|
|
pyramid_mako
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestCheckFlags = [
|
|
"pypugjs/testsuite"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates";
|
|
homepage = "https://github.com/kakulukia/pypugjs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
};
|
|
}
|