landing/pkgs/moody-templates.nix

38 lines
829 B
Nix
Raw Normal View History

2024-10-16 22:54:04 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "moody-templates";
version = "0.9.1-unstable";
pyproject = true;
src = fetchFromGitHub {
owner = "etianen";
repo = "moody-templates";
rev = "243dc91e4fa6f2225c0e327e96f3416bd165f80a";
hash = "sha256-MY91vz2QB1WJzW+lFA9N4YHZaXPqv//OpgH6jwBT0m8=";
};
build-system = [
setuptools
wheel
];
pythonImportsCheck = [
"moody"
];
meta = {
description = "A fast, extensible templating engine for Python 3 with Django-like syntax";
homepage = "https://github.com/etianen/moody-templates";
changelog = "https://github.com/etianen/moody-templates/blob/${src.rev}/CHANGELOG.markdown";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ];
};
}