2019-04-07 13:11:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
buildPythonPackage {
|
2019-04-07 13:11:01 +00:00
|
|
|
pname = "chevron";
|
|
|
|
version = "0.13.1";
|
|
|
|
|
|
|
|
# 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; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/noahmorrison/chevron";
|
2019-04-07 13:11:01 +00:00
|
|
|
description = "A python implementation of the mustache templating language";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dhkl ];
|
|
|
|
};
|
|
|
|
}
|