mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
charset-normalizer,
|
|
django,
|
|
fetchFromGitHub,
|
|
jinja2,
|
|
mako,
|
|
poetry-core,
|
|
pyramid,
|
|
pyramid-mako,
|
|
pytestCheckHook,
|
|
six,
|
|
tornado,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypugjs";
|
|
version = "5.12.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kakulukia";
|
|
repo = "pypugjs";
|
|
tag = "v${version}";
|
|
hash = "sha256-JHZzyEilCjpZFIrl5kk1oJ4C/vgQTfVoRRGBK+DuHAE=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = [
|
|
six
|
|
charset-normalizer
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"charset-normalizer"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
django
|
|
jinja2
|
|
mako
|
|
tornado
|
|
pyramid
|
|
pyramid-mako
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestCheckFlags = [ "pypugjs/testsuite" ];
|
|
|
|
pythonImportsCheck = [
|
|
"pypugjs"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|