Files
nixpkgs/pkgs/development/python-modules/chameleon/default.nix
T
2026-01-13 05:26:51 -08:00

36 lines
778 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "chameleon";
version = "4.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "malthe";
repo = "chameleon";
tag = version;
hash = "sha256-zCEM5yl8Y11FbexD7veS9bFJgm30L6fsTde59m2t1ec=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "chameleon" ];
meta = {
changelog = "https://github.com/malthe/chameleon/blob/${src.tag}/CHANGES.rst";
description = "Fast HTML/XML Template Compiler";
downloadPage = "https://github.com/malthe/chameleon";
homepage = "https://chameleon.readthedocs.io";
license = lib.licenses.bsd0;
maintainers = [ ];
};
}