depot/third_party/nixpkgs/pkgs/development/python-modules/pypugjs/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

50 lines
900 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}";
hash = "sha256-6tIhKCa8wg01gNFygCS6GdUHfbWBu7wOZeMkCExRR34=";
};
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";
homepage = "https://github.com/kakulukia/pypugjs";
license = licenses.mit;
maintainers = with maintainers; [ lopsided98 ];
};
}