depot/third_party/nixpkgs/pkgs/development/python-modules/pypugjs/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

54 lines
983 B
Nix

{
lib,
buildPythonPackage,
charset-normalizer,
django,
fetchFromGitHub,
jinja2,
mako,
nose,
pyramid,
pyramid-mako,
pytestCheckHook,
six,
tornado,
}:
buildPythonPackage rec {
pname = "pypugjs";
version = "5.10.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "kakulukia";
repo = "pypugjs";
rev = "refs/tags/v${version}";
hash = "sha256-W+EVNxT2OimNENHe4lJDn6Wm1EbBysGuCD3/Wkdew/U=";
};
propagatedBuildInputs = [
six
charset-normalizer
];
nativeCheckInputs = [
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";
mainProgram = "pypugjs";
homepage = "https://github.com/kakulukia/pypugjs";
license = licenses.mit;
maintainers = with maintainers; [ lopsided98 ];
};
}