depot/third_party/nixpkgs/pkgs/development/python-modules/pypugjs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

51 lines
925 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";
format = "setuptools";
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 ];
};
}