2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "chevron";
|
|
|
|
version = "0.13.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# No tests available in the PyPI tarball
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "noahmorrison";
|
|
|
|
repo = "chevron";
|
|
|
|
rev = "0.13.1";
|
|
|
|
sha256 = "0l1ik8dvi6bgyb3ym0w4ii9dh25nzy0x4yawf4zbcyvvcb6af470";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test_spec.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/noahmorrison/chevron";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python implementation of the mustache templating language";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "chevron";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dhkl ];
|
|
|
|
};
|
|
|
|
}
|